alut
voici mon problème, j'ai cette erreur :
error: expected constructor, destructor, or type conversion before 'CLC_End'

pour mon code

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifdef SAMALG_EXPORTS
#define SAMALG_API __declspec(dllexport)
#else
#define SAMALG_API __declspec(dllimport)
#endif
 
#include <wtypes.h>
 
extern "C"
{
 
SAMALG_API CLC_Start(LPBYTE lpParam1, long lenParam1,
						LPBYTE lpParam2, long lenParam2,
						LPBYTE lpParam3, long lenParam3)
 
 
SAMALG_API CLC_End()
 
 
SAMALG_API CLC_GetP(LPBYTE lpPDB, long lenPDB,
						 LPBYTE lpOutData, long lenAllocOutData, long* lenOutData)
 
 
 
} //end of extern "C"
Pouvez vous m'aider ? SVP