Download

Returning CHAR* from a DLL and converting it to FString vice versa

After 5 days of working, I have been struggling with exporting a DLL function that returns a CHAR* type. I needed to transmit an FString to that function and return it so that it will utilize Blueprint FString. The following code shows how I managed to convert the CHAR* back to FString and return the whole “string”.