... defined( __PLATFORM__OS2 )#define DLL_OSAPI DLL_SYSTEM#else#define DLL_OSAPI DLL_CDECL#endif Also, DllCall() is undefined, did you mean CallDll()? You have to link e.g. the Harbour file \lib\win\bcc\hbxpp.lib But you can also use this: FUNCTION GETDOCUMENTSDIR() ...
... like what I was thinking of doing. Can you tell me what the value is for the constant DLL_OSAPI? It was not defined in your code sample. Also, DllCall() is undefined, did you mean CallDll()? Also Stefan thanks very much for your reply. If I decide to go the registry route that looks like a ...
... e minha dúvida parece simples: por que o pequeno programa a seguir não compila? Function Main() h1:= LoadLibrary("Daruma32.dll") ret:= dllcall(h1,32,"Daruma_FI_LeituraX") Return Tentei gerar o X.exe desta maneira mas só gera o X.c: \HB20\BIN\HBMK2 X.PRG Deu os seguintes erros: ...
... Windows... nada ha cambiado. Alguna idea de como hacer que funcione SndPlaySound() o algun metodo alterno? Busque en los ejemplos y encontre: DLLCALL.PRG DLL FUNCTION SndPlaySound( cFile AS LPSTR, nType AS WORD ) AS BOOL ; PASCAL LIB "MMSYSTEM.DLL" Y TESTBMP2.PRG #ifdef __XPP__ DLL ...
I used the xHarbour and Harbour DLLCALL() FUNCTION and it seems to work fine. I suspect the problem is within CALLDLL() function - perhaps I'm invoking the harbour CallDLL() and not the FWH CallDLL() ??? This Works :) #include "FiveWin.ch"#define ...
... results were identical. I'm leaning towards the issue might possibly be within the CallDLL( ) function within FWH. I haven't tried the xHarbour DLLCall function yet. I'm hoping to get this resolved within the FWH world as I have many applications calling these types of DLL's and preservation ...
Dear Antonio, Whenever I upgrade xHarbour errors I have experienced. Dll32 Function in FWH so without the use of xHabour dllcall () function is used. DLL32 STATIC FUNCTION UserLogin( UserCode AS STRING,; UserPasswd AS STRING,; ...
Marco, Maybe this will help: DllCall( "user32.dll", NIL, "SystemParametersInfo", 0, 0, 0, 0 ) Where the 0s are the parameters. I have never used it, I just found it in a Google search here: http://article.gmane.org/gmane.comp.lang.harbour.devel/2781 ...
Gracias por contestar Puse el dllcall.obj que me enviaste y me pide 4 funciones mas Error: Unresolved external '_hb_stackReturnItem ' from DLLCALL.obj Error: Unresolved external '_hb_retptrGC' from DLLCALL.obj Error: Unresolved external ...