Knowledge Base: Can I initialize the EOS SDK after Direct3D?

No, the EOS SDK must be initialized and EOS_Platform_Create must be called before initializing Direct 3D.

https://dev.epicgames.com/community/learning/knowledge-base/YDl3m/epic-online-services-can-i-initialize-the-eos-sdk-after-direct3d