I have two questions:
1. How to make a thread in C# that will play a sound like DWORD WINAPI threadplaysnd(LPVOID) { PlaySound("audio.wav",NULL,SND_FILENAME | SND_ASYNC | SND_LOOP); return 0;}
CreateThread(0,0,threadplaysnd,0,0,&dwthreadplaysnd);
In Winapi.
2. How to make an application execute like ShellExecute( NULL, "open", "file.exe", NULL, "", SW_SHOW ); in Winapi.
Thanks in advance