C problem

Kevin Weddle

Feb 23, 2004
1,620
Joined
Feb 23, 2004
Messages
1,620
I am using the Borland compiler and the examples don't seem to work. I make a call to a standard function in the correct header file and it says it doesn't exist. What could the problem be? I have had similar problems with serial communcations functions.

I have a theory as to why it does not work. I think my windowsXP does not support these functions. Could this be true?

 
Last edited by a moderator:

Kevin Weddle

Feb 23, 2004
1,620
Joined
Feb 23, 2004
Messages
1,620
I quiried another post to find out that many functions aren't supported by the WindowsOS. However, my compiler is compatible with earlier Windows versions. I guess I just needed to read my CD to find out. But I cannot believe that my functions don't work just because it's WindowsXP. I posted in this forum because I believe that the basis for microcontrollers is the programming. I need at least to use functions that will interface with the microcontroller through the parallel and serial port.

 

mihir3445

Jul 7, 2004
6
Joined
Jul 7, 2004
Messages
6
due to sequrities and protection you might face problames with windows xp and windows NT.this problame will not occure with windows 98.or if you want to work with windows xp and windows NT then ask the qustion in on-line help by microsoft their engg. will show you the way....ok

 

mihir3445

Jul 7, 2004
6
Joined
Jul 7, 2004
Messages
6
hi,
can you send(post) the file that you have return so,the problame might be cleare.
=>one of the problame might be you have not saved the file with the extantion of *.c or *.cpp

 

Lee1

Jul 21, 2004
1
Joined
Jul 21, 2004
Messages
1
i think it's because u havent specified the correct directory in options/directories

 

saran1

Jul 29, 2004
1
Joined
Jul 29, 2004
Messages
1
hello sir,
pls give 4 B.E level projects based on electronics
thanks

 

Kevin Weddle

Feb 23, 2004
1,620
Joined
Feb 23, 2004
Messages
1,620
Here is the example I can't get to work. What could the problem be?

rs232.txt

 

Attachments

  • rs232.txt
    770 bytes · Views: 3

dontknowshit

Aug 4, 2004
1
Joined
Aug 4, 2004
Messages
1
outportb doesnt work on XP
you need a kernal mode driver
do a search for "inpout32.dll"
hope this helps

 

MP1

Dec 7, 2003
3,399
Joined
Dec 7, 2003
Messages
3,399
Here is inpout and all the associated documentation in a zip file:

MP

inpout32.zip

 

Attachments

  • inpout32.zip
    19.1 KB · Views: 3

Kevin Weddle

Feb 23, 2004
1,620
Joined
Feb 23, 2004
Messages
1,620
I need to know the process for serial communication under WindowsXP. I need to know what to include and what to load. I have the inpout/inpin files but I don't know if they are just for parallel port interfacing. Could somebody post the C code for please.

 
Last edited by a moderator:
Top