|
Hi Cedric,
where should I link it?
|
|
|
|
|
It looks like Xerces [^] library is missing in your project.
BTW: Why don't you ask directly the author (using the article's own thread)?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
How to draw dynamically buttons on a Control dialog bar on LEft side of the MainFrame.
Ex if i want to draw 10 buttons with respect to the Size of the CDialogBar in a mainframe.
Then it should exactly fit to the screen.
|
|
|
|
|
Don't "draw" them yourself. Simply create them dynamically using CreateWindow.
|
|
|
|
|
Hi all,
Say I have a byte stream, and I want to know it contains a standard string or a wstring. Is it possible in C++?
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
CodingLover wrote: and I want to know it contains a standard string or a wstring
I hope you mean wide characters(UNICODE) and multi byte characters. Try the IsTextUnicode() function.
|
|
|
|
|
Naveen wrote: I hope you mean wide characters(UNICODE) and multi byte characters
Yes, that's what I'm looking for.
Naveen wrote: Try the IsTextUnicode() function.
Ok, I'll try it and let you know.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
|
Thanks Rajesh, for the link and tip.
How ever I doubt if we test only IS_TEXT_UNICODE_ASCII16 or IS_TEXT_UNICODE_REVERSE_ASCII16 using this function, it will work fine. isn't it?
|
|
|
|
|
Naveen wrote: How ever I doubt if we test only IS_TEXT_UNICODE_ASCII16 or IS_TEXT_UNICODE_REVERSE_ASCII16 using this function, it will work fine. isn't it?
It should, but I do not know it for sure. As Kaplan says, we cannot expect something that was built ages ago to work flawlessly with a dynamic standard.
|
|
|
|
|
So what is your suggestion pal. At the time IsTextUnicode is working fine.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
I don't have an alternative suggestion at the moment, my post was merely a hint to make you aware of the downsides of it. I am not sure if any substantial amount of efforts were put in lately to make the discussed API more reliable. I'm glad it worked fine for you.
|
|
|
|
|
Hi,
We are making changes in our application. Instead of writing in ini we writing in a local file. So we wrote a wrapper for GetProfileInt and GetProfileString.
But this piece of code is giving error.
bAllowDeleteSystemVars =
WWGetProfileInt("test",
"test123"
NULL);
where bAllowDeleteSystemVars is a BOOL variable. I am getting the following error
error C2120: 'void' illegal with all types
Regards
|
|
|
|
|
subramanyeswari wrote: error C2120: 'void' illegal with all types
Does WWGetProfileInt() returns a value???
|
|
|
|
|
yes, the prototype is this
UINT wwGetProfileInt(LPCTSTR lpAppName, LPCTSTR lpKeyName, INT nDefault)
|
|
|
|
|
Yet your previous code showed WWGetProfileInt() . Which is it?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Because you are missing a comma after "test123"?
|
|
|
|
|
it's a typo. comma is there
|
|
|
|
|
If you remove the bAllowDeleteSystemVars = , does the error persist?
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
HI all,
Please any one can tell me how can create a key in the registry editor.
Thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
This article should help
Regards,
--Perspx
"When programming in Visual Basic, you can always know whether a given program will become stuck in a loop and never halt. The answer is 'yes'." - Uncyclopedia
|
|
|
|
|
Its really helps me.
Thanks alot.
Please tell me one thing how can add/Modify date in registry.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Just double-click the key/value you wish to edit. The registry editor (regedit) is not that difficult.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I want to edit it by coding.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Use the registry API.
"Love people and use things, not love things and use people." - Unknown
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|