C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 13th, 2004, 11:13 PM
c++newbie c++newbie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 c++newbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy noob problem, help very apreciated..

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 !

Reply With Quote
  #2  
Old July 14th, 2004, 03:51 AM
kode_monkey kode_monkey is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 367 kode_monkey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 21 sec
Reputation Power: 6
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-

Reply With Quote
  #3  
Old July 14th, 2004, 02:30 PM
c++newbie c++newbie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 c++newbie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
maybe but u dont learn from that..

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > noob problem, help very apreciated..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT