When trying to build me program the error message
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/Marking Program.exe : fatal error LNK1120: 1 unresolved externals occurs. I am not sure why this happens, any thoughts

It sounds like you had originally specified a (GUI) Windows application, but provided code for a console application. The GUI app expects WinMain, the console app expects main. It may be easiest to create a new project as a Windows Console Application, and then add your existing source file(s) to it.

[IMG]http://img234.exs.cx/img234/6439/win32consoleapplication9lh.th.jpg[/IMG]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.