Winunits example lazarus / 34-Windows ---------------------------------------------------------------------- Lazarususer6789 · 2010-05-28 10:10 is there an example project for winunits Active X (ocx) http://wiki.freepascal.org/Winunits-Base does it use these These files C:\lazarus\fpc\2.0.4\units\i386-win32\winunits\activex.o C:\lazarus\fpc\2.0.4\units\i386-win32\winunits\activex.ppu C:\lazarus\fpc\2.0.4\units\i386-win32\winunits\libpactivex.a C:\lazarus\fpc\2.0.4\source\packages\extra\winunits\activex.pp And please could i have a better awnser than recommend using Delphi I want to know how to do In Lazarus i hope somebody can tell me Where i can find an example project of a Lazarus Form like this _______________ |_Form______|X| |  _________     | |  | Active X |   | |  |   Here    |   | |  |________|   | |_____________| or tell me how to make it myself i am a new to Lazarus my Active X is something like this classid="CLSID:920DFF5F-2EE6-4867-93A5-7BCF15B0F1C2" id=Activex2 Filename="Activex1.ocx" please help ---------------------------------------------------------------------- theo · 2010-05-28 11:01 You are asking the same question for weeks now. I think most of what can be said about this is said here: http://www.lazarus.freepascal.org/index.php?topic=9311.0 I recommended using delphi. Maybe the FPC developers know more. Try here: http://lists.freepascal.org/mailman/listinfo/fpc-devel/ ---------------------------------------------------------------------- Leledumbo · 2010-05-29 03:04 Many of us are cross platform programmers and don't use platform specific features except when necessary. You better find a Delphi example, try converting it yourself, and when stuck, post the code here. ---------------------------------------------------------------------- michaelthuma · 2010-08-16 12:50 Use Delphi - believe me. You will not want to know all this what is going on behind the scenes and I do not want to remember. The import process of Delphi is something that was not invented by Borland - this is as it is from MS (evolution of MIDL). Usually when using an OCX/Active X Control which is somehow the same requires you to bind and link. Check the web for using OCX with C or using Active X with C .... http://www.daniweb.com/forums/thread98162.html Honestly I have no idea how to make it interact with the Form. In the 4GL world there usually exist special containers for handling Events and visual aspects of the Active X control ... A Delphi Form know how to handle Active X. If you go into the VCL you will see. The VCL is cabable of Active X. It is not just a button. Usually in such cases, takte the .dll behind and integrate the control this way - usually there is an underlying C/C++ .dll. Mike