problem opening executable file while inside executable
Posted on 2002-04-17
Inside a given a program c:\program.exe, I have the following code:
filebuf *fb=new filebuf;
int mode=ios::binary | ios::in | ios::nocreate;
and this test always fails
Is the operating system blocking me on this? Is there some way to copy the executable to another file and open that?