Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


converting Borland header to VC++ header

This topic is 6203 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have a header file that came with a book I rented from the library, so I don''t the name of, but it had a file called "conio.h", wich I already have for VC++ 6.0, but when I try to use the functions in it, It gives me the error: link error: .. unresolved external _puttext ... Basicaly, It can''t find the implimentation for the function "puttext" because, the implimentation is not in the header file. Implimentations are not in my other conio.h file, but those functions still work why is this? There are functions for moving the cursor in DOS mode, and placing text at location x, y in DOS mode which my other conio doesn''t have. If there are any functions that come with VC++ 6.0 that do this, I would be just as happy. Also I don''t have windows running. Just DOS. Thanx for the help Zach Dwiel

Share this post

Link to post
Share on other sites
Implementations (generally) are not in .h files, only declarations are in .h files, so copying over some extra declarations wouldn''t help you any.

Borland has a bunch of non-standard stuff in their conio.h file, that Visual C does not contain. Since Dos console manipulation is going to be non-standard, then you just have to figure out what methods your current compiler libraries have for that sort of stuff. For Visual C, I believe you need to look up AllocConsole and that family of functions.


Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!