so I'm working on a game engine in VS2022 (https://github.com/DancingRicardo/Kepler-Engine for anyone who's interested) and I wanted to implement a very basic online multiplayer system, and decided on the standalone version of ASIO. However, I came across an error saying I can't overload a function with extern C linkage on Line 4706 of WinUser.h when compiling:
CloseWindow(
_In_ HWND hWnd);
and Line 9324:
ShowCursor(
_In_ BOOL bShow);
I assume this is in conflict with ASIO, as I never had this issue before, but I'm pretty sure I can't alter the Windows API lmao. Any help is appreciated. If you are trying to replicate the issue by building my game engine, apologies for the set up process, as it can be quite annoying since I haven't changed the linking process. All relevant code files are in /game/Networking.hpp or the /game/Networking folder. Thanks.
I wasn't able to try anything, since I am not experienced enough to mess around with ASIO and the WinAPI.