Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 23rd, 2006, 5:59 AM   #1
dzyl
Newbie
 
Join Date: Mar 2006
Posts: 1
Rep Power: 0 dzyl is on a distinguished road
Question turbo C code for detecting a device

we are using turbo c in making a program for our pc based oscilloscope device. our program can't detect our hardware. may we know the turbo c code for detecting our hardware?

Note: we are using windows xp service pack 2 for our operating system and the device that we are making is a parallel port device.

we're very much thankful for your response..
dzyl is offline   Reply With Quote
Old Mar 23rd, 2006, 6:15 AM   #2
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Maybe this?
I've never tried Turbo C, so I don't know. Normally one would use device drivers.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Mar 23rd, 2006, 6:23 AM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
When Turbo C came out most desktop PCs were running in an unprotected or barely protected mode; one could dink with everything in the system, no sweat. That is no longer the case. You'll need to learn how to get to a lower level or find device drivers with facilities that do it for you.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:01 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC