Is it possible in c++ for 2 DLLs including eachother, because each of them uses eachother’s classes(Well that’s my plan), is this possible or not?
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.
Yes, this is possible. Only you need to compile these dlls as a multi step process. To link a dll, you need a lib file from other dll. This means that you need:
Also note that DLLs in general have C interface. You can export classes, but be ready to have set of dlls for each version of used compiler.