Thread: _beginthreadex and class

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    unsigned long _beginthreadex( void *security, unsigned stack_size, unsigned ( __stdcall *start_address )( void * ), void *arglist, unsigned initflag, unsigned *thrdaddr );

    Your function LyricsThread, shoudl return type void, not unsigned __stdcall

    yeah its a bit obfuscated, which is why I prefer CreateThread();
    Last edited by abachler; 05-30-2007 at 03:54 PM.

Popular pages Recent additions subscribe to a feed