| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello
I am trying to complete an "instal" for a little program i wrote, nothing big, just to learn the basics... im stuck on 2 things, i want to when "myprogram.exe" is executed that it copy's itself to example "c:\Program Files\My program. and the second problem is the reboot.. i tried this code : { void far (*rebooter)(); rebooter = (void far *) 0xFFFF0000; (*rebooter)(); } but i think its in c.. (please also tell me what headers to include for these 2 "commands" and maybe .lib file to) Thanx for the help ! |
|
#2
|
|||
|
|||
|
I don't know of any off the top of my head but you are far better using an installer generator rather than trying to write your own.
Just my 2c, -KM- |
|
#3
|
|||
|
|||
|
maybe but u dont learn from that..
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > noob problem, help very apreciated.. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|