Hi Xavi,
Very good point.
I can add ugly hack to makefiles to always keep frame
pointers for mingw in hbwin lib to make hb_DynaCall()
function happy, but I wonder if it's possible to fix this
function to not be sensitive on this setting.
Any idea?
Brgds,
Viktor
On 2010 Feb 6, at 17:41, Xavi wrote:
> Hi,
>
> I guess that is because hbwin is compiled with -fomit-frame-pointer.
> Try copy win_dll.c to the folder tests and compiled with .-
>
> hbmk2 testdll.prg win_dll.c -lstdc++ -debug
>
> Ok, I've only tested with gcc-dw2.exe
>
> --
> Xavi
>
> El 06/02/2010 15:19, Fernando Athayde escribió:
>> really don´t runs causes GPF
>> i am using
>> #include "hbdll.ch"
>>
>> hdll:=dllload("EZTW32.DLL")
>> dllcall(hdll,DC_CALL_STD,"TWAIN_SelectImageSource",::oFormCadastro:handle,)
>> dllcall(hdll,DC_CALL_STD,"TWAIN_AcquireToFilename",::oFormCadastro:handle,"file.bmp")
>> freelibrary(hdll)
>>
>>
>> Best Regards,
>> Fernando Athayde
>>
>> *De:* Itamar Lins <[email protected]>
>> *Para:* [email protected]
>> *Enviadas:* Sábado, 6 de Fevereiro de 2010 10:10:57
>> *Assunto:* [Harbour] MinGW dllcall function not run.
>>
>> Hi!
>> sorry to insist on that but there is a possibility to make it work with him.
>> I need to take MinGW.
>>
>> Best regards,
>> Itamar M. Lins Jr.
>>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour