Evening all, thanks for all the comments on my small problem. I have now resolved it. On a 64 bit system, I simply compile with -m32 added to the command line and I get a 32 bit executable.
I suppose I could define ULONG and SLONG as ints, which are 32 bit on my laptop, but I think that might confuse the issue. For now, anyway, I have a solution. Thanks. gcc -m32 -o fbdump32 fbdump.c :-) Cheers, Norm. -- Norman Dunbar Dunbar IT Consultants Ltd Registered address: Thorpe House 61 Richardshaw Lane Pudsey West Yorkshire United Kingdom LS28 7EL Company Number: 05132767 ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel