sorry you're having so much trouble. i'm afraid i have no idea about converting old borland graphics libraries. i avoid ever using them in the first place.
at leas this can serve as a warning to others, to stay clear of developing on Turbo C, especially with the antiquated graphics or conio libraries. there are libraries that attempt to recreate these functions for other compilers, but they always have problems.
if you stick to coding in standard C, you'll avoid thes problem. if you need to go outside the standard, then use modern portable libraries and modern compilers.