Hi! I'm doing sdlgraph - so I put my self to packages/base/graph.
I can't understand the method (where are they used?) using routines in TModeInfo (from graphh.inc). In custom graph modules it's used in such way: mode.PutPixel:={$ifdef [EMAIL PROTECTED]; But in windows and go32v2 there are no any routines for PutPixel from interface. I mean someting like PutPixel := @custom_PutPixel; (PutPixel := @libvga_PutPixelProc; - in the unix graph.pp). So, if there are no such assignations (sorry, I don't know the right word) PutPixelDefault from graph.inc will be used... And it is: procedure PutPixelDefault(X,Y: smallint; Color: Word); begin Writeln(stderr,'Error: Not in graphics mode (use InitGraph and test GraphResult afterwards)'); Halt(1); end; But windows module works... I will thankful for answers. I may rewrite somethings, but as I have undersood - the best way is to use graph.inc and graphh.inc. -- E.I.
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel