Calling a driver from a DLL

I have a disk driver that I was calling from a user-mode, command prompt
executable and everything worked fine. But when I compiled the functions in the
executable into a dll (To be called on by VB code) the driver did not function
correctly when called. The functions in the dll did not report any error when
calling the driver either, however it did not mount the disk as it did before.
I know this is a pretty vague question, but does anyone have any insight into
this problem?

I compiled the dll as well as the driver using the DDK. The VB code is calling
the dll via DllImport and everything seems to run smoothly the driver just
doesn’t run properly.

Thank you in advance.


This message was sent using IMP, the Internet Messaging Program.