I have researched so much to find, how to make a copy from an object in firemonkey, I need to make a copy from an object of a type TBluetoothLEDevice, because every time I free the object, I loss the bluetooth connection, so I’d like to copy this object in order to maintain the connection when I free the first object.
The object is not from TPersistent, so I can not use the assign method, I have tried to use the JSON/Marshalling example, but I got an error:
Internal: Type tkPointer is not currently supported
Is there a way to copy this object? Or some idea to point me a way?