Click to See Complete Forum and Search --> : Serial port and Win NT


kapil
April 7th, 1999, 12:41 PM
i made a software in VC++ (compiled it on win 95)
it accesses the serial port(through standard "ReadFile & WriteFile" commands)
and transmits data onto some hardware connected to the PC, through the serial port. when i tried to run the executable on win NT, it said that it can't access the port.
i even tried to run the executable from the administrator's account, just to make sure that you don't need administrative priveliges to access the port.
but it failed even there.
how do i fix this problem?

thanks in advance.

Syeda Kulsoom
March 18th, 2001, 04:37 PM
hi,
its not actually reply to your question.
I need help from can u cuz i m also in problem to read and write COM ports
plz reply if ucan help i m working in turboc2

thanks
S kulsoom fatima
paksitan

VGirish
March 18th, 2001, 06:15 PM
Hi,

1) Did you check if some other software has already opened the port ? If YES, then close it and then run your program . It should work.

2) Is it the same PC ? If YES, then Use some other testing software to test if the port is OK and working.

3) If the above 2 fail, let me know about it.

Let me know if that helped.
Visit http://www.geocities.com/contactgirish/homepage.html for some VC++ Links & Notes.If you have time, you can sign the guest book there.
[b]Regards,
V.Girish