Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread Rainer Stratmann
Am Freitag, 14. März 2008 14:30 schrieb Graeme Geldenhuys: > On 14/03/2008, Rainer Stratmann <[EMAIL PROTECTED]> wrote: > > Exists there documentation about X11 interface? > >  Or an example program? > > Here is a basic example as show in many X11 documentation. > As I said, fpGUI will do all this

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread ik
The fix :) On Fri, Mar 14, 2008 at 3:56 PM, ik <[EMAIL PROTECTED]> wrote: > You are correct (I've translated it from an old procedural code of > mine), I'll fix it and resend it > > Ido > > > > On Fri, Mar 14, 2008 at 3:52 PM, Graeme Geldenhuys > <[EMAIL PROTECTED]> wrote: > > On 14/03/2008,

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread ik
You are correct (I've translated it from an old procedural code of mine), I'll fix it and resend it Ido On Fri, Mar 14, 2008 at 3:52 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > On 14/03/2008, ik <[EMAIL PROTECTED]> wrote: > > For documentation, look for xlib, and for each specific module

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread Graeme Geldenhuys
On 14/03/2008, ik <[EMAIL PROTECTED]> wrote: > For documentation, look for xlib, and for each specific module you > require you have different documentation. > > Ido Hi Ido, That example doesn't compile because your class is defined as TWindow, which conflicts with TWindow defined in x.pp Simp

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread ik
For documentation, look for xlib, and for each specific module you require you have different documentation. Ido On Fri, Mar 14, 2008 at 3:16 PM, Rainer Stratmann <[EMAIL PROTECTED]> wrote: > That woul be great, thanks. > Where can I find information to understand the X11 keyboard and bitmap >

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread Graeme Geldenhuys
On 14/03/2008, Rainer Stratmann <[EMAIL PROTECTED]> wrote: > Exists there documentation about X11 interface? > Or an example program? Here is a basic example as show in many X11 documentation. As I said, fpGUI will do all this hard work for you. ;-) You can compile it as follows: fpc basicwin.p

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread Graeme Geldenhuys
On 14/03/2008, Rainer Stratmann <[EMAIL PROTECTED]> wrote: > Exists there documentation about X11 interface? > Or an example program? > I want to start with simply draw a bitmap and handle keyboard events. It takes some practice to use Xlib directly but it's not to bad. The C documentation is p

Re: [fpc-pascal] Simple X11 program

2008-03-14 Thread ik
Pure xlib is not that easy. I can give you an old program I made using it, but bitmap/keyboard handling is not for "beginners" in X. You must understand better how things works etc.. Ido On Fri, Mar 14, 2008 at 2:49 PM, Rainer Stratmann <[EMAIL PROTECTED]> wrote: > Exists there documentation abou

[fpc-pascal] Simple X11 program

2008-03-14 Thread Rainer Stratmann
Exists there documentation about X11 interface? Or an example program? I want to start with simply draw a bitmap and handle keyboard events. Kind regards Rainer ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mail

Re: [fpc-pascal] Firebird UDF

2008-03-14 Thread zaher dirkey
Hi Again, try to copy ib_util.dll to system folder, or make PATH to Firebird bin folder. and (var valore: Double not "real" On Thu, Mar 13, 2008 at 12:44 PM, zaher dirkey <[EMAIL PROTECTED]> wrote: > try to add "cdecl" > > |function pround(var valore: real; ndec: integer):real; cdecl; expor

Re: [fpc-pascal] Firebird UDF

2008-03-14 Thread zaher dirkey
try to add "cdecl" |function pround(var valore: real; ndec: integer):real; cdecl; export; On Thu, Mar 13, 2008 at 11:43 AM, Codebue Fabio - P-Soft < [EMAIL PROTECTED]> wrote: > I try with pudf.dll module name, I try to change function name ... I try a > lot of things... > sigh a so stupid UD