12-20-2010 08:07 PM
I have a DLL I have built using LabVIEW 2009 SP1 and for some reason it will not accept values passed to it using VB6. I am using the Standard Calling convention and using the appropriate types for calling the function. uint_32 --> long, int_32 -> long, uint_8 --> byte, etc. Despite that regardless of the value I pass into the function the DLL sees it as "67220" constant when it's uint_16 and when it's int_32 1307956. This only happens for some of the parameters being passed into the function. (I have writtent the values for the controls into txt files for debugging before doing any other kind of processing.) Has anyone experienced similar problems using application builder to build DLLs?
Thank you,
Mehmet Gerceker
12-21-2010 12:44 PM
Mehmet,
Does the DLL behave in the same way if you are calling it in LabVIEW with the Call Library Function node? It might help to upload a VI calling it and the DLL in a zip file.
Regards from Texas,