BGI for Windows


Version: 1.0
Size:
76KB
Category:
Development
C/C++
Requirements:
No special requirements
Seller:
garret.ru
Price:
Free
System:
Windows XP/2000/98
Rating:
4.2
License:
Freeware

Description - BGI for Windows



This package contains emulation library of Borland Graphics Interface (BGI) for Windows-95/NT. This library strictly emulates most of BGI functions(except using of non-standard drivers). Also may be mapping of fontsis not correct. But as Far as sources are also available, you can easily customize them for your application. Unfortunately direct workwith palette colors (setpalette, setbkcolor, write and putimage modes other than COPYPUT) is supported only for 256-colors Windows mode.Also I have used this library for only few programs (bgidemo iscertainly the most Complex one) so I can`t guaranty that allfunctions always work properly. I am also sorry for the lack of parameter checking in WinBGI functions. So summarizing all above:WinBGI advantages: 1) Allows you to run your old Turbo-C DOS applications in 32-bit mode in normal windows. So you can easily overcome all 64Kb limitations and getting 32-bit application by simple recompilation !2) Graphics is much FASTER with WinBGI (because native Win32 API is used with minimal emulation overhead) in comparison with original application running in DOS session under Windows (especially at my PPro-200 with NT). Also it seems to me that some things (like switching of graphical pages) are not working properly in DOS mode under Windows-NT.3) You can use WinBGI for creating non-event driven graphical applications. For example if you want to write a program which only draws graphic of functions, it is not so easy to do with windows. You have to handle REDRAW messages, Create timers to output next graphics iteration... It seems to me that BGI is much more comfortable for this purposes: you just draw lines or points and do not worry about window system at all...WinBGI shortcomings:1) Handling of Windows events is done in BGI functions kbhit(). getch() and delay(). So to make your application work properly You should periodically.

BGI for Windows Work Properly


More in C/C++-BGI for Windows

Functions Application Work Properly Dos Session Under