|
-
April 19th, 2003, 09:02 AM
#1
Fastest way to do this
I posted this in another part of this board and didn't get a response, maybe here I will.
Ok, so today I've been working on an executable dropper source code generator, and I ran into some problems. Well when I load the files I have to store the file data into a character array. I've gotten this part to work, so i can print to the output src file the following:
unsigned char File1[6] = { 0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00 }
Now my question is, what is the fastest way to go about loading a file and then generating a string like the above? because going byte by byte in the file is actually rather slow if its a a 65kb file. Maybe someone can direct me in the right direction please?
be happy that your Windows crashed; it gives your computer a rest
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|