Knowledge Base Article
Article Type: Error Message
Product: Symphony
Product Version:
Component:
Device Brands:
Created: 23-May-2012 1:44:05 PM
Last Updated:

Cannot load DLL file or Cannot find the specified module

Issue

You are trying to implement an SDK integration with Senstar Symphony and you receive the following error:

Cannot load DLL file ‘AINetLib.dll’: Cannot find the specified module.  (HRESULT Exception: 0x8007007E)
  • The DLL file is on the right path, and you’ve also tried copying it into the exe file generated, but it still does not work.
  • When trying to register the DLL or when adding a reference through Visual Studio you also receive an error message.

Solution

  1. Install Symphony and copy the EXE you are trying to run into the Aimetis\Symphony\_bin folder.
  2. Run the EXE from that folder.
  3. If that works, it means that dll could be found on the problem system BUT one of dll’s dependencies could not be found. 
  4. To find that dependency: Download a Dependency Walker (depends.exe) online. Missing DLLs are indicated with colorful icons. 

Note: Missing delay-load dependencies are usually not a problem (this means that the dll will be loaded only when a function needed from the DLL gets called).

Interface for depends application

Average rating:
Please log in to rate.
Rated by 0, Viewed by 5632