export method from DLL

From: Tomas Rutkauskas (tomasr_at_mail.lt)
Date: 11/29/03

  • Next message: John Herbster \(TeamB\): "Re: Key depressed when button is clicked"
    Date: Sat, 29 Nov 2003 22:29:01 +0200
    
    

    Hello,

    I would like to ask for some help.

    Some time ago I have created a program using Delphi3. Now I want to adapt it
    to Delphi7. The problem is that creating the program I have used VCL without
    source files and I can not install it into Delphi7.

    Actually I use only one function and one method (event) which returns the
    progress. I thought maybe I could add that VCL into DLL using D3 and use
    this DLL with D7. The function of the component exports successfully from
    DLL but how to export the Method (Event) of it?

    I have reviewed newsgroup and found Delphi genius Peter Below answer that
    Method can not be exported directly from DLL. He suggested to use interfaces
    for it.

    Maybe anyone has some demo how to do that? I am not very experienced with
    Interfaces.

    I would be very thankful for any help.

    Regards,

    Tomas


  • Next message: John Herbster \(TeamB\): "Re: Key depressed when button is clicked"
  • Quantcast