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

Reply via email to