Hello,
I just started using C::B for programming using BGI (borland graphics).. using the WINBGI workaround. it requires me to add these switches ( -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32 ) to the linker. so everytime i compile a program that has graphics.h , things work fine.
but when i compile a program that does not use graphics.h , the program compiles fine though, after the execution i get a error dialog saying "Drawing Operation was attempted but there was no current window".
i figure this is happening because of the switches?
so how do i switch between compilers (am using borland right now along with the switches), how do i switch between borland and something else conviniently? say from the toolbar or something? does such a facility exist ?
if not, then how can i create it? can it be done if i wrote a plugin for C::B?
thanks