Thanks again, another problem came up though. The character has reinterpret_cast<char*> in front of it and then the address of the vector element. The reinterpret_cast should to my opininon put the char in correct format, but it wont come out right
Knowing how Windows was last shut down is helpful?
Indeed it is helpful :
User A pressed 'Restart' on the 'Shutdown Windows ' dialog. My application recieves WM_QUERYENDSESSION message and I return false (means I am temorarily delaying the shutdown) , but WM_QUERYENDSESSION never lets me differentiate between a 'Shutdown' & 'Restart'. Now, in this time after my application has completed its work it wants to continue with the operation that user chose then this registry value is one thing that lets me know whether the user tried 'Shutdown' or 'Restart', thus accordingly I can perform his desired operation .
Kushagra I hate coding but I luv to Develop
Well, the comma character is used as argument separator in many contexts (for instance in command line when running an application).
I would say it is not wise naming a folder that way. If you really need to deal with it then good luck.
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