hi ,
porting the application which basically communicate through serial to windows 7 so trying building the c code having issues can someone help me out in building a exe in 64 bit.
Thanks,
sathya
hi ,
porting the application which basically communicate through serial to windows 7 so trying building the c code having issues can someone help me out in building a exe in 64 bit.
Thanks,
sathya
Well you pretty much have to throw it away and read MSDN on how to use the serial port using the Win32 API.
You can save all the code which deals with data once it's in memory.
But all that serial port interrupt and hardware registers bit-bashing has to go.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
As Salem told you, this code is an old code for MS-DOS and won't work on WINDOWS!