Archived

This topic is now archived and is closed to further replies.

Problem Splitting Win Code!

This topic is 5148 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok My Problem is this: I have my windows initialization stuff in a header called wininit.h. I can get it to load fine, can run fine but when I goto put my WndProc (the message stuff) in my cpp file, it does''nt work. What kind of external declaration do I need to do?

Share this post


Link to post
Share on other sites
Could you post the code? How are you passing the WndProc into your initialization code? One thing you should not do is write your code in a header file like that so you don''t have to recompile it so much put it in a cpp file use a header file to define everything and link it to your main program...

Share this post


Link to post
Share on other sites