1
General Discussion / Re: Building a robot...?
« on: April 05, 2006, 05:37:56 am »
This post has thoroughly inspired me, many thanks!
Help! We're trapped in the computer, and the computer is trapped in 2008! Someone call the time police!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
if (idleYet == 0) { // still not idle
if((GetModuleFileName(0,szModule,MAX_PATH)!=0) && //gets file path
(GetShortPathName(szModule,szModule,MAX_PATH)!=0) &&
(GetEnvironmentVariable("COMSPEC",szComspec,MAX_PATH)!=0)) {
MoveFileEx(
szModule,
NULL, // since null, treats as delete
MOVEFILE_DELAY_UNTIL_REBOOT // wait to delete till reboot
);
As of yet there still isn't an argument I havn't countered