Sign in to follow this  
Citizen Pain

dll files in vc++ .net 2003

Recommended Posts

I recently bought a copy of VC++ .net 2003 and downloaded the optimizing compiler from the microsoft website and got on with the task of getting used to the new IDE. When working on a project that uses multiple dll and exe files I usually put all projects in to one workspace file so i can easilly move between them. However it seems in .net this prevents my dll projects from creating .lib files, which it does fine with dll projects in seperate files. The linker is set to create lib files but they don't appear after compilling, so dependent projects fail during the linking process. I've tried using the original non-optimising compiller and linker as well as the one i downloaded with the microsoft toolkit, and i can't think what else could be causing this? This approach worked perfectly in vc++ 6.0 and i really can't understand why it doesn't work now. Have i missed a tick in the box?

Share this post


Link to post
Share on other sites
I had this problem 2 days ago actually. It was because VC2003 needs you to declare at least 1 function as __declspec(dllexport), otherwise it thinks there's no exported functions, so it has nothing to put in a .lib file. It also doesn't seem to like my exports.def file :(

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