Debugging VisualBasic application

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cyruspy
Level 2
Level 2
Posts: 17
Joined: Mon Oct 06, 2008 3:55 pm

Debugging VisualBasic application

Post by cyruspy »

Hi, I'm testing a VBasic application with wine and currently found a issue that appears to be on the application side, but it works fine on the original WinXP client.

The only error I get is:

Code: Select all

fixme:rpc:I_RpcWindowProc (0x10048,0000001c,00000001,00000000): stub
Ref: http://img38.imageshack.us/img38/7572/w ... resora.png

Anybody has seen this?, any advice on debugging the error?

Wine 1.2rc1 + rpcrt (internal,native) + jet40 + mdac28 + msxml6 + dcom98
cyruspy
Level 2
Level 2
Posts: 17
Joined: Mon Oct 06, 2008 3:55 pm

Post by cyruspy »

Any suggestion?, as no messages are printed by wine, I'm blind. I know about WINEDEBUG, but setting it to "all" prints too much information.

What can should I look for?
cyruspy
Level 2
Level 2
Posts: 17
Joined: Mon Oct 06, 2008 3:55 pm

Post by cyruspy »

cyruspy wrote:Any suggestion?, as no messages are printed by wine, I'm blind. I know about WINEDEBUG, but setting it to "all" prints too much information.

What can should I look for?
Slash missing...

What can/should I look for?
James McKenzie

Debugging VisualBasic application

Post by James McKenzie »

cyruspy wrote:
Hi, I'm testing a VBasic application with wine and currently found a issue that appears to be on the application side, but it works fine on the original WinXP client.

The only error I get is:

Code:
fixme:rpc:I_RpcWindowProc (0x10048,0000001c,00000001,00000000): stub

This means that this function is either not fully implemented or
partially implemented. Is this causing your program to fail or are you
receiving an error message later during program processing?

Ref: http://img38.imageshack.us/img38/7572/w ... resora.png

Anybody has seen this?, any advice on debugging the error?

Wine 1.2rc1 + rpcrt (internal,native) + jet40 + mdac28 + msxml6 + dcom98

Can you try in a fresh Wine prefix without DCOM98?

James McKenzie
cyruspy
Level 2
Level 2
Posts: 17
Joined: Mon Oct 06, 2008 3:55 pm

Post by cyruspy »

Clean wine + application

Code: Select all

rr:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
The application failed after start

Clean wine + application + mdac28

Code: Select all

err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1                                                                                                  
fixme:ole:OleLoadPictureEx (0x1e47d9c,774,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f9e0), partially implemented.                                                                                  
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 240, std (d/m/y): 11/04/2010, dlt (d/m/y): 3/10/2010                                                               
fixme:ole:OleLoadPictureEx (0x1e47d9c,19686,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f980), partially implemented.                                                                                
fixme:ole:OleLoadPictureEx (0x1e47d9c,10494,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f980), partially implemented.                                                                                
fixme:ole:OLEPictureImpl_SaveAsFile (0x1405f0)->(0x18afb8, 0, (nil)), hacked stub.
fixme:ole:OleLoadPictureEx (0x1e5f2cc,774,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f418), partially implemented.                                                                                  
fixme:ole:OleLoadPictureEx (0x1e5f2cc,774,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e8), partially implemented.                                                                                  
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
fixme:ole:OleLoadPictureEx (0x1e5f2cc,774,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e8), partially implemented.                                                                                  
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
fixme:ole:OleLoadPictureEx (0x1e5f2cc,8638,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e8), partially implemented.                                                                                 
fixme:ole:OLEPictureImpl_SaveAsFile (0x202710)->(0x3366e30, 0, (nil)), hacked stub.                      
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons...                   
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons...                   
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons...                   
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not registered                     
err:ole:CoGetClassObject no class object {ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1                                                                                                  
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}                                                                                                       
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}                                                                                                       
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}
The application failed after connecting to DB, saying there was a "type mismatch". Also some fonts were really tiny.
cyruspy
Level 2
Level 2
Posts: 17
Joined: Mon Oct 06, 2008 3:55 pm

Post by cyruspy »

cyruspy wrote:Clean wine + application

Code: Select all

rr:ole:CoGetClassObject class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:create_server class {00000514-0000-0010-8000-00aa006d2ea4} not registered
err:ole:CoGetClassObject no class object {00000514-0000-0010-8000-00aa006d2ea4} could be created for context 0x5
The application failed after start

Clean wine + application + mdac28

Code: Select all

err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1                                                                                                  
fixme:ole:OleLoadPictureEx (0x1e47d9c,774,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f9e0), partially implemented.                                                                                  
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 240, std (d/m/y): 11/04/2010, dlt (d/m/y): 3/10/2010                                                               
fixme:ole:OleLoadPictureEx (0x1e47d9c,19686,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f980), partially implemented.                                                                                
fixme:ole:OleLoadPictureEx (0x1e47d9c,10494,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f980), partially implemented.                                                                                
fixme:ole:OLEPictureImpl_SaveAsFile (0x1405f0)->(0x18afb8, 0, (nil)), hacked stub.
fixme:ole:OleLoadPictureEx (0x1e5f2cc,774,0,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f418), partially implemented.                                                                                  
fixme:ole:OleLoadPictureEx (0x1e5f2cc,774,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e8), partially implemented.                                                                                  
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
fixme:ole:OleLoadPictureEx (0x1e5f2cc,774,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e8), partially implemented.                                                                                  
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
fixme:ole:OleLoadPictureEx (0x1e5f2cc,8638,1,{7bf80980-bf32-101a-8bbb-00aa00300cab},x=0,y=0,f=0,0x32f3e8), partially implemented.                                                                                 
fixme:ole:OLEPictureImpl_SaveAsFile (0x202710)->(0x3366e30, 0, (nil)), hacked stub.                      
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
err:typelib:sltg_get_typelib_ref Unable to find reference                                                
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons...                   
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons...                   
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
fixme:ole:OLEPictureImpl_Render Not quite correct implementation of rendering icons...                   
fixme:ole:OLEPictureImpl_get_hPal unimplemented for type 3. Returning 0 palette.                         
err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not registered                     
err:ole:CoGetClassObject no class object {ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1                                                                                                  
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}                                                                                                       
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}                                                                                                       
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}
fixme:ole:OLEPictureImpl_FindConnectionPoint no connection point for {33ad4ed2-6699-11cf-b70c-00aa0060d393}
The application failed after connecting to DB, saying there was a "type mismatch". Also some fonts were really tiny.
Also the installation failed registering c:\windows\system32\MSXML.DLL
qwertymn
Level 4
Level 4
Posts: 236
Joined: Thu Mar 27, 2008 3:42 am

Post by qwertymn »

does the following help:?

'winetricks mfc42'

Then set 'oleaut32.dll" to native in winecfg.

try run app again
cyruspy
Level 2
Level 2
Posts: 17
Joined: Mon Oct 06, 2008 3:55 pm

Post by cyruspy »

qwertymn wrote:does the following help:?

'winetricks mfc42'

Then set 'oleaut32.dll" to native in winecfg.

try run app again
Clean wine + application + mdac28 + mfc42 + oleaut32(native)

I can start the application and the fonts that appeared tiny on some screens look good again. Accessing the same form from the start of the thread makes the application crash again.

After start:

Code: Select all

err:ole:CoGetClassObject class {6c736db1-bd94-11d0-8a23-00aa00b58e10} not registered
err:ole:CoGetClassObject no class object {6c736db1-bd94-11d0-8a23-00aa00b58e10} could be created for context 0x1
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 240, std (d/m/y): 11/04/2010, dlt (d/m/y): 3/10/2010
After connecting to DB

Code: Select all

err:ole:CoGetClassObject class {ecabb0c0-7f19-11d2-978e-0000f8757e2a} not registered
err:ole:CoGetClassObject no class object {ecabb0c0-7f19-11d2-978e-0000f8757e2a} could be created for context 0x1
After the application crashing I see no new messages, either errors or warnings.
Locked