By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,594 Members | 3,552 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,594 IT Pros & Developers. It's quick & easy.

Linking DLL to a Static Library and linking that into the project

P: 1
Hi Banfa and Everybody,

This is my first post.
Well, I have a problem with a Visual Studio .NET application and was wondering if anybody could help me with figuring out the solution.

I have a Solution S in which Project A is the master project whose dependency is Project B. Project A is set to produce a DLL. Project B's output is a Static Library but is linked from a dynamic link library (DLL and LIB).

Trying to explain the same in the hierarchy below.

A -> .dll (a)
B-> .lib (b)
.dll - .lib (c)

Now, my doubt is if I can anyhow use (a) independently without the need for the dynamic link library (c) that is linked to B. If so, that would save me from the problems that arise during the usage of (a).

Right now, the well 'built' (a) is used in an another application which crashes whenever (a) is constructed. The crash occurs when there is part of the code that is referenced to (c).

Any sort of help is greatly appreciated! Thanks
Nov 16 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.