|
From: Christian W. <Chr...@vo...> - 2002-09-10 14:55:50
|
Hi List,
I want to start a function in x threads e.g:
I have a function print, print does nothing else as print a number
void print(int i);
Now I want to start 5 threads (or 30) where everey thread print another
number.
How can I realize that ??
Then I have a problem in a console app (MS VisStudio (sorry for bother you
with M$))
I want to start a timer:
//Function will be executed through the timer
VOID CALLBACK Timer(HWND hwnd, UINT message, UINT iTimerID, DWORD dwTime)
{
//do soething
};
SetTimer(NULL, 0, 1000, Timer);
But the timer does not start.
Does sombody have a solution ???
Kind r
Christian
|