Quote:
|
I don't give a crap if the Pope anointed it, you can't return it from a function defined as returning a void.
|
I intially had the function classified as LPSTR and had the temp variable initialized as a LPSTR, but it didnt work with wsprintf so I removed it.
An overview: I am trying to make a function that will edit and return a TCHAR. I cant get this to work.
Alternatively: Why wont a LPTSTR work in wsprintf? As in this:
LPTSTR string;
wsprintf(string, "%hS","Research Lab");
That doesnt work for some reason.
Jeff