I have just done the same thing.
Are yuo still having the problem. I tried plugging that code in and it seemed to have worked fine. Looking in the memory window in debug mode it keeps it in memory as:
h.e.l.l.o...
I have been doing the same thing but I don't seem to have a problem. The only difference I can see between what you have done and what I have done is defined _UNICODE in the the Project->Settings->C\C++ ->Preprocesor definitions as apposed to the resources tab. Also whenever I want to define a...
try defining "m_uiVariable" like this globally in your program.
extern <type> m_uiVariable
If Visual C++ created the variable for you. comment out that declaration of the variable and do yourself in this format globablly. I didn't have the same exact problem but I had something...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.