17 Ekim 2019 Perşembe

ShellExecute metodu

Örnek
Şöyle yaparız.
char verb[10] = "runas";
char cmd[10] = "net";
char params[40] = "user myuser";

ShellExecuteA(NULL, verb, cmd, params, 0, SW_SHOW);

3 Ekim 2019 Perşembe

CreateThread metodu

Giriş
İmzası şöyle.
HANDLE WINAPI CreateThread( __in_opt LPSECURITY_ATTRIBUTES lpThreadAttributes,
 __in SIZE_T dwStackSize,
 __in LPTHREAD_START_ROUTINE lpStartAddress,
 __in_opt LPVOID lpParameter,
 __in DWORD dwCreationFlags,
 __out_opt LPDWORD lpThreadId );