Creating a Thread With an Object Window

#define  STACKSIZE    8192
  :
  :
case WMP_DOLONGTASK:
     _beginthread(thread,             /* Entry point of thread routine   */
                  &Stack,             /* Pointer to stack memory object  */
                  STACKSIZE,          /* Size of stack memory object     */
                  (PVOID)hwnd);       /* Initialization data for thread  */
     break;


[Back: Loading a Dialog Resource From a DLL]
[Next: Secondary Thread Creating an Object Window]