Some developers are getting this compilation error:
CogWindowManager.h(42): error C4003: not enough arguments for function-like macro invocation 'CreateWindowW'
CogWindowManager.h(42): error C2988: unrecognizable template declaration/definition
CogWindowManager.h(42): error C2059: syntax error: 'constant'
error C2039: 'CreateWindowW': is not a member of 'UCogWindowManager'
Some developers are getting this compilation error:
I believe this is caused by WinUser.h
It would be probably safest to rename the function to something else.
Some references:
https://www.ultraengine.com/community/topic/2693-createwindow-class-function-conflicts-with-createwindowa/ https://www.codeproject.com/Questions/543783/Functionplusandplusnamespaceplusconflict