radstudio logo

Unresolved external wWinMain from COW32W.OBJ

Sometimes when your forced to upgrade your very old projects to the latest RadStudio environment you'll strike the linker error "Unresolved external 'wWinMain' in the COW32W.OBJ file.

You can strike this when you dump your old project files and then include back into the new project the old original files. You just need to change the old WinMain function definition from :-

WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int)

To :-

WINAPI wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int)

Filed under: Embarcadero  Tags: C, Cpp, Xe5

0 Responses to “Unresolved external wWinMain from COW32W.OBJ”

Sorry, comments have been closed for this post.