Home > Archive > VC Language > May 2006 > Link error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Anyone can help-me?
WINXPSP2 - VC8
1>Linking...
1>main.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: int __thiscall
CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned long,enum
CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const * *,unsigned
long,void *)"
(__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
referenced in function "void __cdecl initializeServer(void)"
(?initializeServer@@YAXXZ)
1>Processing.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: int __thiscall
CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned long,enum
CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const * *,unsigned
long,void *)"
(__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
1>main.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall CEventEngine::CEventEngine(wchar_t
const *,wchar_t const *)" (__imp_??0CEventEngine@@QAE@PB_W0@Z) referenced in
function "void __cdecl initializeServer(void)" (?initializeServer@@YAXXZ)
1>Processing.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall CEventEngine::CEventEngine(wchar_t
const *,wchar_t const *)" (__imp_??0CEventEngine@@QAE@PB_W0@Z)
1>..\..\_compiled\debug\Ultimate Card
System\1.0\Instances\def$proc\procservr.exe : fatal error LNK1120: 2
unresolved externals
1>Build log was saved at
"file://e:\project- ucs\_project\system\server\_compiled\deb
ug\Ultimate Card
System\1.0\Instances\def$proc\___VS_ID\BuildLog.htm"
1>procservr - 5 error(s), 5 warning(s)
1>Linking...
1>main.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: int __thiscall
CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned long,enum
CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const * *,unsigned
long,void *)"
(__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
referenced in function "void __cdecl initializeServer(void)"
(?initializeServer@@YAXXZ)
1>Processing.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: int __thiscall
CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned long,enum
CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const * *,unsigned
long,void *)"
(__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
1>main.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall CEventEngine::CEventEngine(wchar_t
const *,wchar_t const *)" (__imp_??0CEventEngine@@QAE@PB_W0@Z) referenced in
function "void __cdecl initializeServer(void)" (?initializeServer@@YAXXZ)
1>Processing.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall CEventEngine::CEventEngine(wchar_t
const *,wchar_t const *)" (__imp_??0CEventEngine@@QAE@PB_W0@Z)
1>..\..\_compiled\debug\Ultimate Card
System\1.0\Instances\def$proc\procservr.exe : fatal error LNK1120: 2
unresolved externals
1>Build log was saved at
"file://e:\project- ucs\_project\system\server\_compiled\deb
ug\Ultimate Card
System\1.0\Instances\def$proc\___VS_ID\BuildLog.htm"
1>procservr - 5 error(s), 5 warning(s)
Thanks
| |
| Victor Bazarov 2006-05-18, 10:04 pm |
| retf wrote:
> Anyone can help-me?
>
> WINXPSP2 - VC8
> 1>Linking...
>
> 1>main.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: int __thiscall
> CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned
> long,enum CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t
> const * *,unsigned long,void *)"
> [...]
You apparently forgot to add the library where these functions are
to the list of the additional libraries in properties. Since this
is not one of standard or even MFC classes, you're probably the only
one here who knows where the class comes from. Add the library to
the list and build again.
V
--
Please remove capital As from my address when replying by mail
| |
|
| double check if you have added the source file that implement CEventEngine
into project.
"retf" <re.tf@terra.com.br> wrote in message
news:%23a3LFUteGHA.3996@TK2MSFTNGP04.phx.gbl...
> Anyone can help-me?
>
> WINXPSP2 - VC8
> 1>Linking...
>
> 1>main.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: int __thiscall
> CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned
> long,enum CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const *
> *,unsigned long,void *)"
> (__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
> referenced in function "void __cdecl initializeServer(void)"
> (?initializeServer@@YAXXZ)
>
> 1>Processing.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: int __thiscall
> CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned
> long,enum CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const *
> *,unsigned long,void *)"
> (__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
>
> 1>main.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> CEventEngine::CEventEngine(wchar_t const *,wchar_t const *)"
> (__imp_??0CEventEngine@@QAE@PB_W0@Z) referenced in function "void __cdecl
> initializeServer(void)" (?initializeServer@@YAXXZ)
>
> 1>Processing.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> CEventEngine::CEventEngine(wchar_t const *,wchar_t const *)"
> (__imp_??0CEventEngine@@QAE@PB_W0@Z)
>
> 1>..\..\_compiled\debug\Ultimate Card
> System\1.0\Instances\def$proc\procservr.exe : fatal error LNK1120: 2
> unresolved externals
>
> 1>Build log was saved at
> "file://e:\project- ucs\_project\system\server\_compiled\deb
ug\Ultimate
> Card System\1.0\Instances\def$proc\___VS_ID\BuildLog.htm"
>
> 1>procservr - 5 error(s), 5 warning(s)
>
> 1>Linking...
>
> 1>main.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: int __thiscall
> CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned
> long,enum CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const *
> *,unsigned long,void *)"
> (__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
> referenced in function "void __cdecl initializeServer(void)"
> (?initializeServer@@YAXXZ)
>
> 1>Processing.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: int __thiscall
> CEventEngine::ReportEventW(unsigned short,unsigned short,unsigned
> long,enum CEventEngine::REPORT_EVENT_USER,unsigned
short,wchar_t const *
> *,unsigned long,void *)"
> (__imp_? ReportEventW@CEventEngine@@QAEHGGKW4REPO
RT_EVENT_USER@1@GPAPB_WKPAX@Z)
>
> 1>main.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> CEventEngine::CEventEngine(wchar_t const *,wchar_t const *)"
> (__imp_??0CEventEngine@@QAE@PB_W0@Z) referenced in function "void __cdecl
> initializeServer(void)" (?initializeServer@@YAXXZ)
>
> 1>Processing.obj : error LNK2001: unresolved external symbol
> "__declspec(dllimport) public: __thiscall
> CEventEngine::CEventEngine(wchar_t const *,wchar_t const *)"
> (__imp_??0CEventEngine@@QAE@PB_W0@Z)
>
> 1>..\..\_compiled\debug\Ultimate Card
> System\1.0\Instances\def$proc\procservr.exe : fatal error LNK1120: 2
> unresolved externals
>
> 1>Build log was saved at
> "file://e:\project- ucs\_project\system\server\_compiled\deb
ug\Ultimate
> Card System\1.0\Instances\def$proc\___VS_ID\BuildLog.htm"
>
> 1>procservr - 5 error(s), 5 warning(s)
>
> Thanks
>
>
| |
| Gary Chang[MSFT] 2006-05-22, 10:06 pm |
| Hi,
How are the things going, have you fixed this problem?
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
========================================
==========
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
| |
| Victor Bazarov 2006-05-23, 8:09 am |
| "Gary Chang[MSFT]" wrote:
> Hi,
Hello,
> How are the things going, have you fixed this problem?
The things are going fine. Which problem are you asking about?
Or, were you talking to somebody else? Then I am sorry.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
| |
| Gary Chang[MSFT] 2006-05-23, 10:05 pm |
| No problem, Victor.
My reply is just a quick strike note for OP to check the status of this
issue.
I think he may have resolved his problem with your suggestions.
Thanks!
Best regards,
Gary Chang
Microsoft Online Community Support
========================================
==========
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
========================================
==========
This posting is provided "AS IS" with no warranties, and confers no rights.
|
|
|
|
|