Recent

Author Topic: How do i use Winunits with active x  (Read 8064 times)

Lazarususer6789

  • New Member
  • *
  • Posts: 15
How do i use Winunits with active x
« on: May 16, 2010, 11:30:25 am »
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

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
Re: How do i use Winunits with active x
« Reply #1 on: May 16, 2010, 12:12:41 pm »
I'd recommend using Delphi for this.
Delphi is better for windows-specific stuff, Lazarus is better for cross-platform.

Lazarususer6789

  • New Member
  • *
  • Posts: 15
Re: How do i use Winunits with active x
« Reply #2 on: May 16, 2010, 02:09:08 pm »
Quote
I'd recommend using Delphi for this.
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
« Last Edit: May 19, 2010, 11:44:49 am by Lazarususer6789 »

Lazarususer6789

  • New Member
  • *
  • Posts: 15
Re: How do i use Winunits with active x
« Reply #3 on: May 16, 2010, 11:05:07 pm »
anyway how do i use Winunits

Lazarususer6789

  • New Member
  • *
  • Posts: 15
Re: How do i use Winunits with active x
« Reply #4 on: May 19, 2010, 01:53:41 pm »
._________________________
|______________________|X|
|                ____________ _ |
|Activex ocx|___________|...|
|         _________________   |
|CLSID|________________|   |
|         _________________   |
|CTL ID|________________|  |
|             ______________ __|
|PAS FILE |_____________|...|
|             ______________ __|
|LPI FILE  |_____________|...|
|             ______________ __|
|LPR FILE  |_____________|...|
|             ______________ __|
|LFM FILE |_____________|...|
|    ___________________     |
|   |                             |     |
|   |   INSERT ACTIVE X   |     |
|   |                             |     |
|   |__________________|     |
|_________________________|


 

TinyPortal © 2005-2018