Click here to Skip to main content
16,013,489 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MDI to Dailog Application Pin
MsmVc31-Aug-08 20:45
MsmVc31-Aug-08 20:45 
GeneralRe: MDI to Dailog Application Pin
Cedric Moonen31-Aug-08 20:54
Cedric Moonen31-Aug-08 20:54 
QuestionLinking error! Pin
Dhiraj kumar Saini31-Aug-08 19:00
Dhiraj kumar Saini31-Aug-08 19:00 
AnswerRe: Linking error! Pin
Naveen31-Aug-08 19:04
Naveen31-Aug-08 19:04 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 19:07
Dhiraj kumar Saini31-Aug-08 19:07 
GeneralRe: Linking error! Pin
Naveen31-Aug-08 19:14
Naveen31-Aug-08 19:14 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 19:19
Dhiraj kumar Saini31-Aug-08 19:19 
GeneralRe: Linking error! Pin
Naveen31-Aug-08 19:25
Naveen31-Aug-08 19:25 
Dhiraj kumar Saini wrote:
CGetFootDlg(CWnd* pParent = NULL);


The above function dosent have the implimentation in cpp right. In the CPP you have only written implementation for CGetFootDlg(bool bMainDlg, CWnd* pParent = NULL);. So remove the first constructor from the header.

After this if you compile, you will get error from the constructor if CMainDlg. Because from that constructor, you are trying to call CGetFootDlg(CWnd* pParent);. But while linking, the compiler couldn't find the implementation. That why it gave out link error.

Modify the CMainDlg constructor to call the CGetFootDlg(bool bMainDlg, CWnd* pParent = NULL); constructor instead of CGetFootDlg(CWnd* pParent = NULL);


GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 19:34
Dhiraj kumar Saini31-Aug-08 19:34 
GeneralRe: Linking error! Pin
Naveen31-Aug-08 19:37
Naveen31-Aug-08 19:37 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 19:43
Dhiraj kumar Saini31-Aug-08 19:43 
GeneralRe: Linking error! Pin
Naveen31-Aug-08 19:50
Naveen31-Aug-08 19:50 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 20:00
Dhiraj kumar Saini31-Aug-08 20:00 
GeneralRe: Linking error! Pin
Naveen31-Aug-08 20:31
Naveen31-Aug-08 20:31 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 20:41
Dhiraj kumar Saini31-Aug-08 20:41 
GeneralRe: Linking error! Pin
Naveen31-Aug-08 20:44
Naveen31-Aug-08 20:44 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 20:52
Dhiraj kumar Saini31-Aug-08 20:52 
GeneralRe: Linking error! Pin
Dhiraj kumar Saini31-Aug-08 20:25
Dhiraj kumar Saini31-Aug-08 20:25 
QuestionCustomizing a title bar (mfc and/or windows forms applications) Pin
James_Zhang31-Aug-08 17:38
James_Zhang31-Aug-08 17:38 
AnswerRe: Customizing a title bar (mfc and/or windows forms applications) Pin
Hamid_RT31-Aug-08 18:13
Hamid_RT31-Aug-08 18:13 
GeneralRe: Customizing a title bar (mfc and/or windows forms applications) Pin
James_Zhang1-Sep-08 8:40
James_Zhang1-Sep-08 8:40 
GeneralRe: Customizing a title bar (mfc and/or windows forms applications) Pin
Hamid_RT1-Sep-08 22:46
Hamid_RT1-Sep-08 22:46 
QuestionProblem using WMI Pin
lhkok31-Aug-08 17:29
lhkok31-Aug-08 17:29 
AnswerRe: Problem using WMI Pin
Hamid_RT31-Aug-08 18:20
Hamid_RT31-Aug-08 18:20 
GeneralRe: Problem using WMI Pin
lhkok31-Aug-08 21:21
lhkok31-Aug-08 21:21 

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.