Hi,
I am programming a bluetooth low engergy plugin right now. I already got a hard programmed connection to my heart rate monitor working, but now I want to make it more flexible.
For some reason I get a compile error, when I have a function that returns a HANDLE.
my .h file:
UFUNCTION(BlueprintCallable, meta = (DisplayName = "Return handle", Keywords = "BLE handle"), Category = "Bluetooth LE")
static HANDLE returnHandle();
my .cpp file:
HANDLE UBLEBPLibrary::returnHandle()
{
HANDLE test = NULL;
return test;
}
When compiling Visual Studio throws the following error:
OtherCompilationError (5)
This doesn’t help me in any way. Any Ideas?
Thanks for your Help!