I am trying to access a dll (the eztwain dll from DOSADI) from labview. I have all the functions parameters in the documentation. I am new at that stuff (dll access), so even though it feel like I am putting all the required parameters, often I got labview to close itself after I (successfully) access a function or it generate the following attached error message. Any insight at the reason why it is doing that ?
Has anyone by chance ever used that Dll (http://www.dosadi.com/products.htm) to access twain devices (such as scanner)? or does anyone know of an easy way to access twain devices from labview.
I am running win2k workstation, and I am using labview 6.1. The Dll (as well as documentation) can be freely downloaded from (http://www.dosadi.com/products.htm); I am trying to access the Pro version. Here is the direct link to the zip file: http://www.dosadi.com/pub/eztw2.zip
Note: the authors include some VB and C++ program examples that sucessfully access the DLL. So it has to be something I am doing wrong.
Here is the code (or one of the variations I tried).
Note: I tried the code on another PC (same OS, same version of labview), and I get the same identical erro but for the error code (0x150 this time instead of 0x13C).