Hello!
It's me again and now I have another question for one of you.
How can I combine 2 (or more) strings (like in VB: str1 = str2 & str3)?
I tried with + operator but I allways get an error: "error C2110: cannot add two pointers"
Here's the code:
Code:LPTSTR tcCurDir; GetCurrentDirectory(MAX_PATH, tcCurDir); cCurDir = tcCurDir + "\\bla.exe"; ShellExecute(NULL, "open", tcCurDir, NULL,NULL,SW_SHOWDEFAULT);




Reply With Quote