Sign in to follow this  
Followers 0
Guest Nevets

Using DLL in Visual Studio

2 posts in this topic

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.

Linking...

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

Share this post


Link to post
Share on other sites



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.

Share this post


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
Sign in to follow this  
Followers 0