Unable to load (unmanaged) dll

G

Guest

Hi All,
Any ideas on how to resolve the run-time exception:

"Unable to load DLL 'EventMgr.dll': The specified module could not be found.
(Exception from HRESULT: 0x8007007E)"

It's raised when my app calls a static function in the dll. In my app I have:

[DllImport("EventMgr.dll", EntryPoint = "EventApiInit")]
static extern bool EventApiInit();

I've tried placing the dll in the app directory, in Windows\Wystem32 and in
Windows.

Any assistance would be appreciated.

Thanks!
Richard Wilder
 

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

Top