Appel fonction dans le DllMain
Bonjour
Il s'agit probablement d'une question bete mais bon :
Je fais appel dans ma DllMain à une procedure déclarée dans un .h
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#include "Interface.h"
#include "stdafx.h"
#ifdef _MANAGED
#pragma managed(push, off)
#endif
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
// Perform actions based on the reason for calling.
switch( ul_reason_for_call )
{
case DLL_PROCESS_ATTACH:
// Initialize once for each new process.
// Return FALSE to fail DLL load.
InitCCpsSign();
....... |
Or a la compil il m'indique qu'il ne trouve pas InitCCpsSign.
Pourtant dans le Interface.h j'ai :
Code:
1 2 3
|
void InitCCpsSign(void);
void FreeCCpsSign(void); |
Qu'est ce que je fais de mal dans l'histoire ?
Là je comprends pas d'où vient le problème.
Merci si vous pouvez eclairer ma lanterne :)