Reputation: 11
Can anybody please let me know how to do the above said conversion As RegSetValueEx requires const BYTE *lpData for the path To get Present Directory I Use GetCurrentDirectory() ,where the Output is of the type String
Upvotes: 0
Views: 278
Reputation: 3684
If you already use .NET (C++/CLI) then please also use the managed classes for accessing the registry!
Be aware:
Please use always C++/CLI:
If it was not intended to use C++/CLI, then please switch it off in your project settings (General: Common language runtime suppoer: No Common Language Runtime Support"
Upvotes: 1