Solid One,
Bom dia. Olha conseguir fazer funcionar sim, só que quando eu vou adicionar uma nova obra ele retorna um erro:
Run-time error '3251'
[IMG=http://img822.imageshack.us/img822/7415/errocm.png][/IMG]
este é o log
env WINEPREFIX="/home/santiago/.wine" wine C:\\STG\ Software\ de\ Treliças\ GERDAU\\STG.exe
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated.
fixme:ole:OleLoadPictureEx (0xce41ac,135225,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33fa50), partially implemented.
fixme:ole:OleLoadPictureEx (0xce41ac,3270,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33fa50), partially implemented.
fixme:ole:OleLoadPictureEx (0xce41ac,334,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33fa50), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x15d5b0)->(0x1726a8, 0, (nil)), hacked stub.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2013, dlt (d/m/y): 20/10/2013
fixme:ole:OleLoadPictureEx (0xcf57fc,2742,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf5814,2934,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf582c,776,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf5854,849,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf585c,937,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf5874,1972,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf588c,2744,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33eac8), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfc9dc,334,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f0a0), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfe02c,146,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e864), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfe02c,146,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e864), partially implemented.
fixme:ole:OleLoadPictureEx (0xcff1ec,158,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e858), partially implemented.
fixme:ole:OleLoadPictureEx (0xcff1ec,158,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e858), partially implemented.
fixme:ole:OleLoadPictureEx (0xd005c4,1126,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e7ec), partially implemented.
fixme:ole:OleLoadPictureEx (0xd005c4,98,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e7ec), partially implemented.
fixme:ole:OleLoadPictureEx (0xd005c4,98,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e7ec), partially implemented.
fixme:ole:OleLoadPictureEx (0xd005c4,1120,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e7ec), partially implemented.
fixme:ole:OleLoadPictureEx (0xd005c4,1120,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e7ec), partially implemented.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x20abec), stub!
fixme:ole:OleLoadPictureEx (0xd03284,1120,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e818), partially implemented.
fixme:ole:OleLoadPictureEx (0xd0455c,1094,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e880), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfc9dc,214,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f0a0), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfc9dc,334,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f0a0), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfc9dc,214,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f0a0), partially implemented.
fixme:ole:OleLoadPictureEx (0xcfc9dc,334,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f0a0), partially implemented.
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x215bfc), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x217a54), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x217f04), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x218094), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x217c54), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x217efc), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x21814c), stub!
fixme:ole:OLEFontImpl_IPersistStreamInit_InitNew (0x217584), stub!
fixme:ole:OleLoadPictureEx (0xd05abc,2427,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33deb4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd03284,1120,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33e750), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf6064,2742,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33f4c4), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf6064,2742,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33f4c4), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf6064,2742,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e5e4), partially implemented.
fixme:ole:OleLoadPictureEx (0xcf6064,2742,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33ead8), partially implemented.
fixme:ole:OleLoadPictureEx (0xd09bdc,3270,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x33f17c), partially implemented.
fixme:ole:OLEPictureImpl_SaveAsFile (0x110a20a8)->(0x1108d3b8, 0, (nil)), hacked stub.
fixme:ole:OleLoadPictureEx (0xd1008c,2934,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e218), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1008c,4230,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e218), partially implemented.
fixme:ole:OleLoadPictureEx (0xd100a4,4230,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e218), partially implemented.
fixme:ole:OleLoadPictureEx (0xd100bc,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e218), partially implemented.
fixme:ole:OleLoadPictureEx (0xd100d4,11504,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e218), partially implemented.
fixme:ole:OleLoadPictureEx (0xd10554,2934,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33d468), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,2934,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e7e8), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9d4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9d4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,4230,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9d4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,4230,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9d4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9d4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e734), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e734), partially implemented.
fixme:ole:OleLoadPictureEx (0xd10554,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33d778), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e7e8), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e9d4), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e734), partially implemented.
fixme:ole:OleLoadPictureEx (0xd1050c,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33e734), partially implemented.
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
fixme:ole:OleLoadPictureEx (0xd0b6cc,6798,1,{00020400-0000-0000-c000-000000000046},x=0,y=0,f=0,0x33dfd4), partially implemented.
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4f92-6699-11cf-b70c-00aa0060d393}
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
fixme:console:CONSOLE_DefaultHandler Terminating process 23 on event 0
Esse mesmo problema aconteceu comigo também. Testei no VirtualBox numa VM com Windows XP e funcionou de boa.
Tentei inserir várias bibliotecas a partir do winetricks (novo paliativo do wine-doors, exceto que mais atual e mais eficiente), como por exemplo mdac28, vb2run ao vb6run, etc. Nada. Tentei pegar alguns DLLs da VM do WinXP e também nada.
A julgar pela postagem do usuário "lunga" (
http://ubuntuforum-br.org/index.php/topic,37560.msg256583.html#msg256583):
Eu trampei no suporte desse software pra Gerdau.
Ele tem alguns bugs locos mesmo.
A avaliacao dada para este erro eh correta. Mas ele tbem tem um bug quanto as configuracoes internacionais. Se estiver em USA ele da runtime tbem.
No wine nao sei como verificar isso.
Acredito que o problema não é mais de DLLs do Windows, e sim alguma configuração internacional, seja de data, moeda ou alguma medida do sistema métrico.
Mais detalhadamente falando, o programa salva todas as suas informações referentes a obras em um arquivo de banco de dados local, de nome "STGDB.MDB". É um arquivo Access, onde o programa conecta-se neste arquivo e nele insere as informações preenchidas no formulário. Ele deve fazer isso internamente em linguagem SQL. O erro de runtime 3251 acontece porque ele tenta realizar alguma operação nesse banco e não consegue, provavelmente uma leitura/escrita de data em formato errado ou uma leitura/escrita de campo numérico utilizando ponto no lugar de vírgula para separar as casas decimais.
Tentei encontrar no Wine onde essas configurações situam-se, e encontrei algumas delas no arquivo "~/.wine/drive_c/windows/win.ini". Também encontrei outras acessando o Regedit do wine da seguinte forma:
$ wine regedit
e indo na chave de caminho "HKEY_CURRENT_USER -> Control Panel -> International".
Agora o que exatamente alterar, não sei. Tentei mexer no formato da data, alterando "d/M/yyyy" para "dd/MM/yyyy", mas não deu em nada.
Talvez o usuário "lunga" saiba dizer exatamente o que fazer aqui. Sei que essa postagem dele é de 2008, e que talvez ele nem se lembre mais, mas vai que ele ainda sabe...