?
Solved

Accessing SCSI devices (TAPE) under Windows95

Posted on 1998-03-06
5
Medium Priority
?
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

752 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