VB6 under wine 5 ?

Questions about Wine on Linux
Locked
KKing
Level 2
Level 2
Posts: 13
Joined: Thu Aug 30, 2018 4:49 am

VB6 under wine 5 ?

Post by KKing »

I'm running on Debian 10 with the wineHQ debian package installed and am trying to get VB6 installed.

I used to have this running on a laptop running Linux Mint Debian Edition 32bit but that died.
And the version of wine on that will have been VERY old, last notes I had talked about v1.6.2 (win vers XP) and that will have used winetricks.

What would be the best approach to attempt to get it running now?

Should I use 5.0.1 or a staging release... or try to build a (very) old version of wine?

Should I be using winetricks or ?

I tried creating a new 32bit prefix via below and setting the Windows version to XP. the console had the following output

Code: Select all

$ wine --version
wine-5.0.1

$ WINEPREFIX=~/.my32prefix WINEARCH="win32" winecfg
wine: created the configuration directory '/home/anybody/.my32prefix'
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0017:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0017:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
0019:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0019:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 5)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0017:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
001d:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
001d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
001d:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0010:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0010:fixme:dwmapi:DwmIsCompositionEnabled 064FDD14
001f:fixme:iphlpapi:NotifyIpInterfaceChange (family 0, callback 0x2c7f537, context 0x2a3890, init_notify 0, handle 0x72dfce8): stub
0010:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
wine: configuration in L"/home/user01/.my32prefix" has been updated.
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
0009:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0009:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
Then I launched winefile in the new prefix, navigate to C: drive where I had copied the installation media, and started running the VS6 setup.exe which errors pretty well straight away.

the console has the following

Code: Select all

$ WINEPREFIX=~/.my32prefix winefile
wine: Unhandled page fault on read access to 00000000 at address 00411C09 (thread 002b), starting debugger...
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
0032:fixme:dbghelp:elf_search_auxv can't find symbol in module
and the backtrace contained

Code: Select all

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00411c09).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00411c09 ESP:0032b6d8 EBP:00000000 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:0032b5f0 EBX:ffffff31 ECX:0032be0c EDX:00000000
 ESI:00000000 EDI:0000004e
Stack dump:
0x0032b6d8:  0000004e 0032be0c ffffff31 00411474
0x0032b6e8:  00426498 00010114 00413747 00000000
0x0032b6f8:  0000004e 0032c5f8 00010114 00000001
0x0032b708:  0032bfc8 7e86c0c9 00683a10 00000000
0x0032b718:  0032bb88 0032b750 0032c088 0032c0bc
0x0032b728:  00cc0020 0032c088 00000000 00000000
Backtrace:
=>0 0x00411c09 EntryPoint+0xffffffff() in setup (0x00000000)
0x00411c09 EntryPoint+0xffffffff in setup: cmpb	$0x0,0x0(%esi)
Modules:
Module	Address			Debug info	Name (64 modules)
PE	  400000-  48f000	Export          setup
PE	62340000-623d8000	Deferred        uxtheme
PE	62800000-628e4000	Deferred        usp10
PE	64b40000-64b81000	Deferred        shcore
PE	65200000-65747000	Deferred        ole32
PE	65980000-6599d000	Deferred        version
PE	68c40000-68d5c000	Deferred        shlwapi
PE	6a300000-6a6d1000	Deferred        oleaut32
PE	6a900000-6aac4000	Deferred        setupapi
PE	6c0c0000-6c105000	Deferred        imm32
PE	6dbc0000-6dc14000	Deferred        mpr
PE	6e8c0000-6ed35000	Deferred        comctl32
PE	6f080000-6f097000	Deferred        riched32
PE	6fdc0000-6ffda000	Deferred        rpcrt4
PE	7ac00000-7ae26000	Deferred        riched20
PE	7b000000-7b2dd000	Deferred        kernelbase
ELF	7b400000-7b672000	Deferred        kernel32<elf>
  \-PE	7b420000-7b672000	\               kernel32
ELF	7bc00000-7beb0000	Deferred        ntdll<elf>
  \-PE	7bc30000-7beb0000	\               ntdll
ELF	7c000000-7c005000	Deferred        <wine-loader>
ELF	7d4d4000-7d4db000	Deferred        libxfixes.so.3
ELF	7d4db000-7d4e8000	Deferred        libxcursor.so.1
ELF	7d4e8000-7d4fb000	Deferred        libxi.so.6
ELF	7d4fb000-7d4ff000	Deferred        libxcomposite.so.1
ELF	7d4ff000-7d50c000	Deferred        libxrandr.so.2
ELF	7d50c000-7d518000	Deferred        libxrender.so.1
ELF	7d518000-7d51f000	Deferred        libxxf86vm.so.1
ELF	7d51f000-7d524000	Deferred        libxinerama.so.1
ELF	7d524000-7d52f000	Deferred        librt.so.1
ELF	7d52f000-7d54e000	Deferred        libbsd.so.0
ELF	7d54e000-7d555000	Deferred        libxdmcp.so.6
ELF	7d555000-7d55a000	Deferred        libxau.so.6
ELF	7d55a000-7d588000	Deferred        libxcb.so.1
ELF	7d588000-7d6d7000	Deferred        libx11.so.6
ELF	7d6d7000-7d6ec000	Deferred        libxext.so.6
ELF	7d719000-7d7d3000	Deferred        winex11<elf>
  \-PE	7d740000-7d7d3000	\               winex11
ELF	7d974000-7d9af000	Deferred        libexpat.so.1
ELF	7d9af000-7d9fc000	Deferred        libfontconfig.so.1
ELF	7d9fc000-7da1b000	Deferred        libz.so.1
ELF	7da1b000-7da5a000	Deferred        libpng16.so.16
ELF	7da5a000-7db1d000	Deferred        libfreetype.so.6
ELF	7db1d000-7e52e000	Deferred        shell32<elf>
  \-PE	7db50000-7e52e000	\               shell32
ELF	7e52e000-7e765000	Deferred        user32<elf>
  \-PE	7e560000-7e765000	\               user32
ELF	7e765000-7e83c000	Deferred        msvcrt<elf>
  \-PE	7e790000-7e83c000	\               msvcrt
ELF	7e83c000-7e992000	Deferred        gdi32<elf>
  \-PE	7e860000-7e992000	\               gdi32
ELF	7e992000-7ea15000	Deferred        advapi32<elf>
  \-PE	7e9b0000-7ea15000	\               advapi32
ELF	7ea15000-7ea2a000	Deferred        libnss_files.so.2
ELF	7ea2a000-7ea45000	Deferred        libnsl.so.1
ELF	7ea45000-7ea53000	Deferred        libnss_nis.so.2
ELF	7eecd000-7efd3000	Deferred        libm.so.6
ELF	f7b73000-f7b7d000	Deferred        libuuid.so.1
ELF	f7b7f000-f7b85000	Deferred        libdl.so.2
ELF	f7b85000-f7d63000	Deferred        libc.so.6
ELF	f7d63000-f7d84000	Deferred        libpthread.so.0
ELF	f7d86000-f7d90000	Deferred        libnss_compat.so.2
ELF	f7db1000-f7f65000	Dwarf           libwine.so.1
ELF	f7f67000-f7f91000	Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 winefile.exe
	00000009    0
0000000e services.exe
	00000023    0
	0000001a    0
	00000013    0
	00000010    0
	0000000f    0
00000011 plugplay.exe
	00000017    0
	00000016    0
	00000012    0
00000018 winedevice.exe
	00000020    0
	0000001d    0
	0000001c    0
	0000001b    0
	00000019    0
0000001e explorer.exe
	00000029    0
	00000028    0
	00000027    0
	0000001f    0
00000021 winedevice.exe
	00000026    0
	00000025    0
	00000024    0
	00000022    0
0000002a (D) C:\VS6EntA\setup.exe
	00000033    0
	0000002b    0 <==
System information:
    Wine build: wine-5.0.1
    Platform: i386
    Version: Windows XP
    Host system: Linux
    Host version: 5.6.0-0.bpo.2-amd64
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: VB6 under wine 5 ?

Post by jkfloris »

I tried creating a new 32bit prefix via below and setting the Windows version to XP
Set the Windows version to Windows 98 and try again.
KKing
Level 2
Level 2
Posts: 13
Joined: Thu Aug 30, 2018 4:49 am

Re: VB6 under wine 5 ?

Post by KKing »

thank you. that has got me further. I still encountered some issues, but cut down the install options and finally got it to install. Unfortunately I now need to install a service pack and mdac.

VSSP3 just says "... was not completed successfully"
and in console only msg is
0031:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

MDAC25 fails with
Dialog
CONFIGDRIVER: Unable to configure ODBC driver Microsoft Visual FoxPro Driver: Request Failed
and in console has
0038:err:winediag:ODBC32_SQLDrivers No ODBC drivers could be found. Check the settings for your libodbc provider.
003c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Locked