
[9-2-2002]
I have fixed some of the problems that were causing it to crash on Windows XP
And i have found that the TPX environment of Turbo Pascal works more stably


[19-12-2001]
Currently I am developing PGE on Windows XP Profesional. Due to its
emulated Dos support it appears that while working on PGE, TP7 crashes
very frequently. I have narowed it down to what appears to be buggy
keyboard drivers and compatability issues between TP and windows
keyboard driver!... Im not sure how to correct this, but although
TP is buggy PGE programs run FINE!

If you get crashes while developing on PGE look at the folowing things

1) Make sure you switched to video mode before drawing ANYTHING!
   and this must be done by haveing the TScreen object
   ie. Var MyScreen:TScreen
       begin
            MyScreen.init;
            MyScreen.VideoOn;
       end.

2) Check arrays are not accessed out of bounds!

   ie. Var A1: array[1..2] of integer;
           I:integer;
       begin
            ....
            I:=5;
            a1[ I ]:=1;
            ...
       end.
   This will NOT generate an error directly but will cause memory to
   be trashed!

3) Closeing graphics when you exit is a good idea cause i have seen
   cases of system lockup when you dont

4) The StrEdit command is in the test stages. It seems to cause errors
   in TP after running.

5) Donot use the proportional fonts in the VesaLibrary. These appear to
   make trouble when attempting to determin the length (in pixels) that
   a string will occupy on the screen.

6) ALWATS REMEMBER TO INITIALISE A CONTROLL BEFORE ANYTHING!. If you are
   using a controll ALWAYS use the [control].make([Some parameters]]) before you
   attempt to draw it. If not this will ALWAYS cause a page fault.

   ie. if you donot use the make constructor of a button. When you attempt
   to use that button the program WILL fail.

I will always make sure the library compiles corectly and STABALY before i
upload it to the website. However when working on a program, when the
program compleats it seems that sometimes TP's memory gets trashed and
the IDE will fail. This is not a bug in PGE, it is to do with the way
some of the graphics are handled that TP's debuging environment causes
failiur.
