I want to extract a zipped file which is stored in Oracle DB table as HUGEBLOB. I want to modify that one and put it back. The file extension is .xml.gz. I want to bring this .xml.gz file using my application based on MFC.
Can any body give me any suggestion/help on how to get the file? I dont want to get te data into any buffer. I want to get the physical zipped file.
Found this article
<ahref="http: www.codeproject.com="" useritems="" codecave.asp#introduction0"="">http://www.codeproject.com/useritems/codecave.asp#Introduction0[^]
Which had me very excited because I thought it was the answer to my problem.
But soon I realized I just dont have the skill to implement it.
I am lookin (Praying) for someone to take pity on me and show me how to do it or do it for me (PLEASE).
Here are the details (Sry its lenghty).
I co-own a gaming Halo clan.
We operate 16 dedicated online servers.
When naming the servers we are permited 64 spaces.
Thru time people have found that by using Alt Codes in the game name they can move to the top of the online listing as it precedes the alpha numerical listing.
Now some people have found a way to circumvent that as well. By deleteinfg the naming of the server in the .ini file the games .exe file defaults to a generic "HALO" nameing. Then by hex editing that loacation they can rename the server.
The problem in this method is that we are now limited to onlt 26 spaces for naming. I need more. The names and descriptions of our serves are about 40 spaces.
I have been able to identify the starting and ending byte of the location in the .exe file. There is alos plenty of unused space in the program. I was hoping to add a call and return to one of those locations so I can store the longer name.
won't someone please help me?
-- modified at 10:40 Wednesday 5th September, 2007
I included Window Mouse Hook in my app, when compiled I get this:
"error C2065: 'WH_MOUSE_LL' : undeclared identifier"
??? g_hMouseHook = SetWindowsHookEx(WH_MOUSE_LL,MouseProc,GetModuleHandle(NULL),0);
Global variables can be used within any function from anywhere within your code, local variables can only be used within scope that they were created ( usualy a single function ). It's good practice and reduces many bugs if you initialize all your variables when you create them, regardless of what the books tell you.
In a debug build, variables are initialized, but you will find that within a release build, they are not. This is one of the main reasons why people complain that their release build doesn't work. Take the following example:
bool bIsEqual;<br />
if ( ... )<br />
bIsEqual = true;<br />
if ( bIsEqual ) // Is this true or false? in debug it was initialized to false<br />
why global variables are initialized to zero whereas local variables are not...
During the CRT initialization routine ( wWinMainCRTStartup function ), there is special code for intializing the c objects and c++ objects. You can find a function called _initterm() called from the wWinMainCRTStartup. That function does all this.