I've made a NET wrapper for a small C library.
The wrapper works ok on my dev machine however it won't run on my
second computer (and other computers). I have NetFramework 2.0 and VS
installed on my second machine.
Here's the error I get when I click the debug button in the error
dialog:
System.DllNotFoundException was unhandled
Message="Unable to load DLL 'ManyMouseDLL.dll': This application has
failed to start because the application configuration is incorrect.
Reinstalling the application may fix this problem. (Exception from
HRESULT: 0x800736B1)"
Source="ManyMouseNETLibrary"
TypeName=""
StackTrace:
at ManyMouseNETLibrary.ManyMouseNETClass.ManyMouse_In it()
at ManyMouseNETLibrary.ManyMouseNETClass.Init(Int32 WorkSpaceX,
Int32 WorkSpaceY, Int32 Speed)
at WelcomeCSS.Main()
ManyMouseDLL.dll is the C library. You can download it and the C#
wrapper on this page:
http://calinnegru.googlepages.com/downloads
Here is a small app to test the library:
http://calinnegru.googlepages.com/manymousenetexample
Any suggestion how to fix this is appreciated.