C++ Plugin Can No Longer reference some Win32 Methods Like GetObject in 4.15

Hi,

I have a project that has been working for a couple of years now but since the compilation changes in 4.15 I can no longer reference some Win32 calls like GetObject. I also get errors with DirectXMath.h related to InterlockedIncrement. This used to compile fine and now it seems that somehow _M_CEE is not being defined or its definition has changed and so some methods have been #undefined by the Win32 headers.

Is there a new process for referencing native methods and DX11 headers in 4.15 plugins? I’ve reinstalled visual studio, the windows developer sdk and checked to make sure my headers are using the allowwindowsplatform/hidewindowsplatform headers you guys have.

Thanks for your help!

Hi ,

Sorry for the delayed response. Would you be able to provide an example of how you are trying to use the getObject method?

Hi ,

We have not heard back from you for a while. Do you still need any help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment and re-open this post if you need any additional assistance.