Recent

Author Topic: ActiveX and external application  (Read 3784 times)

korsaro

  • Newbie
  • Posts: 2
ActiveX and external application
« on: September 06, 2015, 03:11:05 pm »
Hello to everyone,
I'm a new user of this forum. My name is Fabio and I'm writing from Italy.

My question is following:
I've installed an application that in its guide says it have an API Library. "API is ActiveX based and can be accessed from any programming/scripting language that supports ActiveX,by instantiating the API's core object ("NameClient.clientAPI") in an application" .

I want to make an application who can be able to use this external application's API.
I've installed activeX package in lazarus, but now I don't know how can I use it in order to run the API of the external application.

Someone is able to help me?
Many thanks in advance


derek.john.evans

  • Guest
Re: ActiveX and external application
« Reply #1 on: September 06, 2015, 03:23:03 pm »
Aftering installing LazActiveX, you should have a new menu item in Lazarus:

Tools->Import Type Library ...

I use that with the option "Create visual component (TActiveXContainer descendant)" selected.

The tool creates a control unit which you can then include in your project. I create the ActiveX controls dynamically.

http://wiki.lazarus.freepascal.org/LazActiveX
« Last Edit: September 06, 2015, 03:29:34 pm by Geepster »

korsaro

  • Newbie
  • Posts: 2
Re: ActiveX and external application
« Reply #2 on: September 06, 2015, 04:17:39 pm »
Thanks a lot!

 

TinyPortal © 2005-2018