Compilateur: Default compiler
Building Makefile: "V:\C++\astuces\la dll qui communique avec le exe\CallBack\TestCallBack\Makefile.win"
Exécution de make clean
rm -f TestCallBack.o callback_private.res callback.dll
TestCallBack.cpp: In function `int DemandeCallBack()':
TestCallBack.cpp:21: error: invalid conversion from `void (*)(char*)' to `DWORD'
TestCallBack.cpp:22: error: invalid conversion from `void*' to `HINSTANCE__*'
TestCallBack.cpp:22: error: initializing argument 1 of `BOOL FreeLibrary(HINSTANCE__*)'
TestCallBack.cpp:57:2: warning: no newline at end of file
28 oct. 2005 à 19:07
FreeLibrary((HINSTANCE)...
(DWORD)&..................
Voilà
28 oct. 2005 à 16:36
Building Makefile: "V:\C++\astuces\la dll qui communique avec le exe\CallBack\TestCallBack\Makefile.win"
Exécution de make clean
rm -f TestCallBack.o callback_private.res callback.dll
gcc.exe -c TestCallBack.cpp -o TestCallBack.o -I"C:/Dev-Cpp/include"
TestCallBack.cpp: In function `int DemandeCallBack()':
TestCallBack.cpp:21: error: invalid conversion from `void (*)(char*)' to `DWORD'
TestCallBack.cpp:22: error: invalid conversion from `void*' to `HINSTANCE__*'
TestCallBack.cpp:22: error: initializing argument 1 of `BOOL FreeLibrary(HINSTANCE__*)'
TestCallBack.cpp:57:2: warning: no newline at end of file
make.exe: *** [TestCallBack.o] Error 1
Exécution terminée
5 déc. 2004 à 11:08
=> Faire sauter la CRT (inutile si on n'utilise que des APIs) serait un moyen de réduire la DLL à peau de chagrin
10 oct. 2004 à 15:22
Un grand merci!
4 juil. 2004 à 23:08
Vous n'êtes pas encore membre ?
inscrivez-vous, c'est gratuit et ça prend moins d'une minute !
Les membres obtiennent plus de réponses que les utilisateurs anonymes.
Le fait d'être membre vous permet d'avoir un suivi détaillé de vos demandes et codes sources.
Le fait d'être membre vous permet d'avoir des options supplémentaires.