QString str("this is a test");
char buffer[1000];
memset(buffer,0,1000);
vsnprintf(buffer,1000-1,"%s",s);
the compiler tells:invalid conversion from 'const char*' to "char*'
In mfc, I can use CString itself or CString.GetBuffer() to do this.
Thanks a lot!
Bookmarks