[Bug 32454] Johnson Controls VB6 example app fails at Soap login

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jun 13 14:36:35 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=32454

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |focht at gmx.net
            Version|unspecified                 |1.5.20
         Resolution|---                         |INVALID
            Summary|Wine: Johnson Controls      |Johnson Controls VB6
                   |Example Visual Basic App    |example app fails at Soap
                   |fails at Soap login         |login

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

--- quote ---
After fixing a few more issues, output is now...
--- quote ---

that's not how bug reporting works.

Either you state your "fixes" by referring to existing bugs or the bug will
remain at the *initial* problem.

Prerequisite: 'winetricks -q vb6run'

Unpacking the attached example and running it yields:

--- snip ---
$ WINEDEBUG=+tid,+seh,+relay,+ole,+variant wine ./MetasysSampleApp.exe
>>log.txt 2>&1
...
002b:Call user32.CreateWindowExA(00000004,0000c057,009300e0 "Log
In",44012000,00000028,00000150,00000061,00000019,00010078,0000000f,66000000,00000000)
ret=6605a8de 
...
002b:err:ole:create_server class {0d31fc4d-25cb-4065-b140-263058210bac} not
registered
002b:err:ole:CoGetClassObject no class object
{0d31fc4d-25cb-4065-b140-263058210bac} could be created for context 0x5
002b:Ret  ole32.CoCreateInstanceEx() retval=80040154 ret=660e3937
002b:Call ole32.GetErrorInfo(00000000,0032f8b8) ret=660d8306
002b:trace:ole:GetErrorInfo (0, 0x32f8b8, (nil))
002b:Ret  ole32.GetErrorInfo() retval=00000001 ret=660d8306
...
002b:Call KERNEL32.RaiseException(c000008f,00000001,00000002,0032f8bc)
ret=660d0956
002b:trace:seh:raise_exception code=c000008f flags=1 addr=0x7b8455e1
ip=7b8455e1 tid=002b
002b:trace:seh:raise_exception  info[0]=deadcafe
002b:trace:seh:raise_exception  info[1]=deadcafe
002b:trace:seh:raise_exception  eax=7b83247d ebx=0013dbe0 ecx=00000008
edx=0032f814 esi=0032f8bc edi=0032f880
002b:trace:seh:raise_exception  ebp=0032f858 esp=0032f7f4 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000202
002b:trace:seh:call_stack_handlers calling handler at 0x4014e6 code=c000008f
flags=1 
...
002b:Call KERNEL32.WideCharToMultiByte(00000000,00000000,0018b00c L"Run-time
error '429':\n\nActiveX component can't create
object",ffffffff,00930620,00000078,00000000,00000000) ret=660711c4
002b:Ret  KERNEL32.WideCharToMultiByte() retval=0000003d ret=660711c4 
--- snip ---

The problem here is a missing dependency.

Looking at 'MetasysSampleApp.vbp':

--- snip ---
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINNT\System32\stdole2.tlb#OLE
Automation
Reference=*\G{91147A58-DFE4-47C0-8E76-987FC1A6001B}#3.0#0#c:\Program
Files\Common Files\MSSoap\Binaries\MSSOAP30.dll#Microsoft Soap Type Library
v3.0
Reference=*\G{F5078F18-C551-11D3-89B9-0000F81FE221}#4.0#0#c:\WINNT\System32\msxml4.dll#Microsoft
XML, v4.0
Reference=*\G{0D28BC66-4E2E-490A-99A9-1E2CB5C8CC41}#1.0#0#..\MetasysSystemSecureDataAccess\MetasysSystemSecureDataAccess.dll#MetasysSystemSecureDataAccess
Form=Main.frm
Form=frmLogin.frm
Form=ErrorDialog.frm
...
--- snip ---

'Microsoft Soap Type Library v3.0'

MSDN: https://msdn.microsoft.com/en-us/library/aa480501.aspx

SOAP Toolkit 3.0 Redistributable:

https://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28000523

Unfortunately that download only provides merge modules (.MSM) which are not
useful for standalone install.

The actual SOAP SDK 3.0 which provides all necessary files:

http://microsoft-soap-toolkit.software.informer.com/3.0/

The Soap SDK has been discontinued/declared deprecated by MS long ago and is
replaced by .NET Framework.

--- snip ---
$ wine ./soapsdk3.0.exe 
...
regsvr32: Successfully registered DLL 'C:\Program Files\Common
Files\MSSoap\Binaries\MSSOAP30.dll'
regsvr32: Successfully registered DLL 'C:\Program Files\Common
Files\MSSoap\Binaries\WISC30.dll'
regsvr32: Successfully registered DLL 'C:\Program Files\Common
Files\MSSoap\Binaries\WHSC30.dll'
regsvr32: Successfully registered DLL 'C:\Program
Files\MSSOAP\Binaries\wsdlgen3.dll'
regsvr32: Successfully registered DLL 'C:\Program Files\Common
Files\MSSoap\Binaries\SOAPIS30.dll'
regsvr32: Successfully registered DLL 'C:\windows\system32\msxml4.dll'
regsvr32: Successfully registered DLL 'C:\windows\system32\WINHTTP5.DLL'
--- snip ---

Wine doesn't provide SOAP 3.0 redistributables/libraries by design.
They are proprietary and not part of OS.

However, even then, it still fails with missing
'{0d31fc4d-25cb-4065-b140-263058210bac}' and it's very likely that this CLSID
is provided by 'MetasysSystemSecureDataAccess.dll'

Since OP didn't provide all required components for reproducing, the bug is
invalid.
The app would fail the same way in Windows without the necessary components.

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list