[fpc-pascal] MSEide+MSEgui version 1.4 for FreePascal 2.2

2007-09-12 Thread Martin Schreiber
Hi,
MSEide+MSEgui version 1.4 for FPC 2.2 has been released:

http://sourceforge.net/project/showfiles.php?group_id=165409

Please send questions and bug reports to:

news://news.grid-sky.com/public.mseide-msegui.talk

Have a lot of fun!

Martin
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Creating JPEG graphics on the fly

2007-09-12 Thread Jilani Khaldi

Hi All,
I am using FPC-2.2 and PWU 
(http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Powerful-Web-Utilities) for 
web development on Linux (Slackware). I need to create some JPEG 
graphics on the fly by code. Does someone have a little example?

Thank you!
--
Jilani KHALDI
http://jkhaldi.oltrelinux.com

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Creating JPEG graphics on the fly

2007-09-12 Thread Michael Van Canneyt


On Wed, 12 Sep 2007, Jilani Khaldi wrote:

> Hi All,
> I am using FPC-2.2 and PWU
> (http://z505.com/cgi-bin/qkcont/qkcont.cgi?p=Powerful-Web-Utilities) for web
> development on Linux (Slackware). I need to create some JPEG graphics on the
> fly by code. Does someone have a little example?

See the code for the web-interface for the testsuite in SVN. 
It does exactly this.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Creating JPEG graphics on the fly

2007-09-12 Thread Jilani Khaldi
See the code for the web-interface for the testsuite in SVN. 
It does exactly this.

What C libraries do I have to install before using this code?

--
Jilani KHALDI
http://jkhaldi.oltrelinux.com

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Creating JPEG graphics on the fly

2007-09-12 Thread Michael Van Canneyt


On Wed, 12 Sep 2007, Jilani Khaldi wrote:

> > See the code for the web-interface for the testsuite in SVN. It does exactly
> > this.
> What C libraries do I have to install before using this code?

None whatsoever. 100% pure object pascal.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] What does this warning mean?

2007-09-12 Thread Jilani Khaldi

Hi All,

"drawing.pp(19,42) Warning: Constructing a class "TFPImageCanvas" with 
abstract methods".

Thanks!
jk

--
Jilani KHALDI
http://jkhaldi.oltrelinux.com

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] What does this warning mean?

2007-09-12 Thread dhkblaszyk
> Hi All,
>
> "drawing.pp(19,42) Warning: Constructing a class "TFPImageCanvas" with
> abstract methods".
> Thanks!
> jk

For more information:

http://delphibasics.co.uk/RTL.asp?Name=Abstract

Darius

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Declare a standalone procedure of object (TNotifyEvent)

2007-09-12 Thread Luiz Americo Pereira Camara
I'm trying to declare a standalone function (not attached to a class) to 
use as a TNotifyEvent.


I tried

procedure FooBar of object;
begin
end;

Without sucess.

Is it possible to declare such function to use as a TNotifyEvent without 
creating a class only to hold the callback method?


Luiz
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Declare a standalone procedure of object (TNotifyEvent)

2007-09-12 Thread Jonas Maebe


On 13 Sep 2007, at 04:00, Luiz Americo Pereira Camara wrote:


procedure FooBar of object;
begin
end;

Without sucess.

Is it possible to declare such function to use as a TNotifyEvent  
without creating a class only to hold the callback method?


Not without unsupported ugly hacking and explicit typecasting.


Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] What does this warning mean?

2007-09-12 Thread Michael Van Canneyt


On Wed, 12 Sep 2007, Jilani Khaldi wrote:

> Hi All,
> 
> "drawing.pp(19,42) Warning: Constructing a class "TFPImageCanvas" with
> abstract methods".

It means that TFPCustomCanvas has an abstract method which is not
overridden by TFPImageCanvas, when it should override this...

I will look into this.

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] What does this warning mean?

2007-09-12 Thread Graeme Geldenhuys
On 13/09/2007, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
> >
> > "drawing.pp(19,42) Warning: Constructing a class "TFPImageCanvas" with
> > abstract methods".
>
> It means that TFPCustomCanvas has an abstract method which is not
> overridden by TFPImageCanvas, when it should override this...
>
> I will look into this.


I saw that a few weeks ago while playing around with TFPCustomCanvas
for fpGUI. Completely forgot to report the problem.

Graeme.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal