This does not solve the problem with visual studio 2022. Instead of getting error C28251, it causes an error of C2731 "wWinMain" function cannot be overloaded. How do I solve this error?