Is it possible to create a single dll using 2 projects in MS VS 2008? Please let me know. I am using C and C++ as my programming language. Please provide me with an example. Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s definitely possible to do this. The simplest way to structure the project is that
It’s not really possible though to have two projects directly compile into a single DLL without an intermediate step of a .lib file. It can be done with some vicious double include logic in the project system but it’s a solution that’s not recommended or really easily maintained.