Quote:
Originally Posted by TheDarkWraith
Run the app with admin rights. Ensure you didn't install your Granny Viewer or the app in the \Program Files or \Program Files (x86) folder. The error of failed to retrieve handle to blah blah is Windows imposing security restrictions on you.
I'm not using any outside DLLs with the app to avoid legal problems. I'll use a company's app against them (ala Granny Viewer) though as there are no legal ramifications against injecting code and hooks into a running process.
I can read the whole GR2 file now except for embedded images without using any DLL. Because I can read it I can also write it. I don't need to look at any DLL or RE any DLL to find out how to read a GR2 file anymore. I understand the structure/layout and how to manipulate it
There really is no need to recompress a GR2 file unless you are installing it on a tablet or handheld device where the harddrive space is small. You have to understand that a compressed GR2 file still has to be decompressed when loaded. The file is junk unless it's decompressed. This adds in the loading time of whatever app due to having to decompress x GR2 files. Being already decompressed speeds up the loading time  Compressing a GR2 file is just one way to 'hide' the information contained in it.
|
Thanks. I got the GrannyViewer going but when I tried to open the montezuma.gr2 I can see it/decompress it in grannyviewer but then when I go to your app I get the Unhandled Exception error.
The GR2 in question is with the the last link I posted.