[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 285
  • Last Modified:

Problem Using ActiveX DLL

i have a \windows\system\wavelinkole.dll file that i want to use in delphi3. i have the appropriate wavelinkole.tlb file and as well the wavwlinkole_tlb.pas file. Now how do i
declare in my program the use of this DLL? it´s only
enouth the .PAS file ? should i create a new object?
please Advise.
Thanks.
Paulo.
0
pcl110598
Asked:
pcl110598
  • 3
  • 2
1 Solution
 
pcl110598Author Commented:
Edited text of question
0
 
pcl110598Author Commented:
Adjusted points to 100
0
 
dwwangCommented:
The .Pas file is enough, of course with the .dll itself.
and you can find the class declared in the .pas file. Normally it's the same name as the documents described.

For example, if the class name is MyClass (which you might know frm VB), you can just declare an variable as myobj:MyClass, then myobj:=MyClass.create;

For further information, you can e-mail the tlb source to me and we can discuss more.
0
 
pcl110598Author Commented:
i'm happy with the answer and
i'll provide the files so you
can take a better look.

Thanks
0
 
dwwangCommented:
Well, my e-mail is dw-wang@263.net
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now