I am having trouble using the ‘K8047D.dll’ in VB.NET. Can someone who has been successful post their code?
Thanks
I am having trouble using the ‘K8047D.dll’ in VB.NET. Can someone who has been successful post their code?
Thanks
Here is the link to download K8047/PCS10 demo written in Visual Basic 2008 Express:
box.net/shared/t5se5yp5s6
All the latest accompanying files are in the subfolder \bin\debug
The files are:
K8047D.dll (v2.0.0.0)
K8047e.exe
FASTTime32.dll
Thanks for the quick reply. I downloaded the example and the example works. I am trying to encapsulate it within a class and if I extend the example to do that it works as well. whenever I use the exact same code in my app it fails and when I create a new ‘Windows Application’ and copy the code verbatim it fails. Is there a project configuration setting that I am missing?
Thanks
There is nothing special in the project configuration settings.
What version of Visual Basic are you using?
What kind of problem are you encountering?
What is the error message(s) you are getting?
-MS Visual Studio 2008 Professional
-call to dll is made without error but also with no response. call made to turn LED on/off has no response and call to ReadData returns with empty array.
any ideas why it works in one and not the other when the exact same code is used?
Thanks
I think your program finds only the DLL but not the K8047e.exe.
In my project those files are in the project’s subfolder \bin\debug
You may copy these files to the folder \bin\debug or to the System32 (or SysWOW64 folder if you have 64-bit operating system):
K8047D.dll
K8047e.exe
FASTTime32.dll
I neglected to copy over the ‘K8047e.exe’ file before but now that I have it works as expected. Thanks for the help!