Delphi-Firemonkey
I may be interested. Just got my leap yesterday. I have D1-XE4.
--Greg
Slightly off topic, but have you managed to use the current SDK with fire monkey for either Windows or OSX? All I'm getting is unresolved externals when linking.
Sorry my time is very limited at the moment as I am busy preparing a genetics paper but will help ASAP
It may be better to wait for Leap to support Delphi in the SDK.
Otherwise you would need to adjust your own translation every time a new version of the SDK would be provided.
If you want to be up and running to try it in Delphi quickly:
I took the sample program , moved the business logic to a thread and turned it into a DLL.
Also added an entry for a callback function that uses a pointer to a structure and an identifier for the structure type as arguments.
Where the sample program displays data to std::cout I replaced this to filling the appropriate structure and pass this to the callback function.
Then from Delphi I load this DLL dynamically and pass the address of my own function for processing the datastructure to the callback.
This way you can encapsulate a lot of functionality in C++ and pick the cherries without need to translate the whole SDK.
It also does not take too much knowledge of C++.