marshall c++ char*

  1. U

    marshall c++ char* to a vb.net string BYREF

    hello, the scenario - i have a native c++ dll that creates and initializes a string, which is a char array. char pRet[1024]; memset(pRet, 0, 1024); strcpy(pRet, "change me!"); the c++ dll then fires a callback function, and the callback function must change the value of the string. however...
Top Bottom