From: James Buckingham Newsgroups: comp.os.msdos.djgpp Subject: I need HELP! Date: Tue, 18 Feb 97 22:19:04 GMT Organization: None Message-ID: <856304344snz@jambuck.demon.co.uk> Reply-To: James AT jambuck DOT demon DOT co DOT uk Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I'm trying to re-write my library file to use DJGPP and to do this i've had to remove the far pointers. I have a problem with setting a pointer to the vga memory. I've written: extern unsigned char *video_buffer; in the header file and unsigned char *video_buffer = (unsigned char *) (__djgpp_conventional_base + 0xA000000); in the code file. It keeps giving me the message: initializer element is not constant Could someone tell me how to sort this, or at least translate the error message into english for me. TIA James