Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: HowTo get ShellExecute to run a command file? Pin
Parikshit97919-Dec-10 21:12
Parikshit97919-Dec-10 21:12 
Generalplacing a toolbar in a CReBar Pin
gabriel.fischer24-Jul-05 9:30
gabriel.fischer24-Jul-05 9:30 
GeneralCalling CDocument::OnOpenDocument(LPCTSTR lpszPathName) Pin
vasanth100424-Jul-05 6:38
vasanth100424-Jul-05 6:38 
GeneralSet font Info for TextOut function Pin
Abd.Eskandari24-Jul-05 5:49
Abd.Eskandari24-Jul-05 5:49 
Questionwhat means -1.#IND000? Pin
gabriel.fischer24-Jul-05 4:52
gabriel.fischer24-Jul-05 4:52 
AnswerRe: what means -1.#IND000? Pin
Chris Losinger24-Jul-05 5:01
professionalChris Losinger24-Jul-05 5:01 
AnswerRe: what means -1.#IND000? Pin
toxcct24-Jul-05 5:30
toxcct24-Jul-05 5:30 
GeneralActive Document Server HELP! Pin
Bruce Pataki24-Jul-05 0:46
Bruce Pataki24-Jul-05 0:46 
I am using MFC Application wizard provided with VC++.Net to generate an application with DocView Support. I have selected Full Server i.e. Active document server and Active Document container.

I want to separate the view class and data class. I.e I want a form to take input and then after processing the data the data should show up in a separate form. I am unable to include view class files in any of the other class files. When I do so I face errors as listed below.

Basically I want to call the view class methods from other class. So for doing that I included the view class file in the other class but it gives me the following errors.
Please help and send me some tips if you can.


------ Build started: Project: TEST, Configuration: Debug Win32 ------

Compiling...
TESTDM.cpp
e:\Data\TEST\projects\TEST\TEST\TestModule.h(15) : error C2065: 'IDD_DIALOG1' : undeclared identifier
e:\Data\TEST\projects\TEST\TEST\TESTView.h(17) : error C2065: 'IDD_TEST_FORM' : undeclared identifier
e:\Data\TEST\projects\TEST\TEST\TESTView.h(21) : error C2143: syntax error : missing ';' before '*'
e:\Data\TEST\projects\TEST\TEST\TESTView.h(21) : error C2501: 'CTESTView::CTESTDoc' : missing storage-class or type specifiers
e:\Data\TEST\projects\TEST\TEST\TESTView.h(21) : error C2501: 'CTESTView::GetDocument' : missing storage-class or type specifiers
e:\Data\TEST\projects\TEST\TEST\TESTView.h(21) : warning C4183: 'GetDocument': missing return type; assumed to be a member function returning 'int'

Build log was saved at "file://e:\Data\Test\projects\Test\Test\Debug\BuildLog.htm"
TEST - 5 error(s), 1 warning(s)

Confused | :confused:
GeneralRe: Active Document Server HELP! Pin
Gary R. Wheeler24-Jul-05 3:16
Gary R. Wheeler24-Jul-05 3:16 
GeneralRe: Active Document Server HELP! Pin
Bruce Pataki25-Jul-05 4:47
Bruce Pataki25-Jul-05 4:47 
GeneralRe: Active Document Server HELP! Pin
Gary R. Wheeler25-Jul-05 15:41
Gary R. Wheeler25-Jul-05 15:41 
GeneralRe: Active Document Server HELP! Pin
Bruce Pataki26-Jul-05 7:35
Bruce Pataki26-Jul-05 7:35 
GeneralRe: Active Document Server HELP! Pin
Gary R. Wheeler27-Jul-05 12:26
Gary R. Wheeler27-Jul-05 12:26 
Generalinterrupt handling Pin
rottencheese24-Jul-05 0:38
rottencheese24-Jul-05 0:38 
GeneralRe: interrupt handling Pin
Alexander M.,24-Jul-05 3:14
Alexander M.,24-Jul-05 3:14 
QuestionHow to expand CRectTracker's handles size for easy use with touch panel? Pin
yyqqhy200024-Jul-05 0:23
yyqqhy200024-Jul-05 0:23 
AnswerRe: How to expand CRectTracker's handles size for easy use with touch panel? Pin
Gary R. Wheeler24-Jul-05 3:20
Gary R. Wheeler24-Jul-05 3:20 
GeneralRe: How to expand CRectTracker's handles size for easy use with touch panel? Pin
Anonymous24-Jul-05 4:18
Anonymous24-Jul-05 4:18 
QuestionPop up "view wireless Network dialog" by Code? Pin
joycenter24-Jul-05 0:01
joycenter24-Jul-05 0:01 
Generalthe problem wtih AfxOleInit and OleUninitialize Pin
I am ke xu23-Jul-05 23:59
I am ke xu23-Jul-05 23:59 
Generalacessing msconfig in win9x,,nt,2000,xp Pin
Member 213961923-Jul-05 21:26
Member 213961923-Jul-05 21:26 
GeneralRe: acessing msconfig in win9x,,nt,2000,xp Pin
Alexander M.,24-Jul-05 3:16
Alexander M.,24-Jul-05 3:16 
GeneralRe: acessing msconfig in win9x,,nt,2000,xp Pin
Member 213961924-Jul-05 7:22
Member 213961924-Jul-05 7:22 
Generalchanu1982@rediffmail.comacessing msconfig in win9x,,nt,2000,xp Pin
Member 213961923-Jul-05 21:25
Member 213961923-Jul-05 21:25 
Generalhiding folders and files Pin
Member 213961923-Jul-05 21:20
Member 213961923-Jul-05 21:20 

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.