Organize
September 7th, 2005, 03:39 AM
DWORD WINAPI tredu (LPVOID lpParam );
int APIENTRY WinMain(HINSTANCE a,HINSTANCE b,LPSTR
comanda,int arata)
{
HANDLE hThread;
DWORD dwID,dwThrdParam = 1;
hThread = CreateThread (NULL, 0,tredu ,&dwThrdParam,
0, &dwID);
if (hThread==NULL)
MessageBox(0,"a","a",MB_OK);
return 0;
}
DWORD WINAPI tredu (LPVOID lpParam )
{
Beep(1000,1000);
MessageBox(0,"a","b",MB_OK);
return 0;
}
this does nothing?
where am I going wrong
I am using VC 7.0
int APIENTRY WinMain(HINSTANCE a,HINSTANCE b,LPSTR
comanda,int arata)
{
HANDLE hThread;
DWORD dwID,dwThrdParam = 1;
hThread = CreateThread (NULL, 0,tredu ,&dwThrdParam,
0, &dwID);
if (hThread==NULL)
MessageBox(0,"a","a",MB_OK);
return 0;
}
DWORD WINAPI tredu (LPVOID lpParam )
{
Beep(1000,1000);
MessageBox(0,"a","b",MB_OK);
return 0;
}
this does nothing?
where am I going wrong
I am using VC 7.0