Frank wrote:
That's the GCC version. Run `gpc -v'.
Oh yes. GPC is version 20030830.
BTW it seems realy buggy on windows ( or windows is buggy itself ;-) Today I found that my program can't read BMP (image) header with GPC. The record I use for this is started from two bytes ( I tried also two char, shortword, shortint ) followed by integer, integer ... It reads first two bytes OK, then skips two bytes more and starts to read first integer from offset 4 ??? Magic.
Peter.
__________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html
On 7 Feb 2004 at 10:50, Peter Norton wrote:
Frank wrote:
That's the GCC version. Run `gpc -v'.
Oh yes. GPC is version 20030830.
BTW it seems realy buggy on windows ( or windows is buggy itself ;-) Today I found that my program can't read BMP (image) header with GPC. The record I use for this is started from two bytes ( I tried also two char, shortword, shortint ) followed by integer, integer ... It reads first two bytes OK, then skips two bytes more and starts to read first integer from offset 4 ??? Magic.
Please send an example of such code. I doubt that this particular problem is a GPC bug. I use GPC under Mingw (including 20030830) for all sorts of things that require quite low-level file access (manipulating zip and other types of archives for example) and I for one have never had any problem with parsing headers of BMP (or any other kind of) files. Indeed I have a GPC program (a sample program for an OOP framework that I am developing) that opens and displays bitmap files of all sorts.
It may well be that the problem is in something that you are doing.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/