|
The problem is how to translate a virtual-key into an Ascii or Unicode value, not where to do that.
Please direct me to the right way on translating a virtual-key into it's equivalent in Ascii or Unicode!
Thank you masters!
|
|
|
|
|
Jusef Marzbany wrote: The problem is how to translate a virtual-key into an Ascii or Unicode value, not where to do that.
Trust me, you don't want to put this stuff up into an executable. What about modularity? What happens when your executable is not having the focus?
Jusef Marzbany wrote: Please direct me to the right way on translating a virtual-key into it's equivalent in Ascii or Unicode!
Check out ToAsciiEx[^].
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Hi!
When I run my VC++ Program, it crashes and displys "Unhandled Exception in mt.exe". It's a repost only. Sorry. I'm fighting with this exception too frequently. The previous reply was to reinstall VC++. I've done that also. The problem was quite for a week. Then it occurs occasionally. My previous post is in this link:
http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=2709734[^]
How to resolve this exception?
|
|
|
|
|
Did you check your system for viruses?(error is c101008d)?
|
|
|
|
|
I've installed AVG8.0 Free Edition and do scans periodically. There is no threats found. What else should I do?
|
|
|
|
|
T.RATHA KRISHNAN wrote: Sorry. I'm fighting with this exception too frequently.
Is this issue happening only for some specific project or for all projects?
Regards,
Rane
|
|
|
|
|
Hi All
I need to do program for XML reading and writing.I searched in NET but no budy mention clearly.I done one program but thats reading char by char.I need to read full file and then write.Please give me link or if possible code.
Thanx in Advance
Mohan.T
Mohan t working for S/W Company
|
|
|
|
|
|
Try this out[^]
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
I used tinyXML[^] before. It's a nice little library and quite easy to use.
|
|
|
|
|
Display text with some color in CProgressCtrl VC6,
|
|
|
|
|
|
Here is an example.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi,
How can I change the name of existing registry key?
|
|
|
|
|
MPTP wrote: How can I change the name of existing registry key?
By writing a program?
On a serious note, see CRegKey[^] and Registry Functions[^]
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
Which function is to be used?
|
|
|
|
|
For start see CRegKey::Open.
|
|
|
|
|
Rajesh R Subramanian wrote: On a serious note, see CRegKey[^] and Registry Functions[^]
Are you being facetious?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Why, yes. That was best reply I could give to a lazy person like him.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
|
This is wrapper class but I want a simple win32 API to change the key name
|
|
|
|
|
ASAIK, there is no rename function. You have to delete the existing key and add new one...
|
|
|
|
|
The key also have many subkeys So it is not possible for me to do so, Is there any alternate to rename the same key without deleting.
|
|
|
|
|
Use RegCopyTree to copy the whole registry tree (Key & its Subkeys) to a dummy key and then delete the original tree.Then try creating a new Key(using RegCreateKeyEx ) with "New Name" and add the whole subtree to the "New Name" Key.
Regards,
Rane
|
|
|
|
|
MPTP wrote: The key also have many subkeys So it is not possible for me to do so...
It's certainly possible. You just have to be willing to put forth effort to do it.
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|