Hello,
I'm trying to get rid of all D3DX11-functionality, and one of the first suspects is the D3DX11CompileFromMemory-function. However, I'm having troubles with the IID3DInclude-interface you got to specify. Documentation says, you can just use:
#define D3D_COMPILE_STANDARD_FILE_INCLUDE ((ID3DInclude*)(UINT_PTR)1)
for a standard include interface, however when I use that macro, I always get a "failed to read at memory 1" error. Now there is very little tutorials/complete source code that actually use D3DCompile. Is there anything I've missed so this fails, or some other thing I'll have to consider?