I was able to sort through this and thought I would post how for others that may stumble upon this.
I ultimately ended up creating a plugin, this is not what solved the error but as a sidenote. I referenced a plugin I use for good build.cs and uplugin settings.
Ultimately I found this post wherein it is mentioned
Windows’
GetObject
is actually a define, and makes anything namedGetObject
(variable, member functions, etc…) fail to compile quite dramatically.So people often
#undef GetObject
after#include "windows.h"
.
I did encounter this a few times today while searching the interwebs, so for me and my original error , the fix was to place an #undef GetObject after my includes that load ASIO standalone. I can now build, loaded up my game and have my asio tcp client working, fun!