[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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