- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
mfx_dll_load() makes two SetErrorMode() calls, to set SEM_FAILCRITICALERRORS and then to revert to original.
But SetErrorMode() is process-wide!
This may lead to unexpected behaviour at multithreading modular applications.
The correct way is to use SetThreadErrorMode(). It was introduced at win7 and minimal os imsdk requires is win7.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your feedback. We will explore improving the behavior for the next Media SDK release.
Regards,
Petter
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your feedback. We will explore improving the behavior for the next Media SDK release.
Regards,
Petter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. Thank you!
PS:
The same SetErrorMode calls are present at DXDevice::LoadDLLModule() also...
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page