26 Feb 2010
Updated: 28 Mar 2010
Rating: 4.25/5
Votes: 6
Popularity: 3.31
Licence: CPOL
Views: 17,171
Bookmarked: 4
Downloaded: 0
If you want to export strings in C++ to VB.NET, build your function like this:BSTR __stdcall expfun(void){ char* cp_test = "Hi World!"; CString cs_test; cs_test.AppendFormat(L"%s", cp_test); return cs_test.AllocSysString();}and in VB.NET:Imports...
|