Results 1 to 3 of 3

Thread: ocx / activex problem

  1. #1

    ocx / activex problem

    How do i use an ocx control such as a custom button in Free pascal
    I know it can be done in Delphi
    but i am not sure about Free pascal
    and will it work the same in Free pascal and Delphi

  2. #2
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,869
    Rep Power
    404
    Here they talk about the problem and why it is not worth the hassles.

    http://www.lazarus.freepascal.org/in...p?topic=9311.0

  3. #3
    there seems to be a couple of unsolved posts about ocx on that fourum
    and also it says there are files that are distributed with Lazarus which appear to be for useing ocx activex.o,activex.ppu,libpactivex.a & activex.pp
    even wikipedia has some ocx mentioned
    http://en.wikipedia.org/wiki/Free_Pascal
    "The 2.2.x series vastly improve the ActiveX/COM, interface, and OLE support"
    "Aside from the language support, the library support for ActiveX was also improved."

    surely somebody has got it working
    in some sort of top secret ocx project maybe


    not worth the hassle?
    that page says
    Personally I think that ActiveX is a nice technology and in the spirit of RAD. Just an example from the real life:

    Few weeks ago I've received a scales (I do not know if it's a correct english word - by "scales" I mean device to measure weight) which I need to program. Each measurment needed to be store in database. Without an ActiveX control which provides me GUI and events out of the box I would have to write own wrapper for the dll, own GUI and I would need to test it. How long would it take? For me few hours probably. How long it took me with already premade control? Few mintes - it was trivial.

Similar Threads

  1. Replies: 12
    Last Post: 13-06-2009, 22:00
  2. calling activex dll
    By zak in forum General
    Replies: 7
    Last Post: 06-12-2008, 16:56

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •