Bonjour,
j'ai un probl�me avec le composant indy.
J'ai besoin d'envoyer un mail dans une application.
J'ai fait un petit programme test pour envoyer un mail qui fonctionne tr�s bien.
Mais quand je reviens sur mon application de d�part et que j'essaye d'int�grer un composant indy j'ai des erreurs � la compilation:
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
26
27
 
  [C++ Error] IdGlobal.hpp(167): E2040 Declaration terminated incorrectly
  [C++ Error] IdGlobal.hpp(168): E2040 Declaration terminated incorrectly
  [C++ Error] CategoryStream.hh(38): E2184 Enum syntax error
  [C++ Error] CategoryStream.hh(39): E2040 Declaration terminated incorrectly
  [C++ Error] CategoryStream.hh(39): E2040 Declaration terminated incorrectly
  [C++ Error] CategoryStream.hh(39): E2190 Unexpected }
  [C++ Error] CategoryStream.hh(39): E2303 Type name expected
  [C++ Error] CategoryStream.hh(47): E2303 Type name expected
  [C++ Error] CategoryStream.hh(47): E2451 Undefined symbol 'Category'
  [C++ Error] CategoryStream.hh(47): E2451 Undefined symbol 'category'
  [C++ Error] CategoryStream.hh(47): E2293 ) expected
  [C++ Error] CategoryStream.hh(52): E2303 Type name expected
  [C++ Error] CategoryStream.hh(58): E2092 Storage class 'inline' is not allowed here
  [C++ Error] CategoryStream.hh(58): E2445 Variable 'Category' is initialized more than once
  [C++ Error] CategoryStream.hh(58): E2141 Declaration syntax error
  [C++ Error] CategoryStream.hh(64): E2090 Qualifier 'Priority' is not a class or namespace name
  [C++ Error] CategoryStream.hh(64): E2040 Declaration terminated incorrectly
  [C++ Error] CategoryStream.hh(75): E2238 Multiple declaration for 'CategoryStream'
  [C++ Error] CategoryStream.hh(47): E2344 Earlier declaration of 'CategoryStream'
  [C++ Error] CategoryStream.hh(75): E2141 Declaration syntax error
  [C++ Error] CategoryStream.hh(88): E2428 Templates must be classes or functions
  [C++ Error] CategoryStream.hh(88): E2238 Multiple declaration for 'CategoryStream'
  [C++ Error] CategoryStream.hh(75): E2344 Earlier declaration of 'CategoryStream'
  [C++ Error] CategoryStream.hh(88): E2141 Declaration syntax error
  [C++ Error] CategoryStream.hh(128): E2040 Declaration terminated incorrectly
  [C++ Error] CategoryStream.hh(128): E2228 Too many error or warning messages
Je ne comprends pas... le composant fonctionne tr�s bien dans le petit programme de test et quand j'essaye de l'int�grer � mon application j'ai des erreurs..

Avez vous une id�e?
Merci d'avance ^^