Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem passing an object over several DLL's. Pin
Brian van der Beek16-Jan-03 20:04
Brian van der Beek16-Jan-03 20:04 
GeneralStrange compile error Pin
ns16-Jan-03 5:51
ns16-Jan-03 5:51 
GeneralRe: Strange compile error Pin
jmkhael16-Jan-03 5:56
jmkhael16-Jan-03 5:56 
GeneralRe: Strange compile error Pin
ns16-Jan-03 6:08
ns16-Jan-03 6:08 
GeneralRe: Strange compile error Pin
jmkhael16-Jan-03 6:14
jmkhael16-Jan-03 6:14 
GeneralRe: Strange compile error Pin
Chris Richardson16-Jan-03 8:03
Chris Richardson16-Jan-03 8:03 
GeneralRe: Strange compile error Pin
ns16-Jan-03 8:09
ns16-Jan-03 8:09 
GeneralRe: Strange compile error Pin
ns16-Jan-03 9:09
ns16-Jan-03 9:09 
Well,
#including the doc.h in the searchview.h resolved that issue that I posted about initially (and I also noted that putting the doc.h in the COriginalView.h took care of it just as well instead)

Next I wanted to get the COriginalView pointer in the mainframe class, and put in the OriginalView.h file into mainfrm.cpp, it gave me the exact same errors I had gotten when earlier when I had added the OriginalView.h to SearchView.h. The earlier issue had I resolved by putting in the missing ingredient - the doc.h file into the searchview.h file. But this time, I couldnt appease it by putting doc.h into the mainfrm.h. I had instead to add the doc.h to the OriginalView.h.

SO it seems that the best resolution here for both problems is to put the include doc.h into the COriginalView.h file, and nnot the in the files where I #include COriginalView.h

WOuld you agree?
Thanks

Appreciate your help,
ns
GeneralRe: Strange compile error Pin
Chris Richardson16-Jan-03 9:19
Chris Richardson16-Jan-03 9:19 
GeneralRe: Strange compile error Pin
ns16-Jan-03 9:31
ns16-Jan-03 9:31 
GeneralRe: Strange compile error Pin
Chris Richardson16-Jan-03 9:35
Chris Richardson16-Jan-03 9:35 
GeneralProcess's virtual address Pin
Anonymous16-Jan-03 5:06
Anonymous16-Jan-03 5:06 
GeneralRe: Process's virtual address Pin
AlexO16-Jan-03 5:35
AlexO16-Jan-03 5:35 
GeneralRe: Process's virtual address Pin
Wenrich17-Jan-03 5:03
Wenrich17-Jan-03 5:03 
QuestionHow can i draw in a CDialog Pin
willempipi16-Jan-03 4:32
willempipi16-Jan-03 4:32 
AnswerRe: How can i draw in a CDialog Pin
Alvaro Mendez16-Jan-03 4:38
Alvaro Mendez16-Jan-03 4:38 
GeneralRe: How can i draw in a CDialog Pin
Joaquín M López Muñoz16-Jan-03 6:01
Joaquín M López Muñoz16-Jan-03 6:01 
QuestionHooking Question. Am I Dumb? Pin
RickGavin16-Jan-03 4:17
RickGavin16-Jan-03 4:17 
AnswerRe: Hooking Question. Am I Dumb? Pin
jmkhael16-Jan-03 6:06
jmkhael16-Jan-03 6:06 
GeneralBitmap and dialogbar Pin
MemLeak16-Jan-03 3:09
MemLeak16-Jan-03 3:09 
Generallocation of #include statements Pin
ns16-Jan-03 3:05
ns16-Jan-03 3:05 
GeneralRe: location of #include statements Pin
Maximilien16-Jan-03 3:11
Maximilien16-Jan-03 3:11 
GeneralRe: location of #include statements Pin
ns16-Jan-03 3:15
ns16-Jan-03 3:15 
GeneralRe: location of #include statements Pin
blackmesa16-Jan-03 7:29
blackmesa16-Jan-03 7:29 
GeneralRe: location of #include statements Pin
Maximilien16-Jan-03 8:31
Maximilien16-Jan-03 8:31 

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.