Click here to Skip to main content
16,010,544 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalocx Pin
mazy2-Dec-01 18:19
mazy2-Dec-01 18:19 
GeneralRe: ocx Pin
Nish Nishant3-Dec-01 3:34
sitebuilderNish Nishant3-Dec-01 3:34 
GeneralRe: ocx Pin
Mazdak3-Dec-01 7:52
Mazdak3-Dec-01 7:52 
GeneralRe: ocx Pin
Ganesh Ramaswamy3-Dec-01 8:29
Ganesh Ramaswamy3-Dec-01 8:29 
GeneralRe: [[Event Quiz]] :confused: Pin
Ravi Bhavnani2-Dec-01 16:19
professionalRavi Bhavnani2-Dec-01 16:19 
GeneralRe: [[Event Quiz]] :confused: Pin
Christian Graus2-Dec-01 16:22
protectorChristian Graus2-Dec-01 16:22 
GeneralRe: [[Event Quiz]] Christian Graus Pin
issac0072-Dec-01 17:21
issac0072-Dec-01 17:21 
GeneralRe: [[Event Quiz]] Christian Graus Pin
Christian Graus2-Dec-01 18:29
protectorChristian Graus2-Dec-01 18:29 
I'm sorry, but I'm afraid your opinion is wrong. Don't worry, it happens to me all the time Wink | ;-)

In detail, even if you create a complete class so that everything you need to compile it is in the .h file ( as you must do for templated classes, for example ), VC will inform you that it cannot compile it. Go to the .cpp file, and you can compile it fine. If there isn't one, create an empty one of the same name, and I'd guess it will compile fine. Have the .h file open, and if the compiler compiles it fine in a full build or not, it's still not going to let you compile the individual file for you. My guess is that it checks the filename and assumes it's a .h in the traditional sense of a list of headers, with no actual code to compile beyond that.

issac007 wrote:
i suppose that your meanning is the VC .h file can not be
compiled only without .cpp file, am i right


Actually, it can, you can put your whole class in a .h file, and in some instances, you must. But VC will not compile that file alone, only as part of a full build.

issac007 wrote:
p.s: thanks so much your kind reply, and then Good to see you, i'm chritian too...God bless you in all of your life

Well, thank you, as it happens I *am* a Christian, but I post under the name Christian because it's also the name my mother gave me. Wink | ;-)




Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: [[Event Quiz]] Christian Graus Pin
issac0072-Dec-01 18:57
issac0072-Dec-01 18:57 
Questionwhy does not ListBox DISPLAY Horizon Scrollbox? Pin
AnonymousBabe@usa.net2-Dec-01 15:46
AnonymousBabe@usa.net2-Dec-01 15:46 
AnswerRe: why does not ListBox DISPLAY Horizon Scrollbox? Pin
Ravi Bhavnani2-Dec-01 16:05
professionalRavi Bhavnani2-Dec-01 16:05 
Generalthread has exited with code 20 (0x14). Pin
AnonymousBabe@usa.net2-Dec-01 15:40
AnonymousBabe@usa.net2-Dec-01 15:40 
GeneralRe: thread has exited with code 20 (0x14). Pin
moliate2-Dec-01 16:09
moliate2-Dec-01 16:09 
GeneralRe: thread has exited with code 20 (0x14). Pin
AnonymousBabe@usa.net2-Dec-01 16:44
AnonymousBabe@usa.net2-Dec-01 16:44 
GeneralPassing CWnd objects or HWNDs in a multithreaded MFC app... Pin
2-Dec-01 14:51
suss2-Dec-01 14:51 
GeneralRe: Passing CWnd objects or HWNDs in a multithreaded MFC app... Pin
Nish Nishant2-Dec-01 21:04
sitebuilderNish Nishant2-Dec-01 21:04 
GeneralRe: Passing CWnd objects or HWNDs in a multithreaded MFC app... Pin
Erik Funkenbusch3-Dec-01 9:11
Erik Funkenbusch3-Dec-01 9:11 
GeneralMid life crisis Pin
fenz2-Dec-01 13:57
fenz2-Dec-01 13:57 
GeneralRe: Mid life crisis Pin
Christian Graus2-Dec-01 14:02
protectorChristian Graus2-Dec-01 14:02 
GeneralRe: Mid life crisis Pin
Todd Smith2-Dec-01 14:36
Todd Smith2-Dec-01 14:36 
GeneralRe: Mid life crisis Pin
Jon Sagara2-Dec-01 14:39
Jon Sagara2-Dec-01 14:39 
GeneralRe: Mid life crisis Pin
Chambers3-Dec-01 0:59
Chambers3-Dec-01 0:59 
GeneralRe: Mid life crisis Pin
Christian Graus3-Dec-01 11:50
protectorChristian Graus3-Dec-01 11:50 
GeneralRe: Mid life crisis Pin
Chambers4-Dec-01 4:26
Chambers4-Dec-01 4:26 
GeneralRe: Mid life crisis Pin
Erik Funkenbusch3-Dec-01 9:16
Erik Funkenbusch3-Dec-01 9:16 

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.