I Have a very strange issue with error 1172, and not sure if this is related to .net or 32/64 bit os issue.
My program is calling a .net dll and is running perfectly well under my 32 bit laptop. When i run this under another 64 bit laptop (both under win7), i encountered error 1172.
I have tried to reinstall the .net framework but with no luck. My labview dev tool is 32 bit.
This is really killling me. Anyone hav idea whats going wrong? What else can i do?
Solved! Go to Solution.
I would guess that at least 90% of the PCs running LabVIEW run a 64-bit OS and 32-bit LabVIEW (or at least have done this for the last 5 or so years). You might put some probes on the Error Line and try to determine exactly where the Error occurs, then try to ascertain the inputs to the "bad" call.
The exception message, and your post, doesn't give us much to go on without any details (like what is an EpdsHid, project attached, what your VI is doing etc.). Posting this would improve your chances of a helpful suggestion.
In lieu of that my best guess right now would be that a Windows driver is missing in your 64-bit environment for whatever hardware you are using.
Thank you all for the feedbacks.
Attached is the subvi and dll that causing the error.
Also, i notice that there are many drivers missing from the target laptop, see encl screenshot, would this cause the issue?
The laptop has been downgraded from win10 to win7 due to labview version.
Looking at the .NET assembly you provided it makes a number of calls to the Win32 API; specifically hid.dll to enumerate devices. Odds are there is no driver for the device you are using and thus you are getting an exception:
You most likely will need the Windows 7 driver for the device you are using. Contact the manufacturer or look online.