?
Solved

Accessing SCSI devices (TAPE) under Windows95

Posted on 1998-03-06
5
Medium Priority
?
290 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 400 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and 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…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

862 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