- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page