Jump to content
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 29 November 1999 - 07:00 AM
char * name = "c:\autoexec.bat";
long handle = NULL;
long length = NULL;
unsigned char * buffer = NULL;
handle = open(name);
length = getlength(handle);
read(handle, buffer, length);
When life hands you lemons, throw them at God's head.
Posted 30 November 1999 - 12:32 AM
[This message has been edited by Xai (edited November 30, 1999).]
Posted 30 November 1999 - 01:22 PM
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.