View Single Post
Old Apr 27th, 2005, 5:16 PM   #4
some1
Programmer
 
Join Date: Dec 2004
Posts: 50
Rep Power: 4 some1 is on a distinguished road
actually its a global HBRUSH that is used by the functions in the file i`m trying to include. I`m not getting errors for the functions but the global HBRUSH only (which is the only global in that file). Should I not put variables in header files?

What I`m making is an application divided into 7 parts. they`re big parts so I`m dividing each into a seperate .cpp & .h file plus a main .cpp & .h file. Dunno if thats ok. I`m a noob afterall .

Any tips?
some1 is offline   Reply With Quote