Click here to Skip to main content
15,889,116 members
Home / Discussions / COM
   

COM

 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:27
professionalRichard Andrew x649-Apr-06 13:27 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:34
rahultaing9-Apr-06 13:34 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:36
professionalRichard Andrew x649-Apr-06 13:36 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:33
professionalRichard Andrew x649-Apr-06 13:33 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:37
rahultaing9-Apr-06 13:37 
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:43
professionalRichard Andrew x649-Apr-06 13:43 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:47
rahultaing9-Apr-06 13:47 
GeneralRe: error: LNK2001 Pin
rahultaing9-Apr-06 13:51
rahultaing9-Apr-06 13:51 
Linking...
Creating library Debug\Trial.lib and object Debug\Trial.exp
Sockets.obj : error LNK2019: unresolved external symbol __imp__WSAGetLastError@0 referenced in function "public: static class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __cdecl SocketSystem::GetLastMsg(bool)" (?GetLastMsg@SocketSystem@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__WSAStartup@8 referenced in function "public: __thiscall SocketSystem::SocketSystem(void)" (??0SocketSystem@@QAE@XZ)
Sockets.obj : error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function "public: __thiscall SocketSystem::~SocketSystem(void)" (??1SocketSystem@@QAE@XZ)
Sockets.obj : error LNK2019: unresolved external symbol __imp__inet_ntoa@4 referenced in function "public: static class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __cdecl SocketSystem::getIP(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &)" (?getIP@SocketSystem@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV23@@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__gethostbyname@4 referenced in function "public: static class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __cdecl SocketSystem::getIP(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &)" (?getIP@SocketSystem@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV23@@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__inet_addr@4 referenced in function "public: static class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __cdecl SocketSystem::getIP(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > const &)" (?getIP@SocketSystem@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV23@@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__socket@12 referenced in function "public: __thiscall Socket::Socket(void)" (??0Socket@@QAE@XZ)
Sockets.obj : error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "public: __thiscall Socket::~Socket(void)" (??1Socket@@QAE@XZ)
Sockets.obj : error LNK2019: unresolved external symbol __imp__shutdown@8 referenced in function "public: __thiscall Socket::~Socket(void)" (??1Socket@@QAE@XZ)
Sockets.obj : error LNK2019: unresolved external symbol __imp__connect@12 referenced in function "public: bool __thiscall Socket::connect(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,int)" (?connect@Socket@@QAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__htons@4 referenced in function "public: bool __thiscall Socket::connect(class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >,int)" (?connect@Socket@@QAE_NV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@H@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__send@16 referenced in function "public: void __thiscall Socket::send(char const *,unsigned int)" (?send@Socket@@QAEXPBDI@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__recv@16 referenced in function "public: void __thiscall Socket::recv(char *,unsigned int)" (?recv@Socket@@QAEXPADI@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__listen@8 referenced in function "public: __thiscall SocketListener::SocketListener(int)" (??0SocketListener@@QAE@H@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__bind@12 referenced in function "public: __thiscall SocketListener::SocketListener(int)" (??0SocketListener@@QAE@H@Z)
Sockets.obj : error LNK2019: unresolved external symbol __imp__accept@12 referenced in function "public: class Socket __thiscall SocketListener::waitForConnect(void)" (?waitForConnect@SocketListener@@QAE?AVSocket@@XZ)
Debug\Trial.dll : fatal error LNK1120: 16 unresolved externals
Build log was saved at "file://c:\Documents and Settings\ashu\Desktop\Trial\Trial\Debug\BuildLog.htm"
Trial - 17 error(s), 0 warning(s)


List of 17 linker errors that are generated when I include all the files that I use.
GeneralRe: error: LNK2001 Pin
Richard Andrew x649-Apr-06 13:57
professionalRichard Andrew x649-Apr-06 13:57 
Questionboolean variables Pin
rahultaing8-Apr-06 19:51
rahultaing8-Apr-06 19:51 
AnswerRe: boolean variables Pin
Lim Bio Liong8-Apr-06 21:27
Lim Bio Liong8-Apr-06 21:27 
QuestionConstructor & Destructor Pin
rahultaing8-Apr-06 19:50
rahultaing8-Apr-06 19:50 
AnswerRe: Constructor & Destructor Pin
Lim Bio Liong8-Apr-06 21:10
Lim Bio Liong8-Apr-06 21:10 
QuestionExcel Freeze Panes Pin
Monin D.8-Apr-06 10:44
Monin D.8-Apr-06 10:44 
QuestionAdding .VCF to Outlook contacts... Pin
xyzt827-Apr-06 14:58
xyzt827-Apr-06 14:58 
Question#import ocx control Pin
Anthony98876-Apr-06 10:47
Anthony98876-Apr-06 10:47 
AnswerRe: #import ocx control Pin
Kurt _B7-Apr-06 2:56
Kurt _B7-Apr-06 2:56 
QuestionDllSurrogate problem with Win XP Pin
_Magnus_6-Apr-06 2:48
_Magnus_6-Apr-06 2:48 
QuestionActiveX Control Pin
Identity Undisclosed6-Apr-06 1:37
Identity Undisclosed6-Apr-06 1:37 
AnswerRe: ActiveX Control Pin
Kurt _B7-Apr-06 2:57
Kurt _B7-Apr-06 2:57 
Questionhow to create wrapper class for WMI class Pin
abhiramsss5-Apr-06 19:22
abhiramsss5-Apr-06 19:22 
QuestionRetrieving the text from the VS.Net IDE Pin
Virtek5-Apr-06 9:18
Virtek5-Apr-06 9:18 
Questionimport tlb vs. include _i.h Pin
Avraham5-Apr-06 5:58
Avraham5-Apr-06 5:58 
AnswerRe: import tlb vs. include _i.h Pin
Mike Dimmick6-Apr-06 0:12
Mike Dimmick6-Apr-06 0:12 
QuestionCOM and Video Pin
gilzig5-Apr-06 5:54
gilzig5-Apr-06 5:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.