Useful C++ code snippet (ascii to unicode)

void ascii2unicode(LPCTSTR strin, wchar_t* strout)
{
int len = strlen(strin);
for(int i=0; i<len; i++)
strout[i]=(wchar_t)strin[i];
strout[i] = 0;
}

Comments

Popular posts from this blog

Clearcase check in/uncheck out all the checked out files script

MSSQL GROUP_CONCAT

Duplicating a local copy of project from TFS and making web software client factory to work