Unable to load dll problem
Posted: Sun Feb 03, 2013 3:20 am
Hello, I have got project in C# and I am using V120:Trio camera. When in connect the camera to usb it connects successfully, but if I start my project it shows this error:
http://i.imgur.com/Ddh48B2.png
http://i.imgur.com/XeBwYjk.png
I am using DllImport with NPTrackingTools.dll, which is copied into each folder of project. Dll import looks like this:
[DllImport("NPTrackingTools.dll", EntryPoint = "TT_Initialize", CallingConvention = CallingConvention.Cdecl)] public static extern void TT_Initialize();
Where is my problem? When I am using Tracking tools everything goes properly but if I try to connect it with my program it goes wrong.
System is Windows 7.
http://i.imgur.com/Ddh48B2.png
http://i.imgur.com/XeBwYjk.png
I am using DllImport with NPTrackingTools.dll, which is copied into each folder of project. Dll import looks like this:
[DllImport("NPTrackingTools.dll", EntryPoint = "TT_Initialize", CallingConvention = CallingConvention.Cdecl)] public static extern void TT_Initialize();
Where is my problem? When I am using Tracking tools everything goes properly but if I try to connect it with my program it goes wrong.
System is Windows 7.