On Wed, 28 Jun 2000, Frank Heckenbach wrote:
[...]
In particular `Detect' might be problematic, as I guess there are many BP programs that don't bother to use `Detect', but simply write 0.
[...]
The second point are the color constants. AFAICFO, the library uses the "default" colors, whatever these are.
[...]
So I think, to be more compatible, the library should set the VGA default colors in InitGraph.
Frank,
if you really need 100% compatibility, just use TP or BP on a DOS machine. BCC2GRX (and the Pascal interface BGI22GRX) were designed to make it easy to port programs, not to allow ill formed programs to work on every platform.
Hartmut
PS: You should have found another incompability: On several systems integers are wider than 16 bit causing major trouble ;)