From: <x.p...@fr...> - 2002-10-19 11:48:39
|
>You still haven't declared it as "stdcall". If you use the wrong calling >convention, it may link but will probably not run properly on any OS, but I >guess it could work on Win95 by accident. Since you already have a header >for the DLL (hb_dll.h), you should get the declarations directly from this >header and take note that it uses the PASCAL attribute, which is #defined in >the Windows headers as a synonym for __stdcall. Also, keep the discussion on >the list instead of private emails, and don't send the DLL to people because >it does not help. Luke , My dll program. is working now with the include hb_dll.h and the library linked : hb_dll32.lib. THIS work on my win95 system ! so with "stdcall" and PASCAL attribute. I can call any function I want of the hb_dll32.dll now. BUT : Compiling & Running the SAME program on a Win98 system makes a MSVCRT.DLL page fault ! AND Compiling & running on W2K makes a protection fault too ! What could happen ? Xavier |