|
From: Kevin W. <ke...@me...> - 2001-11-18 19:10:55
|
If you are writing a Windows program, use CreateFile for serial and parallel port access. This is the recommended way, but (except for WinNT) you could use assembler code. I have not tried parallel port access under Windows32. Using CreateFile seems more complicated than the "old" way, although most of the parameters mentioned in the SDK are for serial port access. Kev. ----- Original Message ----- From: mc.navar <mc....@gm...> To: <dev...@li...> Sent: Sunday, November 18, 2001 4:09 PM Subject: [Dev-C++] port access??? Hi! I want to programm an little robot. I used the Dev-C++ for my last C-projects and so this time too. I use the dev-c++ with the mingw-compiler. Now my problem after reading many homepages I know the compiler doesn't support functions like inpportb() and outportb(). I red in the Dev-C++ forum that hong lia developed some libraries and header files with can solve my problem. I was on his home page but the link was broken. Now my question know anyone how to access the parallel or serial port in dos with the Dev-C++. Thanx mc.navar |