Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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".

    Click image for larger version

Name:	holy.png
Views:	50
Size:	267.5 KB
ID:	1739672
Working...
X