[Lazarus] How to cast a Interface to a Object in Lazaeus
mailinglists at geldenhuys.co.uk
Fri Mar 13 15:21:34 CET 2015
On 2015-03-13 13:35, Dmitry Boyarintsev wrote:
> BUT, it would only work, if you're using COM interfaces (wont work corba).
Sorry, but that is a false statement. It works for both COM and CORBA
interfaces. Simply don't use the 'as' syntax - just cast it.
Attached is an example project showing both COM and CORBA works fine.
Simply toggle the DEFINE at the top of the code.
- Graeme -
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 897 bytes
Desc: not available
More information about the Lazarus