[DUG] call a method function from outside object

Ross Levis ross at stationplaylist.com
Mon Jul 11 19:58:38 NZST 2005


Kyley Harris wrote:
> I find it interesting that your 1..2..3 option would actually work.
Generally, when there is a single procedure callback, it is not a nested
type system, so the minute the second form is opened and you attach 
Open2, the link
to Open1 no longer exists, because it can only hold one method at a 
time....
unless there is something missing in what you are showing us.

I was disappointed to find this was the case when using the same DLL. 
I'm dealing with Winamp input plugins here so there are several DLL's to 
handle different types of files, all with the same structure, so they 
are interchangeable.  I tried it with 2 different DLL's and it worked 
fine, but the same DLL obviously doesn't.  I guess there is no way to 
force a second instance of the same DLL to load into 2 memory locations 
without perhaps making a 2nd copy of the file and changing it's name?

Regards,
Ross. 



More information about the Delphi mailing list