Menu

#2 Language compatability

open
nobody
None
5
2004-07-06
2004-07-06
Anonymous
No

I'm trying to implement an IceFire 2.2 Shelf Addon
using the ObjectPascal/Delphi language.

The problem is that 'Begin' is a reserved word in
pascal, so I can't implement the MShelfAddon Interface
properly.

Perhaps there could be an alternative name such as
'Begin_', or something else that isn't reserved?

I've seen some others too, like in melon.tlb there are
some symbols (properties, I believe) named 'Type',
which is also a reserved word.

In my opinion, it would be very nice to be able to
create addons and/or plugins using Delphi. The melon
sdk docs states that it should be easy if you know COM
(well I don't, really, but I think that maybe I'm
learning).

Maybe I'm missing something? Are the methods indexed
such as "normal" exported functions can be (so that I
can use another name for it, and it still gets called)?

Still, melon seems to be a fine library! I confess I'm
not really a plugin author, but still; I guess it's
easy, with using interfaces and all, when you know what
you're doing. ;)

Anyway, keep up the good work!

Regards,
Zakath

Discussion