Posted at April 28, 2009 @ 6:16 pm by admin in C++, Education, Programming, Software, Uncategorized
found the answer on this forum:
http://www.xtremedotnettalk.com/showthread.php?t=71907
This is easy to figure out but you can also combine the 2 lines:
String * fname = “Whatever String”;
char* ufname = ( char * ) ( void * ) Marshal::StringToHGlobalAnsi(fname);
// do your stuff with ufname here
Marshal::FreeHGlobal((int)ufname);
Posted at April 28, 2009 @ 4:00 pm by admin in C++, Education, Programming, Software, Uncategorized
This is a very nice article, I found on for CString management. In fact it is an in depth , one place explanation for various unanswered String questions that you must have encountered in C++.
http://www.flounder.com/cstring.htm
Posted at April 28, 2009 @ 3:20 pm by admin in C++, Education, Programming, Software, Uncategorized
1) http://support.microsoft.com/default.aspx?scid=kb;EN-US;311259
2) http://www.codeguru.com/forum/archive/index.php/t-372096.html
2) http://www.codeguru.com/Cpp/Cpp/cpp_managed/moving/article.php/c8031/
Posted at February 6, 2009 @ 11:56 pm by admin in C++, Uncategorized
Here are some useful linkds…
http://www.codeproject.com/KB/mcpp/Forms_Managed_C___Forms.aspx