Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
14 Views

INDE MSDK cannot dynamically load

 The hardware:E31285V3

The syestem:win7

The INDE Version:w_inde_2015.1.021.exe

The driver :4223(20140522)

INDE MSDK  dynamically load as  follow:

hmMSDK  = LoadLibrary("libmfxhw32.dll");
 int n  = GetLastError();
 if (NULL ==  hMSDK)
 {
  return MFX_ERR_UNKNOWN;
 }

The results is thar "hmMSDK = 00000;n = 126"

The mean of 126 is that can't find the specified module。

 

My problem:

The Inde MSDK can't  load dynamically? My methods are wrong?How to load ?

 

0 Kudos
1 Reply
Highlighted
14 Views

Hi Jiguan,

The error "hmMSDK = 00000;n = 126" looks like it is not able to find libmfxhw32.dll. Please confirm if the lib is located locally in the folder. Usually the path to file is located at ("C:\Program Files\Intel\Media SDK\") and we do not recommend this method of attaching a library. Not sure why you are using this method because with every new driver release, we provide new dlls and with this usecase you will have to build app again with new dlls when new drivers are available, which can become an overhead.

The recomended way is to Media SDK dispatcher as its part of MSDK architecture, between an application and platform specific libraries. At runtime, when the application initializes a session, the Dispatcher locates the appropriate platform-specific library, and redirects subsequent function calls to the same functions in it. Please take a look at manual:https://software.intel.com/sites/default/files/managed/bc/ba/mediasdk-distrib.pdf, which provides details on library distribution and dispatching process. Let me know any further questions.

Thanks,

0 Kudos