Jump to content

Using DLL in Visual Studio

Recommended Posts

Guest Nevets

How do I link the DLL to use it in a Win32 Project? I keep getting this error. I think I'm missing a step somewhere.


LIBCD.lib(wincrt0.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function _WinMainCRTStartup

Link to post
Share on other sites
Guest gatino

You are getting this error because you are building a Win32 executable but haven't defined the "WinMain" function, which is the entry-point (equivalent of C's "main" function) for win32 programs. This is a Visual C++ question, nothing to do with autoit.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...