Thread: Can't run BGI :(

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    1

    Can't run BGI :(

    Hey, guys I need some help here. I'm trying to run the Borland Graphics Interface on Windows 7, but I can't get it to run even the most simple 'Hello World' program. I get an error saying 'build error: Error 126' in the file 'makefile.win' I have absolutely no idea what any of this means, and the BGI help is utterly useless. Help me out, please!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Which compiler are you using?

    Because BGI is an ancient fossil, and should not be used for any new code (or be taught to any new students).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    If you are on Windows 7 64bit it's going to be because x64 does not support 16 bit programs.

    Also BGI graphics are for DOS, not windows.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to run an exe command in c++ and get back the results?
    By mitilkhatoon in forum C++ Programming
    Replies: 5
    Last Post: 09-21-2006, 06:00 PM
  2. calculating the mode
    By bigggame in forum C Programming
    Replies: 10
    Last Post: 06-13-2006, 03:04 AM
  3. How I can Run exe file in C++
    By palang in forum C++ Programming
    Replies: 2
    Last Post: 05-10-2006, 11:55 AM
  4. MSVC: run w/o debugger vs run w/ debuger
    By skorman00 in forum C++ Programming
    Replies: 2
    Last Post: 01-24-2006, 09:49 PM
  5. Replies: 2
    Last Post: 10-29-2002, 04:56 PM

Tags for this Thread