Yes, this has been reported already, and it seems like an older problem, or some sort of regression, maybe the result of changing MINGW version.
Whole .dll handling needs to be rewritten. No takers yet, though. It'd be nice if someone with MINGW+ASM skills could take a closer look on that though. Brgds, Viktor On 2009 Dec 18, at 16:53, Petr Chornyj wrote: > > Hi All > > hbwin\tests\testdll.prg > ------------------------------------------------------------------------ > Application Internal Error - testdll.exe > Terminated at: 2009.12.18 17:37:05 > Unrecoverable error 6005: Exception error: > > Exception Code:C0000005 > Exception Address:00000000 > EAX:00000002 EBX:00000000 ECX:00000000 EDX:00A513CC > ESI:00000000 EDI:0022FB10 EBP:00000000 > CS:EIP:001B:00000000 SS:ESP:0023:0022FB0C > DS:0023 ES:0023 FS:003B GS:0000 > Flags:00010202 > CS:EIP: > SS:ESP: 00401C75 00000007 FFFFFFFF 7FFD5000 7C901000 00000000 00010000 > 7E365008 0022FBFA 7E363900 000001DA 00000004 7C917ED3 0022FBFA 00000003 > 7E360000 > > C stack: > EIP: EBP: Frame: OldEBP, RetAddr, Params... > > Modules: > 0x00400000 0x000F5000 E:\harbour-mingw\bin\testdll.exe > 0x7C900000 0x000B0000 C:\WINDOWS\system32\ntdll.dll > 0x7C800000 0x000F8000 C:\WINDOWS\system32\kernel32.dll > 0x77C00000 0x00058000 C:\WINDOWS\system32\msvcrt.dll > 0x7E360000 0x00091000 C:\WINDOWS\system32\USER32.dll > 0x77F10000 0x00049000 C:\WINDOWS\system32\GDI32.dll > 0x76360000 0x0001D000 C:\WINDOWS\system32\IMM32.DLL > 0x77DC0000 0x000AC000 C:\WINDOWS\system32\ADVAPI32.dll > 0x77E70000 0x00092000 C:\WINDOWS\system32\RPCRT4.dll > 0x77FE0000 0x00011000 C:\WINDOWS\system32\Secur32.dll > > Called from DLLCALL(0) > Called from MAIN(70) in testdll.prg > ------------------------------------------------------------------------ > > I tested with Harbor 2.0.0rc1 (Rev. 13297) + MinGW 4.4.1. > On the other hand with VS2009 and OW 1.8 everything works fine. > > Regards, > Petr > -- > View this message in context: > http://old.nabble.com/CallDll-GPF-tp26845433p26845433.html > Sent from the Harbour - Dev mailing list archive at Nabble.com. > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour