Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGlobalFree Pin
Jamie Nordmeyer30-Mar-01 11:54
Jamie Nordmeyer30-Mar-01 11:54 
GeneralRe: GlobalFree Pin
Tim Deveaux30-Mar-01 13:31
Tim Deveaux30-Mar-01 13:31 
GeneralRe: GlobalFree Pin
Jamie Nordmeyer2-Apr-01 5:46
Jamie Nordmeyer2-Apr-01 5:46 
GeneralADO Problem Pin
#realJSOP30-Mar-01 9:57
professional#realJSOP30-Mar-01 9:57 
GeneralRe: ADO Problem Pin
Anders Molin31-Mar-01 6:52
professionalAnders Molin31-Mar-01 6:52 
GeneralHelp needed! Please help Pin
Mustafa Demirhan30-Mar-01 8:53
Mustafa Demirhan30-Mar-01 8:53 
GeneralRe: Help needed! Please help Pin
BenDev30-Mar-01 9:27
BenDev30-Mar-01 9:27 
GeneralProcedure/Function question Pin
Richard Cheng30-Mar-01 6:58
Richard Cheng30-Mar-01 6:58 
I'm using MFC programming to implement a software. Of course there are "View, Doc, mainframe...etc" file.....

I've added a dialog box with a textbox for me to input some values. And I have separate file called ABC.cpp to do other things. In the ABC.cpp, I would like to pop up that dialog box to let user to input the value and then use that value in ABC.cpp. However, i got the following error message:

C:\XYZ\InputNum.h(21) : error C2065: 'IDD_INPUTNUM' : undeclared identifier
C:\XYZ\InputNum.h(21) : error C2057: expected constant expression

I did everything already:

CInputNum InputNum;
InputNum.DoModal();
num = InputNum.m_inputnumber;

Do you know why? and how to fix it? I don't want to make a global variable......
GeneralRe: Procedure/Function question Pin
Tim Deveaux30-Mar-01 7:17
Tim Deveaux30-Mar-01 7:17 
GeneralRe: Procedure/Function question Pin
Richard Cheng30-Mar-01 7:29
Richard Cheng30-Mar-01 7:29 
GeneralURGENT - Please Help! Pin
Mustafa Demirhan30-Mar-01 6:13
Mustafa Demirhan30-Mar-01 6:13 
GeneralRe: URGENT - Please Help! Pin
Masaaki Onishi30-Mar-01 6:45
Masaaki Onishi30-Mar-01 6:45 
GeneralWarnings compiling STL Pin
30-Mar-01 3:05
suss30-Mar-01 3:05 
GeneralRe: Warnings compiling STL Pin
Chris Losinger30-Mar-01 3:44
professionalChris Losinger30-Mar-01 3:44 
GeneralRe: Warnings compiling STL Pin
Anders Molin31-Mar-01 6:59
professionalAnders Molin31-Mar-01 6:59 
Generalsending messages from a worker thread to cdocument Pin
derhackler29-Mar-01 23:17
derhackler29-Mar-01 23:17 
GeneralRe: sending messages from a worker thread to cdocument Pin
markkuk30-Mar-01 0:09
markkuk30-Mar-01 0:09 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler30-Mar-01 0:54
derhackler30-Mar-01 0:54 
GeneralRe: sending messages from a worker thread to cdocument Pin
BenDev30-Mar-01 3:03
BenDev30-Mar-01 3:03 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav30-Mar-01 6:47
Ajit Jadhav30-Mar-01 6:47 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler30-Mar-01 6:50
derhackler30-Mar-01 6:50 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav30-Mar-01 7:19
Ajit Jadhav30-Mar-01 7:19 
GeneralRe: sending messages from a worker thread to cdocument Pin
derhackler30-Mar-01 8:50
derhackler30-Mar-01 8:50 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav31-Mar-01 12:42
Ajit Jadhav31-Mar-01 12:42 
GeneralRe: sending messages from a worker thread to cdocument Pin
Ajit Jadhav31-Mar-01 15:45
Ajit Jadhav31-Mar-01 15:45 

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.