Re: RE : RE : RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-30 Thread Roberto Padovani
t; > transducer := transducers[index];  works only if transducer is the default > property for Itransducers. I'm not sure if fpc supports this. > > Ludo > > > -Message d'origine- > De : fpc-pascal-boun...@lists.freepascal.org > [mailto:fpc-pascal-boun..

Re: RE : RE : RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Roberto Padovani
ists.freepascal.org] De la part de Roberto > Padovani > Envoyé : mercredi 25 mai 2011 19:34 > À : FPC-Pascal users discussions > Objet : Re: RE : RE : RE : RE : RE : [fpc-pascal] support for using an > activex > > > 2011/5/25 Ludo Brands : >> The code in article >&g

RE : RE : RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Ludo Brands
-Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Roberto Padovani Envoyé : mercredi 25 mai 2011 19:34 À : FPC-Pascal users discussions Objet : Re: RE : RE : RE : RE : RE : [fpc-pascal] support for using an

Re: RE : RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Roberto Padovani
2011/5/25 Ludo Brands : > The code in article > http://www.informit.com/articles/article.aspx?p=130494&seqNum=5 goes a long > way in doing what you want to do. Unit Eventsink does pretty much of the > legwork. You should remove the procedure register since that is the Delphi > way to get a componen

RE : RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Ludo Brands
pascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Roberto Padovani Envoyé : mercredi 25 mai 2011 16:01 À : FPC-Pascal users discussions Objet : Re: RE : RE : RE : RE : [fpc-pascal] support for using an activex 2011/5/25 Ludo Brands : > Regarding the tlb to pascal "conv

Re: RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Roberto Padovani
2011/5/25 Ludo Brands : > Regarding the tlb to pascal "conversion", AFAIK there is no support in fpc. > Delphi is clearly better equiped to work with COM objects. > > I have also been playing around with a generic eventsink class but the > problem is that events can have parameters (and a lot do).

RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Ludo Brands
lists.freepascal.org] De la part de Roberto Padovani Envoyé : mercredi 25 mai 2011 13:18 À : FPC-Pascal users discussions Objet : Re: RE : RE : RE : [fpc-pascal] support for using an activex 2011/5/24 Ludo Brands : > The following delphi articles should help creating an event sink: > >

RE : RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Ludo Brands
e(dwCookie); Ludo -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Roberto Padovani Envoyé : mercredi 25 mai 2011 13:18 À : FPC-Pascal users discussions Objet : Re: RE : RE : RE : [fpc-pascal] support for u

Re: RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-25 Thread Roberto Padovani
2011/5/24 Ludo Brands : > The following delphi articles should help creating an event sink: > > http://www.informit.com/articles/article.aspx?p=130494&seqNum=5  This is an > interesting one since it is written for Delphi 3-4 which missed a lot of the > automated COM handling. This is much closer to

RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-24 Thread Ludo Brands
pc-pascal-boun...@lists.freepascal.org] De la part de Roberto Padovani Envoyé : mardi 24 mai 2011 11:24 À : FPC-Pascal users discussions Objet : Re: RE : RE : [fpc-pascal] support for using an activex Thanks a lot! I've been able to create the object and connect to my device.. and even readin

Re: RE : RE : [fpc-pascal] support for using an activex

2011-05-24 Thread Roberto Padovani
sts.freepascal.org] De la part de Roberto > Padovani > Envoyé : lundi 23 mai 2011 15:07 > À : FPC-Pascal users discussions > Objet : Re: RE : [fpc-pascal] support for using an activex > > > Wow, this sound like good news! > > The activex I have is not visual; it is "simp

RE : RE : RE : [fpc-pascal] support for using an activex

2011-05-23 Thread Ludo Brands
OOPS. Wrong key -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Ludo Brands Envoyé : lundi 23 mai 2011 15:33 À : 'FPC-Pascal users discussions' Objet : RE : RE : [fpc-pascal] support for u

RE : RE : [fpc-pascal] support for using an activex

2011-05-23 Thread Ludo Brands
pascal.org] De la part de Roberto Padovani Envoyé : lundi 23 mai 2011 15:07 À : FPC-Pascal users discussions Objet : Re: RE : [fpc-pascal] support for using an activex Wow, this sound like good news! The activex I have is not visual; it is "simply" a class that creates a thread in wh

RE : RE : [fpc-pascal] support for using an activex

2011-05-23 Thread Ludo Brands
When using -Message d'origine- De : fpc-pascal-boun...@lists.freepascal.org [mailto:fpc-pascal-boun...@lists.freepascal.org] De la part de Roberto Padovani Envoyé : lundi 23 mai 2011 15:07 À : FPC-Pascal users discussions Objet : Re: RE : [fpc-pascal] support for using an activex

Re: RE : [fpc-pascal] support for using an activex

2011-05-23 Thread Roberto Padovani
Wow, this sound like good news! The activex I have is not visual; it is "simply" a class that creates a thread in which a physical device is controlled through a serial port, with a particular protocol. The class then has methods like "Open channel", "Read Mesaure", and so on. Is there any docume

RE : [fpc-pascal] support for using an activex

2011-05-23 Thread Ludo Brands
If the activex is not a visual control that you want to put on a LCL form you can use CreateOleObject. Note that you don't load ActiveX dll's directly. ActiveX objects are registered in Windows by the installer or manually with Regsvr32.exe. Windows loads the ddl for you when you call CreateOleObje

Re: [fpc-pascal] support for using an activex

2011-05-23 Thread Felipe Monteiro de Carvalho
On Mon, May 23, 2011 at 1:21 PM, Henrik Genssen wrote: > Active-X / OLE objects do not work as far as I remember I don't think that it is a matter of not working (as in something that stops it from working), but rather that noone has researched and developed an way to make that work. -- Felipe

RE: [fpc-pascal] support for using an activex

2011-05-23 Thread Henrik Genssen
it depends. Active-X / COM objects with no window can be created using: CreateOleObject() function Active-X / OLE objects do not work as far as I remember regards Henrik >reply to message: >date: 23.05.2011 12:23:35 >from: "Roberto Padovani" >to: "FPC-Pascal users discussions" >subject: [fpc-