473,403 Members | 2,222 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

DLL won't run on user computers

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.

Apr 2 '07 #1
2 5418
HI Calin,

This is probably related to the version of the C runtimes that your wrapped
component is referencing.
Please see
http://blogs.msdn.com/eldar/archive/...07/621501.aspx
http://blogs.msdn.com/eldar/commentr...?PostID=621501

Hope this helps - wibberlet
Development blog at http://wibberlet.blogspot.com

"Calin" wrote:
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.

Apr 2 '07 #2
On Apr 2, 12:52 am, "Calin" <calinne...@gmail.comwrote:
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.
I have it fixed. I had to install the VS SP1 redist

Apr 2 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Warner | last post by:
I have a wierd problem that I can't find any reference to in the knowledge base. I develop simple databases at the company where I work, and many of them are used by hundreds of employees. We all...
8
by: drose0927 | last post by:
Please help! I can't get my program to exit if the user hits the Escape button: When I tried exit(EXIT_SUCCESS), it wouldn't compile and gave me this error: Parse Error, expecting `'}''...
24
by: Rob R. Ainscough | last post by:
VS 2005 I have: ClickOnce deployment User's that hate and or don't want to use an IE Client (don't blame them) I don't see how ASPX web pages are going to survive? With .NET 2.0 and clickonce...
5
by: Rocky | last post by:
Hi, I have a webform, with 2 textboxs and a submit button. In the text box1, i enter a username and in textbox2 I enter the computer name. Both the username and computer name is in active...
0
by: jakobsgaard | last post by:
It is possible to Map a certificate to a Active Directory User Account from DotNet? Please provide an example. Best regards, Ejnar Jakobsgaard...
2
by: Doug Streifel | last post by:
I've got an application that I've written in C# that reads and writes to the filesystem. On the computer I developed the application on, everything works properly. If I try to run it on another...
3
by: Chris Noble | last post by:
I need to be able to read and add to the collection of email addesses for an Active Directory User with a mailbox. I assume that this is a collection object. However I can't find any help on which...
2
by: Sanctus | last post by:
Is there a way around this? I have a SQL 2005 with 8 GB of memory that I want to set AWE on. But the local security policy won't let me, it says: This setting is not comaptiple with computers...
1
by: 2boysnus | last post by:
I set up a network at my work last week and we have been having some problems that I have not ben able to fix. We have: 2 New computers running Windows XP 2 New Computers running Windows Vista...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.