Forum > Windows

How do i use Winunits with active x

(1/1)

Lazarususer6789:
As you may or may not know i have been asking questions about active x and Lazarus because i am new to Lazarus and i wanted to know how to use active x
I went on Lazarus Wiki http://wiki.lazarus.freepascal.org/Winunits-Base

I found 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

How do i use them to put an activex in my form
like the one in this SevenZip file
http://ff24eva.0adz.com/vbp.7z
classid="CLSID:920DFF5F-2EE6-4867-93A5-7BCF15B0F1C2"
id=Activex2
Filename="Activex1.ocx"
How do i use these
do i have to import them into my project
if so how
I want to make something like this
_______________
|_Form______|X|
|  _________     |
|  | Active X |   |
|  |   Here    |   |
|  |________|   |
|_____________|

theo:
I'd recommend using Delphi for this.
Delphi is better for windows-specific stuff, Lazarus is better for cross-platform.

Lazarususer6789:

--- Quote ---I'd recommend using Delphi for this.

--- End quote ---
Nah Lazarus updates are free and its almost the same product
and its better than Delphi in my opinion
and i am asking about win units
on LAZARUS.freepascal.org

Lazarususer6789:
anyway how do i use Winunits

Lazarususer6789:
._________________________
|______________________|X|
|                ____________ _ |
|Activex ocx|___________|...|
|         _________________   |
|CLSID|________________|   |
|         _________________   |
|CTL ID|________________|  |
|             ______________ __|
|PAS FILE |_____________|...|
|             ______________ __|
|LPI FILE  |_____________|...|
|             ______________ __|
|LPR FILE  |_____________|...|
|             ______________ __|
|LFM FILE |_____________|...|
|    ___________________     |
|   |                             |     |
|   |   INSERT ACTIVE X   |     |
|   |                             |     |
|   |__________________|     |
|_________________________|

Navigation

[0] Message Index

Go to full version