im trying to write an "instal" to add to a little program i wrote,
nothing big, just to learn the basics.. I already figured out
the menu and how to add to registry but im stuck on 2 things,
Im looking for the "command" to copy my file to a location, example: if i double
click "myprogram.exe" that it copy itself to "c:\Program Files\
My program.. The second problem is how can i make a reboot..
i tried this code :
void far (*rebooter)();
rebooter = (void far *) 0xFFFF0000;
but it dont work, i think its c.
(please also tell wich headers and or .lib files i need to include
i use Dev C++)
Thanx for the help !