![]() Serial ports are simple 9 pin legacy ports used by the PC to communicate with external peripherals like Printers,Data Acquisition Sytems,Printers etc. Make sure that variables referenced by those functions are also changed. Which are used to get the COM number from the user and create the COM port address string (Eg "\\.\COM9" ).The code will compile on GCC after removing those functions. ![]() The Code uses some Microsoft specific safe C functions like You can also compile the code using GCC or MinGW after a few tweaks. C extension (Eg: MySourceFile.C).Compiler would automatically do the rest. So create a Win32 C project and save your source file with a. In Visual Studio,there is no longer an option for creating a C project.
0 Comments
Leave a Reply. |