Solved

Accessing SCSI devices (TAPE) under Windows95

Posted on 1998-03-06
5
280 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
Comment Utility
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
Comment Utility
My controller is NCR/Symbios not adaptec. Do your comments still apply ?

0
 
LVL 32

Expert Comment

by:jhance
Comment Utility
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
Comment Utility
Thanks - I have got going now

0
 

Expert Comment

by:nockert
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

763 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now