I'm writing a program for win32. I need to know how to make it copy itself to LOCATION_X.
here's my code.
any ideas?Code:#include <windowsx.h> #include <commctrl.h> #include <string.h> #include <conio.h> #include <stdio.h> #define LOCATION_X "c:\\test.exe" int APIENTRY WinMain(HINSTANCE hinst, HISTANCE hinstPrev, LPSTR lpCmdLine, int nCmdShow) { CopyFile( ????NEED HELP HERE????, LOCATION_X, FALSE); return 0; }