Put extern type name(extern HWND hWnd) in a header (main.h or something) and then re-declare the same variable (minus the extern keyword) in every source file you use it in?
I need to put some text to a window referencing to a HWND object but for some reason it isn't working and I'm wondering if I'm using extern correctly.
Thanks.