I have made an application in openCVSharp.It works great. I have made the setup/installer to this app and have included all the dlls required, also as mentioned in the Readme file that comes along openCVSharp, i have included openCVSharExtern.dll . When i execute the setup in my PC, its installs the app fine and the app runs fine too. But when i install the app on someother pc, it installs fine, but when its run on that pc, it throws an exception P/Invoke and something about cxcore210.dll...
What am i doing wrong?
Thanks
When you reference the DLL in your project, are you referencing the DLL in the location that gets installed by the installer?
e.g. if the DLL is installed one directory back in a certain folder then it should be referenced on your PC when you build it, one directory back with the same named folder.
I'm just wondering if when you build the app on you PC you are referencing the DLL from a different location (which works find on your PC because it exists) but on another PC it can't find it.
Related
we're trying to use a dll given to us by a different company, and on all development computer this dll is found fine and runs properly, but once we try to do the final build and publish it on one of our servers, the outside dll that we're usin gfrom this company is unable to be found and leads to the program crashing, any ideas for solutions and/or causes?
I am working on a cross platform Gui app using c# Visual Studio on Windows. I was hoping to port my code to linux via Monodevelop because i have tried it with another project and it worked.
However in this particular project I happen to use EasyTabs dll to create a chrome tabs on my app. The projects is error free on windows but on linux i get a dll exception error and one dll it says is missing is that of uxtheme.dll
I have tried to copy the uxtheme dll from my windows C:\Windows\System32
To my project and add it to my .csproj and even copied it to my debug and release folder. However this has not been successful. Any workable idea would do.
it looks like you are trying to run a winapi project on linux. While Monodevelop may look like it support windows envirnonment on linux os it is very important to note that not all dll and supportive windows runtime files are available. You have to look for missing dll files to fix your problem or simply write a program that does not require them at all
I am having a similar problem.
I have developed a c# app that is Pinvoking a dll which is dependent on some other dlls. On dev machine it is working fine. Even when i copy the debug folder, which contains all the dlls and exe file, to a different location it works fine.
When I copy the same folder to another machine, it gives the dll not found exception.
The interesting thing is that the error message gives a path to the code file present on the dev machine. Not sure how this information is known at the target machine?
I have tried both the debug and release versions, but release version just crashes, and the debug version gives the exception message.
I have tried the dependency walker but could not figure out if there is any missing dependent dll causing the error.
I have tried to install VC++ run time redistribution package as well but it did not work.
I am using VS2013 on Win 7 64bit on dev machine. The target is Win 7 64bit.
Dlls are related to tesseract OCR and copied from here.
So I have created a little C# game using XNA and would like to be able to show it to a few people and therefore ideally send it to them. As they're not great with computers I'd like to just simply be able to send them and executable file which they open and automatically runs the game. When I go into the debug folder in my project I find the executable file of my game, however I can only double click and run the .exe when it is in that file. If I drag it out onto the desktop and try and run it, it doesn't open and then eventually I get an error pop up saying 'BouncingBallGame Has Stopped Working'.
Could anybody help me as to why this could be, or am I going about it the wrong way completely and do I need to publish the project in visual studio or something?
Your game will need two things to run:
The appropriate .NET Framework to be installed on the target machine.
To have its supporting files with it. You'll notice that in the debug folder that it's not the only file. The executable needs all of these files too.
As mentioned by System Down
.exe file needs ..NET Framework to be installed on the target machine
& To have its supporting files with it.
or you can make a installer file of your project which will install your game into the host machine.
you can find a good Article here which shows how to build a installer file for your project.
I have a small application that includes two third-party DLLs, pjsipDll.dll and sipeksdk.dll. Both of these DLLs are set to True for Copy Local. When I publish the application and install it on a second computer running Windows 7, it loads the sipeksdk dll fine and then that dll tries to use something from pjsipDll and it errors out saying:
"Unable to load DLL 'pjsipDll.dll': The specified module could not be found."
If I install this clickonce deployment on my development computer it works fine.
I looked in the deployment directory in on both computers, both DLLs are present, all the files are the same. On both systems I'm running as an administrator.
Any ideas on what I might be missing?
Thank you,
Stateful
It's funny how you fix the problem after posting on StackOverflow. It appears I was using incompatible builds of the DLLs. I found an older version of each that were known to work together and everything started working.