Sign in to follow this  

Dynamic libs

This topic is 3585 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, I'm using VC++ 2005 to build my engine (actually, it's currently only Core.dll) I've written most of the core.dll program, and I want to test it. So I made a new project and wanted to link it with core.lib file, but there is no such file in any of Core's directories, but instead there is a core.exp file. In MSDN it is said that if the .exp file is being created durin build, the linker does not generate .lib file, but does not say how to prevent .exp file from being created. Could you please advice me to create my core.lib file so I can test the core.dll . Yours, Kourosh

Share this post


Link to post
Share on other sites
I wasn't aware that a .exp means no .lib is generated. Are you actually exporting any symbols (With __declspec(dllexport))? If you're not, VC won't generate a .lib for you.

Share this post


Link to post
Share on other sites
copy this link in your msdn: ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_vccomp/html/a98b557c-1947-447a-be1f-616fb45a9580.htm

6th line. I tried to change the import lib name by /implib option, but that didn't work.

Share this post


Link to post
Share on other sites

This topic is 3585 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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