Am 07.02.2011 15:16, schrieb Andrew Brunner:
Does anyone have any BESEN examples that integrated actual FPC units?
It seems like all the samle js units are self contained with no
interface to system or GUI units.

I haven't looked at the source in general and I also haven't tested it yet, but take a look at TBESEN.RegisterNativeObject in BESEN.pas and TBESENNativeObject in BESENNativeObject.pas. TBESENNativeObject utilizes RTTI, so this seems to be the way to access native code. You might need to inherit from that class and provide published methods/properties for the native code you want to use.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to