VC++ compiling as DLL
Go to solution
Solved by WanderingFool,
Oh sorry, I didn't read the error close enough.
"error LNK2019: unresolved external symbol _GetIfEntry@4 "
So the problem is this line
::GetIfEntry(&mi);
Sorry I have never really used that in dll's before, so I don't really know which libraries it is in. Essentially though it can't find the lib file that contains GetIfEntry
According to MSDN it looks like you want to include Iphlpapi.lib
(Link: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365939%28v=vs.85%29.aspx look for the requirements section)
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 accountSign in
Already have an account? Sign in here.
Sign In Now