Solved

tape interface under Windows NT using C++ functions

Posted on 1998-03-29
1
277 Views
Last Modified: 2012-08-14
How can I read a tape from a C++ program ? I would like to use the "tape0" device driver providing by Windows NT. I succeed to open the device thanks to the CreateFile function but I don't succed to read the tape with the Readfile function. Can I read the tape as a great file, with any Windows NT format?
0
Comment
Question by:delphine_clara
1 Comment
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 100 total points
ID: 1183927
You need to use the tape functions:

  BackupRead
  BackupWrite
  BackupSeek
  CreateTapePartition
  EraseTape
  GetTapeParameters
  GetTapePosition
  GetTapeStatus
  PrepareTape
  SetTapeParameters
  SetTapePosition
  WriteTapemark

For more information, look in your online help for these functions.


0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

758 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

19 Experts available now in Live!

Get 1:1 Help Now