[fpc-pascal] FPC for Mac OS X, any updates?

2011-05-27 Thread Ralf A. Quint
Are there any updates on how to use FPC with Mac OS X? The "FPC on the Mac" pages on freepascal.org are more than 2 years old, referring to v2.2.2 from August 2008 and the link to the "the step-by-step instructions on how to download and install the XCode Integration Kit" results in a 403... :

Re: [fpc-pascal] Apache module with fpc 2.4.x on Apache 2.2.x (64bit)

2011-05-27 Thread Takashi Ishikawa
The problem was solved. I tried FPC 2.5.x, and the module worked fine! I used 'Daily Source Snapshot' on 2011/05/27. I tried with only changing FPC version, other conditions(OS, apache and code) are not changed. Thanks a lot! Takashi On Fri, 27 May 2011 10:07:31 +0900, Takashi Ishik

[fpc-pascal] fillword with multidimensional dynamic array.

2011-05-27 Thread Luis Fernando Del Aguila Mejía
Hello How do I fill a multidimensional dynamic array, with fillWord? Var a:array of array of word; m,n:byte; i,j:byte; Begin m:=3; //array 3 x 3 n:=3; SetLength(a,m,n); for i:=0 to m-1 do //How this block replace con fillword ? for j:=0 to n-1 do a[i,j]:=1

Re: RE : RE : RE : RE : RE : RE : RE : RE : RE : [fpc-pascal] support forusinganactivex

2011-05-27 Thread Roberto Padovani
2011/5/27 Ludo Brands : > There is no standard way of getting the information directly from the > activex object. You can ask your collegues to implement these properties > (should be straightforeward). Last time I (hardware engineer) asked for a minor change in a library, they estimated 2 years w

Re: [fpc-pascal] How to get string with target OS and CPU?

2011-05-27 Thread Krzysztof
Thanks :) P.S. LCLPlatformDirNames is in InterfaceBase unit, not in LCLProc 2011/5/27 Mattias Gaertner > On Fri, 27 May 2011 14:38:52 +0200 > Krzysztof wrote: > > > Thanks! Exactly what I needed. Is exists similar trick for get widgetset > > type (QT, GTK)? > > uses LCLProc; > > LCLPlatformDir

Re: [fpc-pascal] How to get string with target OS and CPU?

2011-05-27 Thread Mattias Gaertner
On Fri, 27 May 2011 14:38:52 +0200 Krzysztof wrote: > Thanks! Exactly what I needed. Is exists similar trick for get widgetset > type (QT, GTK)? uses LCLProc; LCLPlatformDirNames[WidgetSet.LCLPlatform] Mattias ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] How to get string with target OS and CPU?

2011-05-27 Thread Krzysztof
Thanks! Exactly what I needed. Is exists similar trick for get widgetset type (QT, GTK)? 2011/5/27 Mattias Gaertner > On Fri, 27 May 2011 13:18:11 +0200 > Krzysztof wrote: > > > Hi, > > > > I need friendly name of OS and processor type at runtime. I need this for > > "user-agent" header in http

RE : RE : RE : RE : RE : RE : RE : RE : RE : [fpc-pascal] support forusinganactivex

2011-05-27 Thread Ludo Brands
There is no standard way of getting the information directly from the activex object. You can ask your collegues to implement these properties (should be straightforeward). For activex objects that are installed on your computer you can find the info here: HKEY_CLASSES_ROOT\CLSID\clsid-of-your-obj

Re: RE : RE : RE : RE : RE : RE : RE : RE : [fpc-pascal] support for usinganactivex

2011-05-27 Thread Roberto Padovani
It's nearly finished and nearly working. I was wondering this: is there a way to query the version and helpstring of an activex, once I created it ? R# 2011/5/26 Ludo Brands : > GetActiveOleObject raises EOleSysError if it fails. > > -Message d'origine- > De : fpc-pascal-boun...@lists.fre

Re: [fpc-pascal] How to get string with target OS and CPU?

2011-05-27 Thread Mattias Gaertner
On Fri, 27 May 2011 13:18:11 +0200 Krzysztof wrote: > Hi, > > I need friendly name of OS and processor type at runtime. I need this for > "user-agent" header in http client. Some kind of "Linux x86_64 Ubuntu/11.04" > ("Linux x86_64" should be enough). "GetEnvironmentVariable" function does > not

Re: [fpc-pascal] How to get string with target OS and CPU?

2011-05-27 Thread Jonas Maebe
On 27 May 2011, at 13:18, Krzysztof wrote: I need friendly name of OS and processor type at runtime. I need this for "user-agent" header in http client. Some kind of "Linux x86_64 Ubuntu/11.04" ("Linux x86_64" should be enough). "GetEnvironmentVariable" function does not return anything in

[fpc-pascal] How to get string with target OS and CPU?

2011-05-27 Thread Krzysztof
Hi, I need friendly name of OS and processor type at runtime. I need this for "user-agent" header in http client. Some kind of "Linux x86_64 Ubuntu/11.04" ("Linux x86_64" should be enough). "GetEnvironmentVariable" function does not return anything interesting. I can build this string using compil

Re: [fpc-pascal] Apache module with fpc 2.4.x on Apache 2.2.x (64bit)

2011-05-27 Thread Marco van de Voort
In our previous episode, ABorka said: > > > > Is there another possible cause? > > > > Takashi > > If you compile with the proper HTTPD directory (httpd22 in this case), > it should work. > No error message in the apache error.log? Apache always says something > when the startup is not succe

Re: [fpc-pascal] Free Pascal 2.4.4 available

2011-05-27 Thread Marco van de Voort
In our previous episode, Vladimir Zhirov said: > > Fixed, and some other details as well. > Could it be that changes were not applied or delayed for some > reason? Yes, I changed it in SVN, and at night it gets propagated so that it changes on all mirrors at once. _