Re: [fpc-pascal] Re: [Help] fppkg on Windows

2012-04-10 Thread Lars Klungseth
Your second suggestion, > or put its directory (fpc.exe) in PATH. proved to be the answer. C:\lazarus\fpc\2.6.0\bin\i386-win32>fppkg install lazmkunit Start building package lazmkunit for target i386-win32. Compiling lazmkunit.pp [100%] Built target lazmku

Re: [fpc-pascal] Re: [Help] fppkg on Windows

2012-04-10 Thread Lars Klungseth
Hi leledumbo, Thanks for your quick reply. > Try set a full path to the compiler driver binary (fpc.exe) Setting the GlobalPrefix to the full path to fpc.exe, will produce the following error as the GlobalPrefix is referenced more than once. C:\lazarus\fpc\2.6.0\bi

[fpc-pascal] Re: [Help] fppkg on Windows

2012-04-10 Thread leledumbo
Try set a full path to the compiler driver binary (fpc.exe) or put its directory in PATH. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Help-fppkg-on-Windows-tp5628510p5629238.html Sent from the Free Pascal - General mailing list archive at Nabble.com.

[fpc-pascal] Re: Help!!

2012-01-20 Thread Malvin
i need to make the login connection to my database via this form (in the picture), is there any way that i can do it? On Wed, Jan 18, 2012 at 3:25 PM, Andreas Schneider-7 [via Free Pascal - General] wrote: > On Tuesday, January 17, 2012, at 16:24 Mattias Gaertner wrote: > > > > Andreas Schneider

Re: [fpc-pascal] Re: Help!!

2012-01-18 Thread Andreas Schneider
Title: Re: [fpc-pascal] Re: Help!! On Tuesday, January 17, 2012, at 16:24 Mattias Gaertner wrote: Andreas Schneider hat am 17. Januar 2012 um 16:08 geschrieben:   >  > My current use case is:  > - show a login form  > - when login succeeds, show a progress form (connection  in

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Mattias Gaertner
Andreas Schneider hat am 17. Januar 2012 um 16:08 geschrieben: > On Tuesday, January 17, 2012, at 13:15 Felipe Monteiro de Carvalho wrote: > > If the use case is closing the main form without quitting the > > application, then I would prefer a property > > TApplication.QuitApplicationWhenMainFor

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Andreas Schneider
On Tuesday, January 17, 2012, at 13:15 Felipe Monteiro de Carvalho wrote: > If the use case is closing the main form without quitting the > application, then I would prefer a property > TApplication.QuitApplicationWhenMainFormCloses or something like that. My current use case is: - show a login f

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Felipe Monteiro de Carvalho
If the use case is closing the main form without quitting the application, then I would prefer a property TApplication.QuitApplicationWhenMainFormCloses or something like that. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Mattias Gaertner
Andreas Schneider hat am 17. Januar 2012 um 11:23 geschrieben: > On Sunday, January 15, 2012, at 15:04 Mattias Gaertner wrote: > > On Sun, 15 Jan 2012 05:58:21 -0800 (PST) > > Malvin wrote: > > >> So far i've managed to do the program quite well, and I was wondering, can > >> i close the main f

Re: [fpc-pascal] Re: Help!!

2012-01-17 Thread Andreas Schneider
On Sunday, January 15, 2012, at 15:04 Mattias Gaertner wrote: > On Sun, 15 Jan 2012 05:58:21 -0800 (PST) > Malvin wrote: >> So far i've managed to do the program quite well, and I was wondering, can >> i close the main form (form1) whils opening form2 and not closing the app? >> Is there any way

[fpc-pascal] Re: Help!!

2012-01-15 Thread Malvin
thanks for your information On 1/15/12, Mattias Gaertner [via Free Pascal - General] wrote: > > > On Sun, 15 Jan 2012 05:58:21 -0800 (PST) > Malvin wrote: > >> So far i've managed to do the program quite well, and I was wondering, can >> i close the main form (form1) whils opening form2 and not

Re: [fpc-pascal] Re: Help!!

2012-01-15 Thread Mattias Gaertner
On Sun, 15 Jan 2012 05:58:21 -0800 (PST) Malvin wrote: > So far i've managed to do the program quite well, and I was wondering, can > i close the main form (form1) whils opening form2 and not closing the app? > Is there any way that I can do it? If you mean LCL forms: The MainForm can not be clo

[fpc-pascal] Re: Help!!

2012-01-15 Thread Malvin
So far i've managed to do the program quite well, and I was wondering, can i close the main form (form1) whils opening form2 and not closing the app? Is there any way that I can do it? And if i were to make a new 'ID' (on the app), is there any way that i can write that into my database? What comma

[fpc-pascal] Re: Help!!

2012-01-09 Thread Malvin
thanks, i'll try using it On 1/4/12, Graeme Geldenhuys-2 [via Free Pascal - General] wrote: > > > On 4 January 2012 12:33, Malvin wrote: >> Is there any other components need installing so that it will connect >> properly other than libmysql.dll, > > Under Windows, that should be all that you ne

Re: [fpc-pascal] Re: Help!!

2012-01-04 Thread Graeme Geldenhuys
On 4 January 2012 12:33, Malvin wrote: > Is there any other components need installing so that it will connect > properly other than libmysql.dll, Under Windows, that should be all that you need. Under Linux you would normally need to install the xxx-dev package where xxx is the database library (

[fpc-pascal] Re: Help!!

2012-01-04 Thread Malvin
Is there any other components need installing so that it will connect properly other than libmysql.dll, and also i've heard of TMySQL, what is that? and is there any other alternatives? On Wed, Jan 4, 2012 at 9:48 AM, Malvin Viriya wrote: > Thanks, I will try checking that site > > > On Tue, Ja

[fpc-pascal] Re: Help!!

2012-01-03 Thread Malvin
Thanks, I will try checking that site On Tue, Jan 3, 2012 at 6:15 PM, Graeme Geldenhuys-2 [via Free Pascal - General] wrote: > On 3 January 2012 13:04, Malvin <[hidden > email]> > wrote: > > Right now i've been trying to build a mysql server

[fpc-pascal] Re: help: converting windows API to linux

2008-04-11 Thread Guillermo Martínez Jiménez
May be you can use the Wine library. It is a library created to help porting applications from Windows to *NIX. Visit www.winehq.org Regards. Ñuño Martínez. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/l

[fpc-pascal] Re: Help getting started with FPC

2007-12-02 Thread Ingemar Ragnemalm
Edward Kearns wrote: First of all, note that LWP 0.2.9's demo is TransSkel.p, not NewSkel.p, as in the Lightweight Pascal IDE notes. Yes, that was my fault. I only included the newest demos, but NewSkel.p should have been included all the same, since it is the example demo. TransSkel is s

Re: [fpc-pascal] Re: Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

2007-08-19 Thread Jonas Maebe
On 18 Aug 2007, at 21:24, Tom Verhoeff wrote: On Fri, Aug 17, 2007 at 10:47:27PM +0100, Milan Marusinec wrote: Tom Verhoeff wrote: Any idea what I messed up? This is what my command line looks like: fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib -XMSDL_main -k-L/sw/lib

Re: [fpc-pascal] Re: Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

2007-08-18 Thread Tom Verhoeff
On Fri, Aug 17, 2007 at 10:47:27PM +0100, Milan Marusinec wrote: > Tom Verhoeff wrote: > >Any idea what I messed up? > > > >This is what my command line looks like: > > > >fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib > >-XMSDL_main -k-L/sw/lib -k-lSDL -k-framework -kOpenGL

[fpc-pascal] Re: Help needed with (JEDI-)SDL on Mac OS X with FPC 2.0.4 powerpc

2007-08-17 Thread Milan Marusinec
Tom Verhoeff wrote: Any idea what I messed up? This is what my command line looks like: fpc -Fu/Users/wstomv/Download/JEDI-SDLv1.0/SDL/Pas -Fl/usr/X11R6/lib -XMSDL_main -k-L/sw/lib -k-lSDL -k-framework -kOpenGL -k-framework -kCocoa -Mdelphi demo02 I would suggest to pass the -k switch this

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-20 Thread Koenraad Lelong
Koenraad Lelong wrote: Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... ... Second question : are c-double types and fpc-double types compatible ? This must be : c-float and fpc-double. Sorry for that. Koenraad. ___ fpc-pascal maillist - fpc-pascal@list

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-19 Thread Koenraad Lelong
Koenraad Lelong wrote: Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... I'm trying this and it seems to work, partly. I wrote a clone in fpc of the temp-program, and encountered some strange things. The library successfully detects the interface, and one device (only one connected at the time).

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-19 Thread Florian Klaempfl
Nikolay Nikolov wrote: Koenraad Lelong wrote: Second question : are c-double types and fpc-double types compatible ? I think so. Perhaps cfloat and cdouble should be added to the ctypes unit? Already in the cvs. ___ fpc-pascal maillist - fpc-pascal@li

[fpc-pascal] Re: Help needed with interfacing to C-object-files

2005-03-17 Thread Jeff Pohlmeyer
> Last question to Jeff Pohlmeyer : could you explain > how you made that unit ? Hello, Koenraad... There is not really a one-size-fits-all solution to this, but in general this is what I did for this particular case: # be sure to clean up any leftovers first: rm -f all.h all_inc.h all_mac.

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-16 Thread Nikolay Nikolov
Koenraad Lelong wrote: Second question : are c-double types and fpc-double types compatible ? I think so. Perhaps cfloat and cdouble should be added to the ctypes unit? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-16 Thread Koenraad Lelong
Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... About the beer, it's pretty close. 1-wire devices are devices like termometers, AD-converters and other devices that can be accessed over 1-wire (actually two : gnd). And I would like to use these thermometer-devices with my Zaurus PDA to measure t

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: If you want to take a look, I've put it on http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: If you want to take a look, I've put it on http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory

[fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-14 Thread Jeff Pohlmeyer
> If you want to take a look, I've put it on > http://users.edpnet.be/~koenraad/www Okay, try this... In your ulinuxgnu300 directory, type: make clean make linux ar -r libonewire.a *.o ranlib libonewire.a And then move the resulting "libonewire.a" file into a directory where the link

Re: [fpc-pascal] RE: Help needed with interfacing to C-object-files.

2005-03-13 Thread Koenraad Lelong
Jeff Pohlmeyer wrote: I still don't understand what sort of c "package" you have that generates a bunch of object files, but doesn't create a shared library or static archive. Does it have its own makefile or configure script? Sometimes adding --enable-shared or --enable-static to configure will

Re: [fpc-pascal] RE: Help needed with interfacing to C-object-files.

2005-03-12 Thread Marc Santhoff
Am So, den 13.03.2005 schrieb Jeff Pohlmeyer um 00:03: [..] > > > Maybe I'm too used to using Delphi, where such things > > > are hidden from the developper. > > > That's the nice part of Delphi. > > You are talking about searching the system for object > files generated by another compiler and

[fpc-pascal] RE: Help needed with interfacing to C-object-files.

2005-03-12 Thread Jeff Pohlmeyer
I still don't understand what sort of c "package" you have that generates a bunch of object files, but doesn't create a shared library or static archive. Does it have its own makefile or configure script? Sometimes adding --enable-shared or --enable-static to configure will tell it to build a li

[fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-09 Thread Jeff Pohlmeyer
> Let me explain more : the header file is used in at least > five source-files, so compiling gives (at least) five .o > files, but none with the name of the header-file. >From the command line : ar -r libDallas.a file1.o file2.o ... and then, in your program: {$LINKLIB Dallas} - Jef