Bonjour,
Il y a t'il des utilisateurs de Orbacus sous Visual C++ 6.0 ??
J'ai installé orabacus en suivant les readme.windows, j'ai transformé l'exemple hello client en projet Visual C++ (DSW) et je n'ai aucun problème de compilation.
MAIS
J'ai voulu faire exactement la même chose avec le server et là j'obtient une série d'erreur de lien.
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 Deleting intermediate files and output files for project 'SERVER - Win32 Debug'. --------------------Configuration: SERVER - Win32 Debug-------------------- Compiling... Hello_impl.cpp Server.cpp Linking... Hello_impl.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall POA_Hello::_is_a(char const *)" (?_is_a@POA_Hello@@UAE_NPBD@Z) Hello_impl.obj : error LNK2001: unresolved external symbol "public: virtual char * __thiscall POA_Hello::_primary_interface(class OB::FixSeq<unsigned char,class PortableServer::OBUnique_ObjectId> const &,class PortableServer::POA *)" (?_primary_inte rface@POA_Hello@@UAEPADABV?$FixSeq@EVOBUnique_ObjectId@PortableServer@@@OB@@PAVPOA@PortableServer@@@Z) Hello_impl.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall POA_Hello::_OB_dispatch(class OB::Upcall *)" (?_OB_dispatch@POA_Hello@@UAEXPAVUpcall@OB@@@Z) Hello_impl.obj : error LNK2001: unresolved external symbol "public: virtual class OB::DirectStubImpl * __thiscall POA_Hello::_OB_createDirectStubImpl(class PortableServer::POA *,class OB::FixSeq<unsigned char,class PortableServer::OBUnique_ObjectId> const &)" (?_OB_createDirectStubImpl@POA_Hello@@UAEPAVDirectStubImpl@OB@@PAVPOA@PortableServer@@ABV?$FixSeq@EVOBUnique_ObjectId@PortableServer@@@3@@Z) Server.obj : error LNK2001: unresolved external symbol "public: class Hello * __thiscall POA_Hello::_this(void)" (?_this@POA_Hello@@QAEPAVHello@@XZ) Server.obj : error LNK2001: unresolved external symbol "void __cdecl OBRelease(class Hello *)" (?OBRelease@@YAXPAVHello@@@Z) Debug/SERVER.exe : fatal error LNK1120: 6 unresolved externals Error executing link.exe. Creating browse info file... SERVER.exe - 7 error(s), 0 warning(s)
Merci de m'aider ,
Cordialement,
Partager