1>c:\users\arnoldas\documents\visual studio 2008\projects\ftp\ftp\ftp.h(35) : error C2665: 'strcpy_s' : none of the 2 overloads could convert all the argument types
1> d:\yrasyta\programos\visual studio\vc\include\string.h(73): could be 'errno_t strcpy_s<100>(char (&)[100],const char *)'
1> while trying to match the argument list '(char [100], const char)'
1>c:\users\arnoldas\documents\visual studio 2008\projects\ftp\ftp\ftp.h(36) : error C2665: 'strcpy_s' : none of the 2 overloads could convert all the argument types
1> d:\yrasyta\programos\visual studio\vc\include\string.h(73): could be 'errno_t strcpy_s<70>(char (&)[70],const char *)'
1> while trying to match the argument list '(char [70], const char)'
1>c:\users\arnoldas\documents\visual studio 2008\projects\ftp\ftp\ftp.h(37) : error C2665: 'strcpy_s' : none of the 2 overloads could convert all the argument types
1> d:\yrasyta\programos\visual studio\vc\include\string.h(73): could be 'errno_t strcpy_s<70>(char (&)[70],const char *)'
1> while trying to match the argument list '(char [70], const char)'
Even if I use like that: strcpy_s ( &ServerName, &server );