I'm new to "sharperCV" and i'm new to issues regarding managed and unmanaged code... i'm new...
I've a problem using this usefull wrapper for the openCV library because i cannot add the reference for the dll called "highGUIsharper.dll" and the resulting exception is the following:
CvImage src = new CvWindow( "Source Image Window" ); =====>
"Unable to load DLL 'highGUIsharper.dll': Impossibile trovare il modulo specificato. (Exception from HRESULT: 0x8007007E)
at SharperCV.CvWindow.cvNamedWindow(String windowTitle, Int32 autosize)
at SharperCV.CvWindow..ctor(String windowName, Boolean autoSize)
at SharperCV.CvWindow..ctor(String windowName)
at TestSCV.Test1..ctor() in C:\code\elab\TestSCV\TestSCV\Test1.cs:line 21"
I don't use directly "highGUIsharper.dll" but it is called by "openCVWrapper.dll". I can add the reference to the latter but not to "highGUIsharper.dll".
I know that maybe this is a problem that can be solved only from someone that had the same problem but maybe i'm wrong with somthing simple...
Thank you

SharperCV dll problems
danjones
Actually, i have a same problem . In the your instruction for setup, i couldnt find "Copy to output directory" property on the solution explorer (visual NET 2003) on my computer. Could u tell me where that option is.
thaks
Learner006
What is this sharperCV A third party component
Are you referencing all dependencies
Al Hibbs
Thanks a lot for your interest
Jocker23
One solution will be to have all SharperCV dll files in the same directory as your executable. That is the Debug directory if you are debugging.
I downloaded SharperCV and did the following.
Loaded up the SampleFaceFinder project
Changed the reference to openCVWrapper to be to the openCVWrapper.dll in C:\SharperCV\bin\
Added all dll files from C:\SharperCV\bin to the project, as files.
In the solution explorer, for every DLL, I changed the "Copy to output directory" property to be "Copy if newer"
Solmyr
I cannot add the needed dll's and also the samples given in the sharperCV installer doesn't run for the same problem.
Ken Villines
However i still some problem in my code like ( An unhandled exception of type 'System.NullReferenceException' occurred in opencvwrapper.dll ) despite i refferenced that file again and again in the release directory. I didnt understand what kinda problem is exactly. If its possible for you, could you send me your program file to my e-mail address (ebnhuseyin@hotmail.com.tr). maybe this is better for me.
thanks again
sullbert
i have the same problem
but when i copy all of the dll file in c:\SharperCV\bin\ into the debug folder
it got work
TavKat
rpg4msdn
I can not find any such option in VS2003. Optionally you can copy the dll files yourself to the debug/release folders.
You can also add a build event that copies the file. This simple version will always copy them but you could extend it to only copy if they don't exist.
Open the properties for the project.
Go to Common properties->Build events
Enter this for post-build event: copy $(ProjectDir)*.dll $(TargetDir)
This assumes the dll files necessary are in the projectfolder.