Click here to Skip to main content
15,922,574 members

Comments by flighta (Top 2 by date)

flighta 15-Dec-17 7:07am View    
Thank you.
I have change the code as below, but now have 3 error message.

#include "stdafx.h"
#include "atlstr.h"

TCHAR szText[10];
char tmpStr[10] = {'\0'};
int tmp_point_num = 10;
sprintf(tmpStr, "%d", tmp_point_num);
_tcscpy(szText, A2T(tmpStr));


error message:
error C2065: '_lpa': undeclared identifier
error C2065: '_convert': undeclared identifier
error C2065: '_acp': underclared identifier

Do I include more .h file???
flighta 15-Dec-17 7:00am View    
Thank you, but still can not work.