This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, March 20, 2007 12:22:56 AM(UTC)
Groups: Registered
Posts: 2
Hi,
I am using Leadtools v15 to write an MFC app with Visual Studio 2005. One function I am using returns a CString value and I would like to convert that value to an L_TCHAR type.
The application is being compiled in Unicode.
Is there a way to convert an MFC CString data type to an L_TCHAR type.
Thanks
Mark
#2
Posted
:
Wednesday, March 21, 2007 9:02:59 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
The L_TCHAR is the same as a TCHAR, so there isn't anything special in LEADTOOLS that does this conversion. This would have to be done with just Microsoft functions for converting strings. Check out MSDN for how to do this.
#3
Posted
:
Friday, April 6, 2007 7:33:31 AM(UTC)
Groups: Registered
Posts: 3
Check out the method mbstowcs_s in your VS2005 Help.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.