From: jstacey AT plato DOT wadham DOT ox DOT ac DOT uk (J-P) Newsgroups: comp.os.msdos.djgpp Subject: bcc2grx & grx - initgraph() failure Date: 10 Apr 2000 17:01:25 +0100 Organization: Wadham College Oxford Lines: 27 Message-ID: <8cstsl$pgb$1@plato.wadham.ox.ac.uk> NNTP-Posting-Host: plato.wadham.ox.ac.uk X-Trace: news.ox.ac.uk 955382486 7027 163.1.164.74 (10 Apr 2000 16:01:26 GMT) X-Complaints-To: newsmaster AT ox DOT ac DOT uk NNTP-Posting-Date: 10 Apr 2000 16:01:26 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The following simple program fails, linked with libbcc2.a and libgrx20.a: /* START */ #include #include main() { int graphdriver=DETECT,graphmode; initgraph(&graphdriver,&graphmode,"c:\\tc\\bgi"); } /* FINISH */ The return error is 1, with GrSetMode() complaining to stderr that it has received an "unknown graphics mode." Does anyone know what I'm doing wrong, or will I have to resort to hacking through bcc2grx? Alternatively, does anyone know a preferred place for this query? I'd hope that c.o.m.d was close /enough/; apologies if people think this off-topic. J-P -- My roommate's cat chirps and twitters rather than meowing. Suddenly I can understand her, and all she talks about is her support of Communism!