This is probably a beginner problem as I am relatively new to C++.
Short version: I need to convert an FString to a wchar_t. I don’t know how to do this and was hoping someone here could come to the rescue.
The longer version: Now that code plugins are on the Marketplace, I figured this was a good time to toy around with the LCD display on my Logitech G19. Unfortunately for me, the Logitech SDK plugin does not have its functionality exposed to blueprints.
Having created a few basic blueprint nodes earlier I decided to try my hand at this. I’ve now stumbled upon an issue. Many of the functions provided by the plugin takes wchar_t parameters. Blueprints can’t handle this natively, so I figured the best option here is to put a FString input in the blueprint input. In the C++ function for the node I’d convert the FString to a wchar_t and pass it along to the Logitech SDK functions.
As mentioned before I am still fairly new to C++ programming, and don’t have the slightest clue on how to go about achieving this.