You can't pass class references to DLL's. That is a limitation. You have to use packages for full interoperability. This means compiling with the runtime packages option. That means your product has to make sure all packages needed (including Borland's) are on the users system.
  
  Dave

[EMAIL PROTECTED] wrote:
  All of my attempts to do a GUI plugin with Delphi have failed so I am asking
your help.

I have a main EXE that has a form. There is an area on this form that is
reserved for plugins. The plugins are DLLs written in delphi also. The DLLs
export an API that returns a Class Reference (class of TSomeClass). The EXE
locates the plugins, calls LoadLibrary and then GetProcAddress to get the
exported API. The EXE then calls the class references Create function with
the local form to be the owner, and a local control to be the parent. The
DLLs Objects create function creates controls and places them on the "Parent"
passed in.


All goes well except the controls donot appear on the EXEs form.

Note: ShareMem is the first unit in the uses clause of both the EXE and the
DLL.


If someone can help me fix this problem, I will publish the framework for
everyone else to use.



Thanks
Doug


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]



  SPONSORED LINKS
        C programming language   Computer programming languages   Java programming language     The c programming language   C programming language   Concept of programming language
   
---------------------------------
  YAHOO! GROUPS LINKS

   
    Visit your group "delphi-en" on the web.
   
    To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

   
---------------------------------
 



           
---------------------------------
Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.

[Non-text portions of this message have been removed]



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to