Hi,
I'm attempting to use the c# wrapper for the Xmp SDK, CsXmpToolkit.
This may be more of a C# question than a specific Xmp SDK question, but this seems like the best forum, so here goes.
Right now, I'm just trying to get some simple tests running, but it seems like when I run my tests, the CsXmpToolkit classes can't find the necessary XmpToolkit libraries.
For example, in the CsXmpToolkit code, there's stuff like this:
[DllImport("XmpToolkit", EntryPoint = "XMPFiles_Initialize1", CharSet = CharSet.Auto)]
private static extern bool XMPFiles_Initialize1();
this is how the C# code binds/wraps around the XmlToolkit code.
however, when I run tests on this stuff, like so:
XmpFiles.Initialize();
I get the error
System.DllNotFoundException: Unable to load DLL 'XmpToolkit': The specified module could not be found.
now, this is my first time dealing with this [DllImport business, so perhaps I'm missing something simple.
However, I'm noticing a few things:
1. I don't have any dlls for XmpToolkit. There's some .lib files, like
C:\CsXmpTk\SE.Halligang\XmpToolkit\lib\XMPCoreStaticRelease.lib
and
C:\CsXmpTk\SE.Halligang\XmpToolkit\lib\XMPFilesStaticRelease.lib
is that what CsXmpToolkit is trying to load when it calls
[DllImport("XmpToolkit", ?
2. relatedly, the referenced "dll" in DllImport is "XmpToolkit" , not "XmpToolkit.dll", .lib, or .anything else.
what does that mean?
is there some build procedure I need to do on CsXmpToolkit to get this to work?
Has anyone been successful with this stuff?
any help would be greatly appreciated, and rewarded with a off-hours tour of the Met, if you're in the area..
thanks very much!
don undeen
Metropolitan Museum of Art