Problem Splitting Win Code!
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?
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...
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement