I would like to know a few things about packages that you can load yourself
with the function LoadPackage.

1) How can I call a function in a package?
2) Can I have multiple packages with the same function name?

Has anyone got any simple samples of doing this?, or am I better to use
DLL's?

I want to implement a feature like Photoshop plugins into my program, I
already have it working using DLL's but packages might be better if they can
do the same thing, but without the problems of DLL's. DLL's can not take a
reference from the main form and use the AS keyword successfully.

Example:

Iterate in the DLL through a form in the main program looking for the
MainMenu. If I go if (Component[pos] is TMainMenu it will always return
false in a DLL, I believe now that packages will fix this, but I know
nothing about loading them up and even calling the functions.

Has anyone ever done this?

If so do you have any simple sample code?

Chris

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to