I needed a very light-weight XML parser in MFC. The reason for this is, my application (this is an MFC based application using Visual Studio 6.0 ) needs to work fine on Win 98, ME, 2k, and XP. And I donot want to use the DOM Parser that would require any additional dlls to be install.
Please help get the source code for the simple parser in MFC, or plain C++ that would on all the said OS's without any additional dlls.
Any help or comments or tips would be highly appreciated.
MSXML comes with Internet Explorer (which is required to be installed with Windows in every OS since Win98). It has both a DOM and SAX parser.
TinyXML implements as little of the DOM standard as possible to make a decent parser. You might call it DOM-lite, but it is still, technically, a DOM parser. The nice thing about it is that you can compile it into your application.
Xerces is another opensource parser that supports the full DOM and SAX standards, but since you don't want to install a DLL, this probably isn't the route you want to go.
Since your OS restriction is limited to the Windows family, your best bet is to use either TinyXML or MSXML. MSXML offers all the features you would ever need and then some, and is guaranteed to be installed on all the given OS's (just make sure you bind to an older version).
If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week
I'm not sure whether this is the right place to post this type of question. but I could not found any other message boards to do the same.
My question is related to Install Shield. as off many projects putting a secret key for their future reference, once they installed the program. This will not be deleted on UnInstalling the program.
such type of behavior im expecting. I'm not familiar with Install Sheild.
The Key is creating on the installation. How we could exclude this from deleting on UnInstallation?
I believe that if you create the key via the scripting mechanism, you could simply not delete it on uninstallation. If the key is created by the registry view in the InstallShield GUI then it is by default deleted on uninstall. You can change that behavior but you would have to look it up for your version of installshield.
I wanna display Korean characters in my application's UI.
I have done the following.
1. Defined _UNICODE in Preprocessor definitions (C++ Tab) in settings of the project
2. Added the entry point symbol wWinMainCRTStartup in the Link Tab.
3. Changed the codepage in the rc file.
4. I added the korean charachters in the String table in the script file.
5. I used the LoadString(IDS_TITLE) to get the korean characters from the resource string table.
But the characters are not displayed in the UI. Am I missing anything else?
Could anyone help me.
Make sure that resource file was saved with correct unicode encoding. Because of VC++ 6 did not support editting unicode text in its IDE, you may have to open resource script file in an external unicode-based editor to create string resource and save it in unicode format.
Try VS.NET 2005 Express, it is free version all fully supporting Unicode.
I am installing hook on Internet Explorer window, by using
SetWindowsHookEx(WH_GETMESSAGE, GetMsgProc, (HINSTANCE)g_hInstance, dwThreadID);
Where 'dwThreadID' is of IE. Then in the hook proc(GetMsgProc), I load another "MFC dll", by using LoadLibrary(). This "MFC dll" sinks events of IE using AfxConnectionUnadvise.
When I am done, I try to free this "MFC dll" module by using FreeLibrary()... It frees the library successfully, but after freeing the library IE crashes.
Does anyone have idea why it could crash IE?
Any help would be kindly appreciated...