Re: export method from DLL
From: Sven Pran (no.direct_at_mail.please)
Date: 11/30/03
- Next message: Benson Wong: "Re: Ttimer problem"
- Previous message: Mark: "Re: How do i turn off the PC with a delphi program?"
- In reply to: Tomas Rutkauskas: "export method from DLL"
- Next in thread: Tomas Rutkauskas: "Re: export method from DLL"
- Reply: Tomas Rutkauskas: "Re: export method from DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 03:05:33 +0100
"Tomas Rutkauskas" wrote
> 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.
My initial reaction is why do you not rebuild your DLL as well under D7?
But anyway, if you look up the following two references on my home page
(mainly in Norwegian, but the two references are in English) I think they
will give you what you ask for:
http://home.online.no/~svenpran/Dealerdll.htm (DLL documentation)
http://home.online.no/~svenpran/DealerI.pas (Interface)
regards Sven
- Next message: Benson Wong: "Re: Ttimer problem"
- Previous message: Mark: "Re: How do i turn off the PC with a delphi program?"
- In reply to: Tomas Rutkauskas: "export method from DLL"
- Next in thread: Tomas Rutkauskas: "Re: export method from DLL"
- Reply: Tomas Rutkauskas: "Re: export method from DLL"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|