Path: utzoo!mnetor!uunet!mcvax!enea!luth!roland From: roland@sm.luth.se (Roland Hedberg) Newsgroups: comp.sys.ibm.pc Subject: help ! Problems with TurboC graphics Message-ID: <1020@luth.luth.se> Date: 30 Mar 88 13:34:05 GMT Organization: University of Lulea, Sweden Lines: 22 Hi ! I have a problem with TurboC, which I hope that someone can help me solve. The background is as follows ; I am developing a program in TurboC, I started with version 1.0 without graphics and planned to incorporate graphics when 1.5 became available. But when I now place initgraph in the beginning of main() , the PC locks up. The program is of medium size (the EXE-file is about 85K ) and is using a 12K stack, I use the large memory modell . I have recompiled the complete program with vers. 1.5 so there are no 1.0 code left. I don't think that there are any hardware problem since I am able to do a small program using graphics and it works without problem. I also have no problem with compiling and running bgidemo . The program is all C , no other language . If I use getgraph() first , then getgraph works like it should . The problem starts (an ends :-( ) with initgraph(). So,please help !! -- roland