Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.

IDirect3D9Ex_CreateDeviceEx crashing: Memory voilation



I am trying to run Intel Media SDK Decoder with a C-only application-wrapper. I have used the tutorial-source-code from C++ simple_decode_d3d. Inside the CreateHWDevice() function, the IDirect3D9Ex_CreateDeviceEx() call is resulting in an "Access violation reading location 0x00000001" error. The same call pD3D9->CreateDeviceEx() in another C++ project, returns successfully. Is this behavior expected?

I am using a Windows7 32-bit PC, with Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, Intel(R) HD Graphics 2000 (See attached file for more info). The mentioned observations are made on MSVC 2010 Express Edition.

I have set CINTERFACE and COBJMACROS macros (exclusively and both together as well) in project settings. 

Attached: file containing CPUinfo, Output-log from dxdiag utility, one C example project and one example C++ project showing this behavior.

I am new to Intel Media SDK and I have already spent two days on resolving this problem. Any help will be highly appreciated.

Thanks and Regards,



0 Kudos
0 Replies