Hi Viktor,

Il 23/03/2009 17.05, Viktor Szakáts ha scritto:

    PS: I will test also you patch ASAP to see if it also solves the
    problem.


I have tested your patch.
Results (full SVN rebuilt with MSVC 2008 express) :

1) without -TP flag in msvc.cf
contrib/hbwin/tests/testole.prg

selecting 1-st example (excel) I got GPF with follow hb_out.log:

----------------
Application Internal Error - J:\cvs\harbourSVN_trunk\contrib\hbwin\tests\testole.exe
Terminated at: 2009.03.23 20:00:34
Unrecoverable error 6005: Exception error:

    Exception Code:C0000005
    Exception Address:0045FBF8
    EAX:00699374  EBX:76863E22  ECX:C27C53D3  EDX:7FFB001C
    ESI:00000000  EDI:00491174  EBP:0012FE48
    CS:EIP:001B:0045FBF8  SS:ESP:0023:0012FE10
    DS:0023  ES:0023  FS:003B  GS:0000
    Flags:00010206
    CS:EIP: 8B 16 83 C4 04 55 6A 00 89 44 24 14 8B 4A 14 6A
SS:ESP: 00491174 00000000 00481962 00000001 0012FE48 004602E4 00491174 0012FE48 0012FE54 00152FCC 00491598 00481962 00000001 00000001 00000001 00000000

    C stack:
    EIP:     EBP:       Frame: OldEBP, RetAddr, Params...


Modules:
0x00400000 0x0009A000 J:\cvs\harbourSVN_trunk\contrib\hbwin\tests\testole.exe
0x77040000 0x00127000 C:\Windows\system32\ntdll.dll
0x766F0000 0x000DB000 C:\Windows\system32\kernel32.dll
0x764A0000 0x00144000 C:\Windows\system32\ole32.dll
0x76DF0000 0x000AA000 C:\Windows\system32\msvcrt.dll
0x766A0000 0x0004B000 C:\Windows\system32\GDI32.dll
0x76AE0000 0x0009D000 C:\Windows\system32\USER32.dll
0x76B80000 0x000C6000 C:\Windows\system32\ADVAPI32.dll
0x768F0000 0x000C2000 C:\Windows\system32\RPCRT4.dll
0x76860000 0x0008D000 C:\Windows\system32\OLEAUT32.dll
0x76AC0000 0x0001E000 C:\Windows\system32\IMM32.DLL
0x758C0000 0x000C8000 C:\Windows\system32\MSCTF.dll
0x76EA0000 0x00009000 C:\Windows\system32\LPK.DLL
0x769E0000 0x0007D000 C:\Windows\system32\USP10.dll
0x73B40000 0x0003F000 C:\Windows\system32\uxtheme.dll
0x60000000 0x00005000 C:\Program Files\Real\RealPlayer\rpchromebrowserrecordhelper.dll
0x75990000 0x00B10000 C:\Windows\system32\SHELL32.dll
0x76A60000 0x00058000 C:\Windows\system32\SHLWAPI.dll
0x7C340000 0x00056000 C:\Windows\system32\MSVCR71.dll
0x74440000 0x0019E000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6001.18000_none_5cdbaa5a083979cc\comctl32.dll
0x10000000 0x00008000 C:\Program Files\Sizer\sizer.dll
0x736B0000 0x00085000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6001.18000_none_886786f450a74a05\COMCTL32.dll
0x10100000 0x0000E000 C:\Program Files\Logitech\SetPoint\lgscroll.dll
0x72170000 0x0009B000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_none_d08d7bba442a9b36\MSVCR80.dll
0x74B20000 0x00021000 C:\Windows\system32\NTMARTA.DLL
0x76DA0000 0x0004A000 C:\Windows\system32\WLDAP32.dll
0x76CA0000 0x0002D000 C:\Windows\system32\WS2_32.dll
0x769D0000 0x00006000 C:\Windows\system32\NSI.dll
0x758B0000 0x00007000 C:\Windows\system32\PSAPI.DLL
0x756D0000 0x00011000 C:\Windows\system32\SAMLIB.dll
0x767D0000 0x00084000 C:\Windows\system32\CLBCatQ.DLL
0x74BA0000 0x0003B000 C:\Windows\system32\rsaenh.dll

Called from TOLEAUTO:WORKBOOKS(0)
Called from EXM_MSEXCEL(136) in testole.prg
Called from MAIN(42) in testole.prg
------------------------------------------------------------------------

----------------

Same test done with hbole/tests/testole.prg and other my OLE tests with same result.


2) with -TP flag in msvc.cf
same problem that I found before, so OLE is not working at all.
"Error: xxxxxx not available. [Unknown error]"
Same error also with my OLE test files.

Then seems that pointers changes from your patch are not supported.
But I will do some other tests.

Surely the problem is -TP flag.
Now I have to find where is the blocking point. For sure isn't in hbwin only as also hbole is affected and probably other parts. It should be related with code that built in C++ mode alters behavior: maybe sizeof() ? Surely is related to CreateOleObject() and to GetOleObject() functions.

I'm digging.

Best regards,
Francesco
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to