Hi!
My problem here is how to run a Visual Basic 4.0 app(16 bits) under wine,
because i've tried to and the process gets stuck. So here is how i've
done:
Just to remember, on windows, when we compile our app(Visual Basic) a directory
called "App" is created where it joins all Dll's necessary to
install and run our application in other pc, and it creates also de executable
file.
I'm using Ubuntu(intrepid) and Wine 1.0.1 and after installing Wine and
configuring it to Windows version 3.1, I've read somewhere that a specific
runtime DLL is necessary - VB4run - from Winetricks, already download it and
install it but the results were no different than before this last Wine upgrade.
So I began to copy both "App" and " and "Disk-Ins"(
Disk-Ins is just a separator directory to locate easily my .exe app file)e
directories to my desktop;
- then throw console went to the "App" dir and :
coelho at coelho-laptop:~/?rea de Trabalho/App$ wine setup.exe
fixme:ole:LoadTypeLib16 ("C:\\WINDOWS\\SYSTEM32\\OC25.DLL",0x39b8d0):
stub
fixme:ole:OaBuildVersion16 If you get version error messages, please report them
fixme:ole:CoRegisterMessageFilter16 (0x3baf78,0x3baf80),stub!
fixme:ole:CoRegisterClassObject16
({a4c4671c-499f-101b-bb78-00aa00383cbb},0x1448a0,0x00000001,0x00000001,0x76986c),stub
err:ddeml:WDML_CreateString Unknown code page 850
wine: Unhandled page fault on read access to 0xffffffff at address
0x1337:0x000001dd (thread 001f), starting debugger...
Unhandled exception: page fault on read access to 0xffffffff in 16-bit code
(1337:01dd).
In 16 bit mode.
Register dump:
CS:1337 SS:128f DS:16af ES:16b7 FS:0033 GS:003b
IP:01dd SP:d9c4 BP:d9d6 FLAGS:0207( - 00 -RIP1C)
AX:60d8 BX:7fc0 CX:1335 DX:16af SI:8dc2 DI:ffff
Stack dump:
0x128f:0xd9c4: 128f 12df 0b38 0066 128f 5355 7fc0 16b7
0x128f:0xd9d4: 5355 db36 4921 1317 60d8 16af 60d8 16af
0x128f:0xd9e4: 0000 0000 0000 0000 0000 0000 0000 0000
02d5: sel=16af base=00138000 limit=0000ffff 16-bit rw-
02d6: sel=16b7 base=00140000 limit=0000ffff 16-bit rw-
Backtrace:
=>1 0x1337:0x01dd (0x128f:0xd9d6)
2 0x7b8a45f3 K32WOWCallback16Ex+0xc3() in kernel32 (0x7daad6d8)
3 0x7b86e3be NE_StartTask+0x2ee() in kernel32 (0x7daada08)
4 0x7b895d1d in kernel32 (+0x75d1d) (0x7daada28)
5 0x7bc6c91e call_thread_entry_point+0xe() in ntdll (0x7daada38)
6 0x7bc6df42 in ntdll (+0x5df42) (0x7daadad8)
7 0x7bc6e13d in ntdll (+0x5e13d) (0x7daae3c8)
8 0xb7e8b50f start_thread+0xbf() in libpthread.so.0 (0x7daae4c8)
9 0xb7e077ee __clone+0x5e() in libc.so.6 (0x00000000)
0x1337:0x01dd: repe movsw (%si),%es:(%di)
Modules:
Module Address Debug info Name (101 modules)
ELF 7b800000-7b93d000 Export kernel32<elf>
\-PE 7b820000-7b93d000 \ kernel32
ELF 7bc00000-7bca7000 Export ntdll<elf>
\-PE 7bc10000-7bca7000 \ ntdll
ELF 7bf00000-7bf04000 Deferred <wine-loader>
ELF 7d303000-7d3a9000 Deferred oleaut32<elf>
\-PE 7d310000-7d3a9000 \ oleaut32
ELF 7d3a9000-7d3ad000 Deferred libgpg-error.so.0
ELF 7d3ad000-7d416000 Deferred libgcrypt.so.11
ELF 7d416000-7d428000 Deferred libtasn1.so.3
ELF 7d428000-7d42c000 Deferred libkeyutils.so.1
ELF 7d42c000-7d45e000 Deferred libcrypt.so.1
ELF 7d45e000-7d4fb000 Deferred libgnutls.so.26
ELF 7d4fb000-7d51f000 Deferred libk5crypto.so.3
ELF 7d51f000-7d5b1000 Deferred libkrb5.so.3
ELF 7d5b1000-7d5db000 Deferred libgssapi_krb5.so.2
ELF 7d5db000-7d611000 Deferred libcups.so.2
ELF 7d6ad000-7d6e4000 Deferred winspool<elf>
\-PE 7d6b0000-7d6e4000 \ winspool
ELF 7d6e4000-7d792000 Deferred comdlg32<elf>
\-PE 7d6f0000-7d792000 \ comdlg32
ELF 7d7b6000-7d87b000 Deferred comctl32<elf>
\-PE 7d7c0000-7d87b000 \ comctl32
ELF 7d87b000-7d98f000 Deferred shell32<elf>
\-PE 7d890000-7d98f000 \ shell32
ELF 7d98f000-7d99e000 Deferred libgcc_s.so.1
ELF 7daaf000-7db55000 Deferred ole32<elf>
\-PE 7dac0000-7db55000 \ ole32
ELF 7db55000-7db69000 Deferred libresolv.so.2
ELF 7db81000-7dbe4000 Deferred rpcrt4<elf>
\-PE 7db90000-7dbe4000 \ rpcrt4
ELF 7dbe4000-7dc17000 Deferred uxtheme<elf>
\-PE 7dbf0000-7dc17000 \ uxtheme
ELF 7dc17000-7dc72000 Deferred shlwapi<elf>
\-PE 7dc20000-7dc72000 \ shlwapi
ELF 7e476000-7e47f000 Deferred libkrb5support.so.0
ELF 7e47f000-7e49e000 Deferred iphlpapi<elf>
\-PE 7e490000-7e49e000 \ iphlpapi
ELF 7e4b5000-7e4ca000 Deferred lz32<elf>
\-PE 7e4c0000-7e4ca000 \ lz32
ELF 7e4ca000-7e4e5000 Deferred version<elf>
\-PE 7e4d0000-7e4e5000 \ version
ELF 7e61e000-7e633000 Deferred midimap<elf>
\-PE 7e620000-7e633000 \ midimap
ELF 7e633000-7e65b000 Deferred msacm32<elf>
\-PE 7e640000-7e65b000 \ msacm32
ELF 7e65b000-7e674000 Deferred msacm32<elf>
\-PE 7e660000-7e674000 \ msacm32
ELF 7e674000-7e6c4000 Deferred libpulse.so.0
ELF 7e6ce000-7e6d2000 Deferred libcom_err.so.2
ELF 7e6d2000-7e79a000 Deferred libasound.so.2
ELF 7e79d000-7e7a1000 Deferred libcap.so.1
ELF 7e7a1000-7e7a8000 Deferred libasound_module_pcm_pulse.so
ELF 7e7a8000-7e7df000 Deferred winealsa<elf>
\-PE 7e7b0000-7e7df000 \ winealsa
ELF 7e7df000-7e873000 Deferred winmm<elf>
\-PE 7e7f0000-7e873000 \ winmm
ELF 7e873000-7e8d6000 Deferred winedos<elf>
\-PE 7e880000-7e8d6000 \ winedos
ELF 7e8d6000-7e8df000 Deferred libxcursor.so.1
ELF 7e8df000-7e8e4000 Deferred libxfixes.so.3
ELF 7e8e4000-7e8e8000 Deferred libxcomposite.so.1
ELF 7e8e8000-7e8ef000 Deferred libxrandr.so.2
ELF 7e8ef000-7e8f9000 Deferred libxrender.so.1
ELF 7e8f9000-7e8fc000 Deferred libxinerama.so.1
ELF 7e8fc000-7e91d000 Deferred imm32<elf>
\-PE 7e900000-7e91d000 \ imm32
ELF 7e91d000-7e922000 Deferred libxdmcp.so.6
ELF 7e922000-7e93b000 Deferred libxcb.so.1
ELF 7e93b000-7e93e000 Deferred libxcb-xlib.so.0
ELF 7e93e000-7e941000 Deferred libxau.so.6
ELF 7e941000-7ea30000 Deferred libx11.so.6
ELF 7ea30000-7ea3f000 Deferred libxext.so.6
ELF 7ea3f000-7ea45000 Deferred libxxf86vm.so.1
ELF 7ea45000-7ea5d000 Deferred libice.so.6
ELF 7ea5d000-7ea66000 Deferred libsm.so.6
ELF 7ea69000-7ea72000 Deferred librt.so.1
ELF 7ea74000-7eb0f000 Deferred winex11<elf>
\-PE 7ea80000-7eb0f000 \ winex11
ELF 7eb2e000-7eb55000 Deferred libexpat.so.1
ELF 7eb55000-7eb82000 Deferred libfontconfig.so.1
ELF 7eb90000-7eba6000 Deferred libz.so.1
ELF 7eba6000-7ec1c000 Deferred libfreetype.so.6
ELF 7ec1c000-7ec6f000 Deferred advapi32<elf>
\-PE 7ec30000-7ec6f000 \ advapi32
ELF 7ec6f000-7ed0e000 Deferred gdi32<elf>
\-PE 7ec80000-7ed0e000 \ gdi32
ELF 7ed0e000-7ee5a000 Deferred user32<elf>
\-PE 7ed30000-7ee5a000 \ user32
ELF 7ee5a000-7ee70000 Deferred winevdm<elf>
\-PE 7ee60000-7ee70000 \ winevdm
ELF 7ee70000-7ee7c000 Deferred libnss_files.so.2
ELF 7ee7c000-7ee95000 Deferred libnsl.so.1
ELF 7ee95000-7ee9e000 Deferred libnss_compat.so.2
ELF 7efcc000-7eff2000 Deferred libm.so.6
ELF 7eff3000-7effe000 Deferred libnss_nis.so.2
ELF b7d22000-b7d26000 Deferred libdl.so.2
ELF b7d26000-b7e84000 Export libc.so.6
ELF b7e85000-b7e9e000 Export libpthread.so.0
ELF b7eac000-b7fe3000 Deferred libwine.so.1
ELF b7fe5000-b8002000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
0000000c
00000013 0
00000012 0
0000000e 0
0000000d 0
0000000f
00000015 0
00000014 0
00000011 0
00000010 0
00000016 (D) C:\windows\system32\winevdm.exe
0000001f 0 <= 00000018 0
00000017 0
00000019
0000001a 0
Backtrace:
=>1 0x1337:0x01dd (0x128f:0xd9d6)
2 0x7b8a45f3 K32WOWCallback16Ex+0xc3() in kernel32 (0x7daad6d8)
3 0x7b86e3be NE_StartTask+0x2ee() in kernel32 (0x7daada08)
4 0x7b895d1d in kernel32 (+0x75d1d) (0x7daada28)
5 0x7bc6c91e call_thread_entry_point+0xe() in ntdll (0x7daada38)
6 0x7bc6df42 in ntdll (+0x5df42) (0x7daadad8)
7 0x7bc6e13d in ntdll (+0x5e13d) (0x7daae3c8)
8 0xb7e8b50f start_thread+0xbf() in libpthread.so.0 (0x7daae4c8)
9 0xb7e077ee __clone+0x5e() in libc.so.6 (0x00000000)
err:ntdll:RtlpWaitForCriticalSection section 0x7b93a6c0 "syslevel.c:
Win16Mutex" wait timed out in thread 0018, blocked by 001f, retrying (60
sec)
err:syslevel:_LeaveSysLevel (0x7b93a6c0, level 1): Invalid state: count 0 mutex
(nil).
err:syslevel:_LeaveSysLevel (0x7b93a6c0, level 1): Invalid state: count 0 mutex
(nil).
err:syslevel:_LeaveSysLevel (0x7b93a6c0, level 1): Invalid state: count 0 mutex
(nil).
This was the ouput..
Can anybody help with this?
Thanks
Coelhodj