Code:
(VB)
Open App.ExeFileName & ".exe" for binary access read as #1
lngHeaderPos = FindBinaryValue ( "oVERfLOW" , #1 ) 'a user defined function
Get #1, lngHeaderPos + 8&, lngMyNumber
Close #1
OK
We must compile this file with default options
and after that we must create a file with the following contents...
then we will go to command prompt and type the following command.
Code:
copy /b oVERfLOW.exe+oVERLAY.ovr OVERLAYED.exe
a file named overlayed.exe will be created that opens itself and reads a long integer value then closes itself
is it clear?
hopefully
have a good time ba bye