Click here to Skip to main content
15,887,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCOM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 2:11
Rolando Cruz19-Jun-07 2:11 
AnswerRe: COM/DCOM is now what? Pin
bob1697219-Jun-07 4:34
bob1697219-Jun-07 4:34 
GeneralRe: COM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 5:08
Rolando Cruz19-Jun-07 5:08 
AnswerRe: COM/DCOM is now what? Pin
James R. Twine19-Jun-07 4:51
James R. Twine19-Jun-07 4:51 
AnswerRe: COM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 5:14
Rolando Cruz19-Jun-07 5:14 
GeneralRe: COM/DCOM is now what? Pin
Matthew Faithfull19-Jun-07 7:51
Matthew Faithfull19-Jun-07 7:51 
GeneralRe: COM/DCOM is now what? Pin
Rolando Cruz19-Jun-07 7:56
Rolando Cruz19-Jun-07 7:56 
QuestionUnable to launch dialog box Pin
Wamuti19-Jun-07 2:09
Wamuti19-Jun-07 2:09 
I'm trying to make a dialog box appear from a file menu after clicking it with popup "Dialog" but i am getting the following error:


menu.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_MSGMAP const * __thiscall CGuessDialog::GetMessageMap(void)const " (?GetMessageMap@CGuessDialog@@MBEPBUAFX_MSGMAP@@XZ)
Debug/menu.exe : fatal error LNK1120: 1 unresolved externals


I have been unable to debug but the problem comes in when i use the following code in my .cpp


afx_msg void CMenusWin::OnBringDialog() //Function associated
//with message identifier for launching the dialog box
{
CGuessDialog dlg; //creating an instance of CGuessDialog to
//execute constructor on being clicked
dlg.DoModal();

}


I have a class CGuessDialog in a header file and have already made the resources manually.(i am not using the wizard)

Below is my message map:


//DECLARE_MESSAGE_MAP() has been done on the CMenusWin.
BEGIN_MESSAGE_MAP(CMenusWin,CFrameWnd)//CMenusWin contains the main window

ON_COMMAND(IDM_DIALOGLAUNCHER,OnBringDialog)//OnBringDialog declared
//in CMenusWin

END_MESSAGE_MAP()



Please help. I'm sunk!!
Thanks

TreeS

AnswerRe: Unable to launch dialog box Pin
Roger Stoltz19-Jun-07 2:40
Roger Stoltz19-Jun-07 2:40 
GeneralRe: Unable to launch dialog box Pin
Wamuti19-Jun-07 3:09
Wamuti19-Jun-07 3:09 
GeneralRe: Unable to launch dialog box Pin
Wamuti19-Jun-07 3:17
Wamuti19-Jun-07 3:17 
QuestionHow to: Structure initialization Pin
Programm3r19-Jun-07 0:01
Programm3r19-Jun-07 0:01 
AnswerRe: How to: Structure initialization Pin
Rage19-Jun-07 0:27
professionalRage19-Jun-07 0:27 
GeneralRe: How to: Structure initialization Pin
Programm3r19-Jun-07 0:47
Programm3r19-Jun-07 0:47 
QuestionDifference between DLL & Process ??? Pin
amitmistry_petlad 18-Jun-07 23:45
amitmistry_petlad 18-Jun-07 23:45 
AnswerRe: Difference between DLL & Process ??? Pin
Programm3r19-Jun-07 0:05
Programm3r19-Jun-07 0:05 
AnswerRe: Difference between DLL & Process ??? Pin
karle19-Jun-07 0:08
karle19-Jun-07 0:08 
QuestionWhy can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo18-Jun-07 23:32
Chen-XuNuo18-Jun-07 23:32 
AnswerRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Rage18-Jun-07 23:42
professionalRage18-Jun-07 23:42 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo18-Jun-07 23:49
Chen-XuNuo18-Jun-07 23:49 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Rage19-Jun-07 0:22
professionalRage19-Jun-07 0:22 
QuestionRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Hamid_RT19-Jun-07 0:47
Hamid_RT19-Jun-07 0:47 
AnswerRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo19-Jun-07 6:29
Chen-XuNuo19-Jun-07 6:29 
AnswerRe: Why can't it show a whole bitmap in listctrl in icon form Pin
James R. Twine19-Jun-07 4:48
James R. Twine19-Jun-07 4:48 
GeneralRe: Why can't it show a whole bitmap in listctrl in icon form Pin
Chen-XuNuo19-Jun-07 6:27
Chen-XuNuo19-Jun-07 6:27 

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.