? http://www.ici.net/cust_pages/mrealm/BANDP.HTM ? ---------------------------------------------------------------------------- ----- ' It is better to die on your feet, than to live on your knees! '

Wed, 18 Jun 1902 08:00:00 GMT

Remco de Kort#4 / 4

I got a problem in Pascal

Quote:

> And here it is.

> When I have converted my programs to and exe format. I try running it and > it says

> BGI Error: Graphics not initialized (use InitGraph)

> can anyone please reply to me and help me fix this problem.

> thank you > cya > Paul > --

If you're using bgi-graphics (which you are, otherwise the error wouldn't occur) you'll have to make sure you initialize the graphics mode correctly and that the bgi-file you're using is in the right (probably the current) directory. To prevent such problems you can either decide to not use bgi-drivers or to link them into your exe-file. There should be some docs about this somewhere in the package (look for files called bgidriv.*). You could also download the SMGRAF-tpu from the URL below which already has the EGAVGA-bgi linked in. You'll probably will get lots of replies stating that you shouldn't use bgi-drivers at all, which is correct but in case you insist this should help you out (bgi is a fast way to pick up graphics programming with often slow results).