Click here to Skip to main content
16,018,919 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
Many thanks to all who replied, I really appreciate it.
But ... I am still confused.
I think the terminology used is part of the confusion.
Let me attempt to clarify what I have done so far.

So I have a application - MFC DLL with *.cpp and *.h files.


I have done this
1. Created "child" direcotory to mine main program - COpenHR_DLL_Test
2. Used wizard to build the MFC DLL "application"
3. Build the COpenHR_DLL_Test DLL.
4. Added this COpenHR_DLL_TestApp to my workspace.
5. Made COpenHR_DLL_TestApp dependent on main application ( OpenHR)
6. Put #include "OpenHR_DLL_Test\OpenHR_DLL_Test.h" into stdafx.h
6.Added the *.lib (in Project - Settings -Link ) OpenHR_DLL_Test/Debug/OpenHR_DLL_Test.lib
7.copied OpenHR_DLL_Test.dll into windows/system32 – I understand it is not necessary
8.Sucessfuly compiled and linked both project in workspace.
9.Added in

BOOL COpenHRApp::InitInstance()
{
COpenHR_DLL_TestApp m_COpenHR_DLL_TestApp;

10.Now it will compile with described linker error.

What you have told me I am missing the implementation of the constructor.
I just do not see where.
I have the header file of the DLL included and the libraly linked.
What else is there??





Here is quote from the *.h as generated by wizard.

// COpenHR_DLL_TestApp
// See OpenHR_DLL_Test.cpp for the implementation of this class
//

In the meantime I'll try using the MFC DLL extension option in the MFC DLL wizard.
Vaclav
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 
GeneralRe: How to monitor network traffic for a process Pin
Stephen Hewitt7-Mar-10 19:38
Stephen Hewitt7-Mar-10 19:38 
GeneralRe: How to monitor network traffic for a process Pin
feanorgem8-Mar-10 5:12
feanorgem8-Mar-10 5:12 

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.