| View previous topic :: View next topic |
| Author |
Message |
The Numb3r Newbie cheater
Reputation: 0
Joined: 14 Jul 2007 Posts: 12
|
|
| Back to top |
|
 |
ColdDoT Grandmaster Cheater
Reputation: 0
Joined: 18 May 2006 Posts: 703 Location: The netherlands
|
Posted: Mon Aug 13, 2007 4:36 am Post subject: |
|
|
Nice ??
U can also just use this if u have delphi
_________________
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Mon Aug 13, 2007 7:06 am Post subject: |
|
|
| ColdDoT wrote: | Nice ??
U can also just use this if u have delphi
|
look what he does in his 'functiondll.dll'
| Code: |
procedure Compile;
var
Bat: TextFile;
dir, rc: String;
begin
If FileExists('TempCompile.bat') then //Check if TempCompile.bat already exists
DeleteFile('TempCompile.bat'); //If exists, then delete
WriteLn('Hints & Tips:'); //Hints & Tips...
WriteLn(''); //Empty line
WriteLn('If your file is in same directory with ResCompiler,'); //Hint
WriteLn('you can leave Directory path empty.'); //Hint
WriteLn(''); //Empty line
AssignFile(bat, 'TempCompile.bat'); //Create TempCompile.bat
ReWrite(bat); //Open Access to file
WriteLn('Please type directory of your .rc file (eg. C:\WINDOWS):'); //Show "help" message
Write('Directory: '); //Just for something
ReadLn(dir); //Directory name
WriteLn(bat, '@echo off'); //Turn echo off in TempCompile.bat
If Dir<>'' then
WriteLn(bat, 'cd '+dir); //Write Directory to TempCompile.bat
WriteLn(''); //Empty line
WriteLn('Please type the name of your .rc file (eg. Test.rc):'); //Again "help" message
Write('.RC File Name: '); //Just for something
ReadLn(rc); //.RC file name
WriteLn(bat, 'brcc32 '+rc); //Write .RC File name to TempCompile.bat
CloseFile(bat); //Close Access to file
ShellExecute(0,'OPEN',PChar('TempCompile.bat'),Nil,Nil,0); //Execute TempCompile.bat
DeleteFile('TempCompile.bat'); //Delete TempCompile.bat
WriteLn('Done!'); //Tell that compiling is done
Sleep(1000); //Wait 1 Second until exit
end;
|
|
|
| Back to top |
|
 |
ColdDoT Grandmaster Cheater
Reputation: 0
Joined: 18 May 2006 Posts: 703 Location: The netherlands
|
Posted: Mon Aug 13, 2007 7:15 am Post subject: |
|
|
.........
LoL(did not looked at his source )
_________________
|
|
| Back to top |
|
 |
|