Solved

Accessing SCSI devices (TAPE) under Windows95

Posted on 1998-03-06
5
282 Views
Last Modified: 2013-12-03
Can anyone point me in the right direction to get me started?

I need access to a tape device connected to my PC via an NCR SCSI adapter. I can find the calls for NT to do tape accesses but not for Win95.

Can anyone get me started here ?

reragds - Mike Wright
0
Comment
Question by:mwright012397
  • 2
  • 2
5 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 100 total points
ID: 1411772
NT supports SCSI devices by default through an API but Win95 does not.  Go to the Adaptec web site (www.adaptec.com) and get the docs on the ASPI SDK programming library for Windows95.
0
 

Author Comment

by:mwright012397
ID: 1411773
My controller is NCR/Symbios not adaptec. Do your comments still apply ?

0
 
LVL 32

Expert Comment

by:jhance
ID: 1411774
Yes, if you want to program it under Win95 you have two options:

1) Write your own hardware devices driver for the card and if you want to run any off the shelf apps for it, you will need to make it ASPI compliant.

2) The card's manufacturer should have included an ASPI driver with the card.  You can access the card through the ASPI API to control whatever you need to on the SCSI bus.
0
 

Author Comment

by:mwright012397
ID: 1411775
Thanks - I have got going now

0
 

Expert Comment

by:nockert
ID: 1411776
Another (easier?) solution is to use GetASPI32SupportInfo() and SendASPI32Command() which is available under win95. These are documented in at least the Visual Studio 97 documentation. I think the only way to access them is through run-time explicit linking with wnaspi32.dll (by using LoadLibrary() and then GetProcAddress()).

Once you read the documentation you will get the hang of it pretty soon, though you will undoubtedly have to search a while to find everything (a word-search for aspi will get you started). Don't really know under what heading I found it, but I am sure there also existed a document describing what commands an aspi-compliant device should respond to. Although, you might have to find some scsi-command-docs for the specific device anyway.





0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question