Re: [fpc-pascal] Socket (Depecrated) on FreePascal

2009-03-01 Thread Jonas Maebe
On 01 Mar 2009, at 03:12, Diego Antonio Lucena Pumar wrote: function Accept( Sock: LongInt; var Addr; var Addrlen: LongInt ):LongInt; For my program I need use this interface, and not the modern versions. Really, I can't compile the program. The error is provacated by the parameter (var

[fpc-pascal] WM_PAINT, draw a bitmap

2009-03-01 Thread Rainer Stratmann
Hello, can somebody help me to draw a bitmap in a win32 app? There is a 800 x 600 x 32bits (dword) memory-buffer which contains the bitmapdata. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] WM_PAINT, draw a bitmap

2009-03-01 Thread Rainer Stratmann
I found already - CreateBitmap( 800 , 600 , 1 , 32 , @bitmapmem ); Am Sonntag, 1. März 2009 18:27 schrieb Rainer Stratmann: > Hello, > > can somebody help me to draw a bitmap in a win32 app? > > There is a 800 x 600 x 32bits (dword) memory-buffer which contains the > bitmapdata. >

Re: [fpc-pascal] How does TFPImageCanvas draw TextOut?

2009-03-01 Thread leledumbo
Try holding ctrl and click TextOut on that line using Lazarus, it will bring you to the correct place where (in which class) the method is implemented / overridden (in interface section). Then, use Ctrl+Shfit+Down to go to the implementation. -- View this message in context: http://www.nabble.co

Re: [fpc-pascal] How does TFPImageCanvas draw TextOut?

2009-03-01 Thread David Emerson
Thanks! I haven't gotten lazarus running yet, but I took another look and figured it out. TFPCustomCanvas.TextOut checks if Font is TFPCustomDrawFont then TFPCustomDrawFont(Font).DrawText(x,y, text) ...and it turns out that it is; I didn't look at the fontdraw program closely enough. I've got to