DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   AT or ATX commands using c (http://www.daniweb.com/forums/thread121681.html)

arunkp Apr 30th, 2008 3:56 am
AT or ATX commands using c
 
friends
i need to send AT or ATX commands using c language
i tried to write the data using biosserialcom() fn to write to serial port in win XP.
but it failed .some error camesayin "16bit msdos subsystem error"


my question is whether i will be sucessful if i tried C from win98or the previous error was due to some other reasons?

thanks in advance

Salem Apr 30th, 2008 11:17 am
Re: AT or ATX commands using c
 
Which compiler are you using on XP?

Because it seems you're using some ancient fossil DOS compiler. The "DOS Compatibility" will only take you so far, so it seems you've run out of luck.

jbennet Apr 30th, 2008 12:14 pm
Re: AT or ATX commands using c
 
as far as i know, NT based systems dont like people accessing ports directly. Try 98.

Colin Mac Apr 30th, 2008 8:06 pm
Re: AT or ATX commands using c
 
Install GiveIO, it will give you access to the ports under XP.

arunkp May 2nd, 2008 2:28 pm
Re: AT or ATX commands using c
 
thanks for your kind advice i will try these things.

another can i do the same using VB.net win32 console ??
if so can anyone help in this matter?
basically i don't know vb.help me to code it.
atleast which fn is used for serial communication

Salem May 2nd, 2008 2:32 pm
Re: AT or ATX commands using c
 
If you're going to change language and architecture every time you hit a small road-block, there's no helping you.

Ask your vb questions in the vb forum.

jephthah May 2nd, 2008 2:36 pm
Re: AT or ATX commands using c
 
if you're using winXP, you should NOT be using some old crusty DOS compiler

MSVC is given away free by Microsoft.

get it. use it. love it.


All times are GMT -4. The time now is 5:06 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC