Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

C/C++ program for communicating with port in Windows XP

Status
Not open for further replies.

samnang39

Full Member level 2
Joined
Oct 26, 2006
Messages
130
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,296
Location
Cambodia
Activity points
2,246
Hi,

c/c++ programme can communicate with port in windows 98 but in windowxp cannot. what should i do?
 

C/C++ work with port

i'm using program called "userport" and it works fine. Make sure you have an admin priveledge because it's don't work if you don't have the priveledge.
The program's purpose is to open the user priveledge because window xp and windows 2000 already blocked all user to access port.

Good works
 

    samnang39

    Points: 2
    Helpful Answer Positive Rating
C/C++ work with port

use userport.
see this link to see how to do it
**broken link removed**

Bibin John
www.bibinjohn.tk
 

    samnang39

    Points: 2
    Helpful Answer Positive Rating
Re: C/C++ work with port

by using the C/C++

u can interface the serial and prarllel port ...... for learning purpose please install the Windows 98 for desire result

if u face any problem then i have programs in C languge to interfacing so i will send u .............
 

Re: C/C++ work with port

Ok thanks but do we can used winxp because i don't want to used win 98. Do we can interface with serial port on winxp by c/c++?
 

Re: C/C++ work with port

yes, u can use the serial port in Xp no problem.........

but in parallel port i am not sure because when i was interfacing the LPT onwindows 2000 there was continous logic 1 at the LPT port after some time
 

Re: C/C++ work with port

Ok could you please send me the example code for serial port in C/C++

Thanks in advance
 

C/C++ work with port

Sometimes i must give logic '1' to all the control and data bus to make it works, after give that logic you can use the port normaly. That's what i get when i'm using visual basic 6.0
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top