Vishva wrote: > Dear C-Progs, > I'm confused with converting > LPCTSTR to char and char to LPCTSTR in Visual Studio 2005.. (C++) > Please tell me how to do this.. > Regards > Vish
LPCTSTR - (Large) Pointer to Const Unicode/ANSI (T) STRing Depends on your compilation type (Unicode/ANSI) as to how you actually convert. Since you are running into problems, it is likely that you are compiling with Unicode enabled but attempting to pass it (whatever it is) a plain-ol' char string. You need to show us source code and the error message you are encountering. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
