Hello,
I want to write a program that opens itself. For example.
When I compile this program and execute it, it will open itself again.Code:int main() { printf("Hello World"); /***CODE HERE***/ return 0; }
Edit:
Found a way to do this with
Code:ShellExecuteA(GetDesktopWindow(), "open", "FILE_NAME_HERE", NULL, NULL, SW_SHOW);