and actually to be combined with CreateThread()
(the program now uses this (CreateThread) and i have to minimize the modifications for my purpouses..Code:HANDLE CreateThread( LPSECURITY_ATTRIBUTES lpThreadAttributes, DWORD dwStackSize, LPTHREAD_START_ROUTINE lpStartAddress, LPVOID lpParameter, DWORD dwCreationFlags, LPDWORD lpThreadId );