SCSI Pass through using VB6

Does anyone know of resources either in books or on the web, or does anyone have experience of using SCSI Pass Through / Direct using (ideally VB6).
I am interested in how to set up the IOCTL_SCSI_PASS_THROUGH / DIRECT without using .net I have tried some sample .net code and it is clunky and very slow.
LVL 4
mikemAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kyle SantosSoftware Test Analyst I at Dassault SystemesCommented:
Hi,

I am here to help you with your open question.  Do you still need help?  I have the ability to alert more experts if you still need help.

If you solved the problem on your own, would you please post the solution here in case others have the same problem?

If you need me to delete this question just say "Delete."

Thank you for using Experts Exchange.

Regards,

Kyle Santos
Customer Relations
mikemAuthor Commented:
Hi Kyle

Still looking for an answer to this.

Thank you.

Mike
mikemAuthor Commented:
Thank you.
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

DavidPresidentCommented:
I've written SCSI passthrough code in just about every O/S you can imagine.   For the MSFT environment, you want to use visual C.  No need to do any .NET.  It can be lean and mean code of a few KB.  

No WAY is the code slow, it is ALWAYS going to be device.  Consider it takes nanoseconds to tell a device to execute the code, but takes milliseconds to execute most SCSI commands.

The various online MSFT manuals and visual studio has examples of  IOCTL_SCSI_PASS_THROUGH.  

If it is slow, you could be doing a lot of things wrong, post your code.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kyle SantosSoftware Test Analyst I at Dassault SystemesCommented:
mikem,

An expert has replied.  Is there anything else I may assist you with?

Regards,
mikemAuthor Commented:
Thanks David, I had written code that used the winaspi interface on Xp that was very fast, I did write some .net code using stuff I found on the web, but it is dreadfully slow, at best half as slow when directly reading sas hard drives on xp! In the meantime, I have found a scsi dll that is distributed as a separate package from the company that writes visual scsi explorer, this will hopefully resolve the problem and save time. However I will give you the answer, because at least you replied. Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
vb6

From novice to tech pro — start learning today.