Welcome to the wonderful world of porting code. Basically, you have to look at how those non-standard functions are used (and what they do) and figure out an alternative way of solving the same problem using the non-standard functions you do have with your compiler.
For large libraries (like OpenGL), there is a good chance that someone has already done the hard work of porting the library to your platform (in which case the answer is easy, you download the library for your platform).
> I have a program for getting data from the serial port of a computer,
Perhaps you should say which Operating System and Compiler you do have, then perhaps we can make a better suggestion.
CreateFile
The CreateFile function creates or opens a file, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe. The function returns a handle that can be used to access the object.
If you follow that through, then you should be able to replace the serial port code you have with equivalent win32 calls.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.