Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A problem of using CScrollView Pin
Rage8-Mar-10 4:19
professionalRage8-Mar-10 4:19 
GeneralRe: A problem of using CScrollView Pin
whiteclouds8-Mar-10 14:13
whiteclouds8-Mar-10 14:13 
GeneralRe: A problem of using CScrollView Pin
Rage8-Mar-10 4:24
professionalRage8-Mar-10 4:24 
QuestionLinker error - MFC DLL - missing constructor??? Pin
Vaclav_7-Mar-10 19:52
Vaclav_7-Mar-10 19:52 
AnswerRe: Linker error - MFC DLL - missing constructor??? Pin
Eugen Podsypalnikov7-Mar-10 20:29
Eugen Podsypalnikov7-Mar-10 20:29 
GeneralRe: Linker error - MFC DLL - missing constructor??? Pin
Vaclav_8-Mar-10 5:31
Vaclav_8-Mar-10 5:31 
GeneralRe: Linker error - MFC DLL - missing constructor??? Pin
Eugen Podsypalnikov8-Mar-10 19:47
Eugen Podsypalnikov8-Mar-10 19:47 
AnswerRe: Linker error - MFC DLL - missing constructor??? [modified] Pin
Stephen Hewitt7-Mar-10 20:32
Stephen Hewitt7-Mar-10 20:32 
I have no idea what "OpenHR" is, but I'll try to help based on what you've posted.

Vaclav_Sal wrote:
Linking...
OpenHR.obj : error LNK2001: unresolved external symbol "public: __thiscall COpenHR_DLL_TestApp::COpenHR_DLL_TestApp(void)" (??0COpenHR_DLL_TestApp@@QAE@XZ)
Debug/OpenHR.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.


The first thing to note about a linker error is that everything compiled Ok: all the declarations of the required classes and methods are present. The linker error indicated that it can't find "COpenHR_DLL_TestApp::COpenHR_DLL_TestApp(void)" in "OpenHR.obj". This suggests that the file OpenHR.cpp attempts to construct a COpenHR_DLL_TestApp but the definition for the constructor isn't present (only its declaration). The first step is to have a look and see if it exists.
Steve

AnswerRe: Linker error - MFC DLL - missing constructor??? Pin
KarstenK8-Mar-10 0:04
mveKarstenK8-Mar-10 0:04 
AnswerRe: Linker error - MFC DLL - missing constructor??? - Update Pin
Vaclav_8-Mar-10 4:59
Vaclav_8-Mar-10 4:59 
AnswerRe: Linker error - MFC DLL - missing constructor??? SOLVED with AFX_EXT_CLASS Pin
Vaclav_8-Mar-10 6:12
Vaclav_8-Mar-10 6:12 
QuestionCDAtataBase Example Pin
jannathali7-Mar-10 19:42
jannathali7-Mar-10 19:42 
AnswerRe: CDAtataBase Example Pin
KingsGambit7-Mar-10 19:53
KingsGambit7-Mar-10 19:53 
AnswerRe: CDAtataBase Example Pin
BIJU Manjeri7-Mar-10 21:18
BIJU Manjeri7-Mar-10 21:18 
QuestionHow to use Timer in win32 dll? Pin
Rahul Vaishnav7-Mar-10 19:35
Rahul Vaishnav7-Mar-10 19:35 
AnswerRe: How to use Timer in win32 dll? [modified] Pin
KingsGambit7-Mar-10 19:51
KingsGambit7-Mar-10 19:51 
AnswerRe: How to use Timer in win32 dll? Pin
Alain Rist7-Mar-10 22:00
Alain Rist7-Mar-10 22:00 
QuestionHow to monitor network traffic for a process Pin
feanorgem7-Mar-10 13:08
feanorgem7-Mar-10 13:08 
AnswerRe: How to monitor network traffic for a process Pin
Garth J Lancaster7-Mar-10 15:00
professionalGarth J Lancaster7-Mar-10 15:00 
AnswerRe: How to monitor network traffic for a process Pin
Garth J Lancaster7-Mar-10 15:06
professionalGarth J Lancaster7-Mar-10 15:06 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem7-Mar-10 18:48
feanorgem7-Mar-10 18:48 
GeneralRe: How to monitor network traffic for a process Pin
Garth J Lancaster7-Mar-10 19:08
professionalGarth J Lancaster7-Mar-10 19:08 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem8-Mar-10 5:41
feanorgem8-Mar-10 5:41 
AnswerRe: How to monitor network traffic for a process Pin
Stephen Hewitt7-Mar-10 16:12
Stephen Hewitt7-Mar-10 16:12 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem7-Mar-10 18:44
feanorgem7-Mar-10 18:44 

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.