error LNK2001: unresolved external symbol "char * __cdecl strcpy(char *,char *)" (?strcpy@@YAPADPAD0@Z)
카테고리 없음 / 2016. 8. 26. 23:30
error LNK2001: unresolved external symbol "char * __cdecl strcpy(char *,char *)" (?strcpy@@YAPADPAD0@Z)
원형
char *strcpy( char *strDestination, const char *strSource );
문제의 코드
xxx::SetClipText(LPSTR text)
{
...
strcpy(pMem,(const char *)text);//<<--- (const char *)추가
...
}