Salut à tous
J'epprouve quelques problemes à mettre sous forme de dll une classe que j'ai crée. Cette classe a ete developpé en pure interface.
Voila le code(je met que les .h vu que le code dans les .cpp est bon)
EGESprite.h
EGESprite_Private.h
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
DLL.def
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
La compilation se passe sans probleme mais au link j'obtient les erreurs suivantes:
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47EXPORTS Create Draw Draw DrawCenterX DrawCenterY DrawCenter DrawCenterAround GetSizeX GetSizeY SetSizeX SetSizeY GetFilename IsCollideWith GetPosition SetPosition GetPositionX SetPositionX GetPositionY SetPositionY GetPositionZ SetPositionZ GetId SetColor3 SetColor3 GetColor3 SetColor4 SetColor4 GetColor4 SetOpacity GetOpacity
LL.def : warning LNK4022: cannot find unique match for symbol "Draw"
.\DLL.def : warning LNK4002: "public: virtual void __thiscall EGESPRITE_PRIVATE:raw(int,int)" (?Draw@EGESPRITE_PRIVATE@@UAEXHH@Z) defined in .\Debug\EGESprite_Private.obj
.\DLL.def : warning LNK4002: "public: virtual void __thiscall EGESPRITE_PRIVATE:raw(class EGEPOINT3D)" (?Draw@EGESPRITE_PRIVATE@@UAEXVEGEPOINT3D@@@Z) defined in .\Debug\EGESprite_Private.obj
.\DLL.def : warning LNK4022: cannot find unique match for symbol "SetColor3"
.\DLL.def : warning LNK4002: "public: virtual void __thiscall EGESPRITE_PRIVATE::SetColor3(int,int,int)" (?SetColor3@EGESPRITE_PRIVATE@@UAEXHHH@Z) defined in .\Debug\EGESprite_Private.obj
.\DLL.def : warning LNK4002: "public: virtual void __thiscall EGESPRITE_PRIVATE::SetColor3(class EGECOLOR3)" (?SetColor3@EGESPRITE_PRIVATE@@UAEXVEGECOLOR3@@@Z) defined in .\Debug\EGESprite_Private.obj
.\DLL.def : warning LNK4022: cannot find unique match for symbol "SetColor4"
.\DLL.def : warning LNK4002: "public: virtual void __thiscall EGESPRITE_PRIVATE::SetColor4(int,int,int,int)" (?SetColor4@EGESPRITE_PRIVATE@@UAEXHHHH@Z) defined in .\Debug\EGESprite_Private.obj
.\DLL.def : warning LNK4002: "public: virtual void __thiscall EGESPRITE_PRIVATE::SetColor4(class EGECOLOR4)" (?SetColor4@EGESPRITE_PRIVATE@@UAEXVEGECOLOR4@@@Z) defined in .\Debug\EGESprite_Private.obj
LINK : fatal error LNK1152: cannot resolve one or more undecorated symbols
LINK : fatal error LNK1141: failure during build of exports file
Ca doit etre tout bete mais c'est la premier fois que je fais une dll etj'ai l'impression qu'il aime les surcharges de fonctions.
Merci

 

 
		
		 
         
 

 
			
			

 
   


 Probleme de creation de dll
 Probleme de creation de dll
				 Répondre avec citation
  Répondre avec citation
Partager