Closed SirDragonClaw closed 7 years ago
They need to be discarded in SharpDX codegen:
PR welcome.
I have made the required changes and everything seems to build correctly, it would be great if these could be tested and accepted and pushed to nuget.
I have made the required changes and everything seems to build correctly, it would be great if these could be tested and accepted and pushed to nuget.
This should be part of the 4.1.0 pre-release nuget package (should be pushed in a few minutes)
I just tried to submit a package using MonoGame and SharpDX 4.2.0, however I'm still seeing some errors in the Package Certification:
Shall I open a new issue?
https://github.com/MonoGame/MonoGame/issues/5003#issuecomment-446193549
Tagging @xoofx
For GetModuleHandle/LoadLibrary, It looks like a regression coming from 556aee5cd01b7dfa4ded256ef7510f57bcb9df0e by @Ziriax
The code should be only valid for DESKTOP_APP.
For the MF function, similar fix to this issue should be done.
PR Welcome.
@xoofx , could you check my pull request?
We have updated our engine to use SharpDX 4.0.1 and now our game fails the windows store verification because of illegal dlls in SharpDX.
Supported API test
FAILED Error Found: The supported APIs test detected the following errors:
API MFCreateAudioRendererActivate in mf.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API. API MFCreatePresentationClock in mf.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API. API MFCreateMuxStreamAttributes in mfplat.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API. API MFCreateMuxStreamMediaType in mfplat.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API. API MFCreateMuxStreamSample in mfplat.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API. API MFCreateSensorGroup in mfplat.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API. API MFCreateSensorStream in mfplat.dll is not supported for this application type. SharpDX.MediaFoundation.dll calls this API.
Impact if not fixed: Using an API that is not part of the Windows SDK for Windows Store apps violates the Windows Store certification requirements.
What can be done about this?