Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread ABorka
Hello, Does fpWeb have any method/function that escape and un-escape html and URI elements ? Thanks, Ido There are Function HTTPDecode(const AStr: String): String; Function HTTPEncode(const AStr: String): String; in unit httpdefs.pp of fcl-web. AB _

Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread ik
On Tue, May 24, 2011 at 00:23, Michael Van Canneyt wrote: > > > On Tue, 24 May 2011, ik wrote: > > Hello, >> >> Does fpWeb have any method/function that escape and un-escape html and URI >> elements ? >> > > Yes. > > in fphttpclient: > > Function EncodeURLElement(S : String) : String; > Function

Re: [fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread Michael Van Canneyt
On Tue, 24 May 2011, ik wrote: Hello, Does fpWeb have any method/function that escape and un-escape html and URI elements ? Yes. in fphttpclient: Function EncodeURLElement(S : String) : String; Function DecodeURLElement(Const S : String) : String; We should maybe move them to URIParser

[fpc-pascal] fpWeb and html and uri escaping/unescaping elements

2011-05-23 Thread ik
Hello, Does fpWeb have any method/function that escape and un-escape html and URI elements ? Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il ___ fpc-pascal maillist - fpc-pascal@lists.freep

[fpc-pascal] Free Pascal 2.4.4 available (fixed links)

2011-05-23 Thread Marco van de Voort
Something went wrong with the download links; the links were still pointing towards the beta. Here are the correct links: ftp://193.224.143.39/pub/fpc/dist/2.4.4/ and ftp://freepascal.stack.nl/pub/fpc/dist/2.4.4/ Note: the main ftp server is currently being migrated, that's why there is a

Re: [fpc-pascal] Easy install of FPC and Lazarus

2011-05-23 Thread Martin
On 23/05/2011 13:52, Rainer Stratmann wrote: Am Monday 23 May 2011 12:23:02 schrieb Marco van de Voort: In our previous episode, Rainer Stratmann said: Would it be possible to put all the needed libraries in on ~/fpc_install_xxx directory with all other programs so that lazarus looks there firs

[fpc-pascal] Free Pascal 2.4.4 available

2011-05-23 Thread Marco van de Voort
Hello, The FPC 2.4.4 release is available from our ftp-servers and sourceforge. This is probably the final release created from the fixes_2_4 branch. Changes that may break backwards compatibility are documented at: http://wiki.freepascal.org/User_Changes_2.4.4 Downloads are available at: the m

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 using an activex When

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

2011-05-23 Thread Ludo Brands
When using CreateOleObject you are using what they call late binding. During compile time you don't know what methods the object support. The object is queried for its interfaces, methods and datatypes at runtime. No header file translations needed except when custom data types are defined. The use

Re: [fpc-pascal] Easy install of FPC and Lazarus

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 14:52:10 +0200 Rainer Stratmann wrote: > Am Monday 23 May 2011 12:23:02 schrieb Marco van de Voort: > > In our previous episode, Rainer Stratmann said: > > > > package systems "should" bring them in if they are missing. > > > > > > > > And the qtintf library is mostly likely n

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 Wow,

Re: [fpc-pascal] Easy install of FPC and Lazarus

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 14:52:10 +0200 Rainer Stratmann wrote: > Am Monday 23 May 2011 12:23:02 schrieb Marco van de Voort: > > In our previous episode, Rainer Stratmann said: > > > > package systems "should" bring them in if they are missing. > > > > > > > > And the qtintf library is mostly likely n

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] Easy install of FPC and Lazarus

2011-05-23 Thread Rainer Stratmann
Am Monday 23 May 2011 12:23:02 schrieb Marco van de Voort: > In our previous episode, Rainer Stratmann said: > > > package systems "should" bring them in if they are missing. > > > > > > And the qtintf library is mostly likely not available. > > > > Would it be possible to put all the needed librar

Re: [fpc-pascal] fpWeb and template class

2011-05-23 Thread michael . vancanneyt
On Mon, 23 May 2011, ik wrote: Hello, fpWeb used to have Template class part of the TFPWebModule module. It seems that it was removed from there and no longer exists. It has been renamed to ModuleTemplate, to avoid confusion with TWebAction.Template in event handlers. It is documented in :

[fpc-pascal] fpWeb and template class

2011-05-23 Thread ik
Hello, fpWeb used to have Template class part of the TFPWebModule module. It seems that it was removed from there and no longer exists. Where was it moved to ? Or does the logic has changed ? Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.c

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-

[fpc-pascal] support for using an activex

2011-05-23 Thread Roberto Padovani
Hi List! I looked around the archives and forum, but I didn't come up with a clear answer. Besides, I'm not expert of the win32 and COM world. If I am given an ActiveX, with source code included, is it possible to using from a freepascal / lazarus app like any other dll? I mean loading the dll, i

Re: [fpc-pascal] Easy install of FPC and Lazarus

2011-05-23 Thread Marco van de Voort
In our previous episode, Rainer Stratmann said: > > package systems "should" bring them in if they are missing. > > > > And the qtintf library is mostly likely not available. > > Would it be possible to put all the needed libraries in on ~/fpc_install_xxx > directory with all other programs so th

Re: [fpc-pascal] Easy install of FPC and Lazarus

2011-05-23 Thread Rainer Stratmann
Am Monday 23 May 2011 09:38:12 schrieb Marco van de Voort: > In our previous episode, Rainer Stratmann said: > > > > You mean the C Libraries? > > > > Aren't they already there in the Linux distribution? > > > > > > No. > > > > But the libraries for X-Window are included I found out. > > Not guaran

Re: [fpc-pascal] Easy install of FPC and Lazarus

2011-05-23 Thread Marco van de Voort
In our previous episode, Rainer Stratmann said: > > > You mean the C Libraries? > > > Aren't they already there in the Linux distribution? > > > > No. > But the libraries for X-Window are included I found out. Not guaranteed. That's what the dependancies are for, working via the package systems "s