User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 375,223 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,248 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser:
Views: 293 | Replies: 6 | Solved
Reply
Join Date: Dec 2007
Posts: 4
Reputation: arunkp is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
arunkp arunkp is offline Offline
Newbie Poster

AT or ATX commands using c

  #1  
Apr 30th, 2008
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2005
Posts: 3,058
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 20
Solved Threads: 348
Colleague
Salem's Avatar
Salem Salem is offline Offline
void main'ers are DOOMed

Re: AT or ATX commands using c

  #2  
Apr 30th, 2008
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.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Reply With Quote  
Join Date: Apr 2005
Location: Old Hampshire, Old England (LOL)
Posts: 11,937
Reputation: jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough jbennet is a jewel in the rough 
Rep Power: 30
Solved Threads: 263
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Microsoft Fanboy

Re: AT or ATX commands using c

  #3  
Apr 30th, 2008
as far as i know, NT based systems dont like people accessing ports directly. Try 98.
Last edited by jbennet : Apr 30th, 2008 at 12:14 pm.
TRY MY SUGGESTIONS AT YOUR OWN RISK!
james.bennet1@ntlworld.com
Reply With Quote  
Join Date: Sep 2006
Posts: 252
Reputation: Colin Mac is on a distinguished road 
Rep Power: 2
Solved Threads: 16
Colin Mac Colin Mac is offline Offline
Posting Whiz in Training

Re: AT or ATX commands using c

  #4  
Apr 30th, 2008
Install GiveIO, it will give you access to the ports under XP.
Reply With Quote  
Join Date: Dec 2007
Posts: 4
Reputation: arunkp is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
arunkp arunkp is offline Offline
Newbie Poster

Re: AT or ATX commands using c

  #5  
May 2nd, 2008
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
Reply With Quote  
Join Date: Dec 2005
Posts: 3,058
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 20
Solved Threads: 348
Colleague
Salem's Avatar
Salem Salem is offline Offline
void main'ers are DOOMed

Re: AT or ATX commands using c

  #6  
May 2nd, 2008
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 dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Reply With Quote  
Join Date: Feb 2008
Location: Seattle
Posts: 670
Reputation: jephthah is a jewel in the rough jephthah is a jewel in the rough jephthah is a jewel in the rough 
Rep Power: 4
Solved Threads: 43
jephthah's Avatar
jephthah jephthah is offline Offline
Practically a Master Poster

Re: AT or ATX commands using c

  #7  
May 2nd, 2008
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.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C Marketplace
Thread Tools Display Modes

Other Threads in the C Forum

All times are GMT -4. The time now is 3:43 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC