Archived

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

drarem

SDI questions.. win32 style

Recommended Posts

I made a small windoze class, which gets created/ran by this:
int WINAPI WinMain (HINSTANCE hThis, HINSTANCE hPrev, LPSTR lpszArg, int nFunsterStil) {
    WINAPP.winmain(hThis, hPrev, lpszArg, nFunsterStil);

} 
which contains the winproc and static callback function.. when i try something like: WINAPP.winmain(hThis, hPrev, lpszArg, nFunsterStil); WINAPP2.winmain(hThis, hPrev, lpszArg, nFunsterStil); I only get one window, or perhaps two on the same hInstance..hmmm hThis,hPrev.. do I make a hNext to make a new window, and if so how? I fseek, therefore I fam.

Share this post


Link to post
Share on other sites