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

Recommended Answers

All 6 Replies

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.

as far as i know, NT based systems dont like people accessing ports directly. Try 98.

Install GiveIO, it will give you access to the ports under XP.

thanks for your kind advice i will try these things.

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

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.

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.