Article View: alt.msdos.programmer
Article #1196Re: Writing to a file??
From: n5371200
Date: Fri, 15 Mar 1996 15:22
Date: Fri, 15 Mar 1996 15:22
20 lines
1321 bytes
1321 bytes
In article <4huop2$fif@sam.inforamp.net>, omega@inforamp.net (Erno Csanyi) says: > >Hey, everyone! > >I was wondering if there is any way to write data to an EXE file (or COM, >preferably EXE) and still have the file work. You know, like for copy >protection and all. I AM NOT WRITING A VIRUS, for all you concerned people. So >if you do know how, or if there is a FAQ, a program, or other type of >resource, please tell me. TIA (Thanx In Advance) :) > >- omega@inforamp.net Yes, this is possible as long as you make sure you write code and data to the correct spaces in the file. If you are going to change any code in an already compiled file, I would suggest you use Borland's Turbo Debugger to find out where the code should be inserted, and write down the hex codes for the code you want to insert. Then you can use any disk editor to change the code you want to modify. Dan
Technical Details
Message-ID:
<4ic205$e8b@whitbeck.ncl.ac.uk>Path:
arc1-ca.pugleaf.net!news.ncl.ac.uk!usenetReferences:
<4huop2$fif@sam.inforamp.net>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.ncl.ac.uk!usenet From: n5371200 <Daniel.Vedoy@ncl.ac.uk> Newsgroups: alt.msdos.programmer,comp.lang.c,comp.os.msdos.programmer,comp.programming Subject: Re: Writing to a file?? Date: 15 Mar 1996 15:22:45 GMT Organization: Newcastle University Message-ID: <4ic205$e8b@whitbeck.ncl.ac.uk> References: <4huop2$fif@sam.inforamp.net> NNTP-Posting-Host: moss19.ncl.ac.uk X-Newsreader: WinVN 0.92.5