Below my question… your answer is
“What Visual Basic do you actually use? The samples were created for Visual Basic 6, so if you are using them under Visual Basic .NET then then the behavior can be different. An example managed memory can’t be directly passed to driver.
I use VB 6.0 and windows XP service pack 3.
Sometime my project(passthru.exe) runs well, but sometime that statement occur error.
How can I solve it?