I just created a windows application. I am trying to run UtilMPipeline.LoopFrames() method through it. But I am running it on different thread so that my UI thread will maintain responsiveness., but getting this error.
Could not load file or assembly 'libpxcclr, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. This occurs when I try to call method on different thread, but not while loading.
Here is my code
Navigator _navigator = null;
_navigator= new Navigator();
Task<bool> workerTask = Task.Factory.StartNew<bool>(() =>_navigator.LoopFrames());
_navigator.ApplicationGestureAlertEvent += new Navigator.ApplicationGestureAlert(_navigator_ApplicationGestureAlertEvent);
catch (Exception exx)
This is what i am trying to achieve. Can someone help me here with issue.
Thanks in advance