DLL won't run on user computers

  • Thread starter Thread starter Calin
  • Start date Start date
C

Calin

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_Init()
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.
 
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_Init()
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.

I have it fixed. I had to install the VS SP1 redist
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top