Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Accessing SCSI devices (TAPE) under Windows95

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

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

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 …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

610 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