I am using Visual studio 2008. I have a Visual C project “new.vcproj”. There needed to be some changes made such that it utilizes class methods from another Visual C project “old.vcproj”. The class is defined in class.hpp and implemented in class.cpp from project “old.vcproj” How can I include the class from “old” in the project “new”?
Share
You can add
class.hppandclass.cppas existing items to the header and source parts ofnew.vcproj.If
old.vcprojcompiles to a library, a better way would be to just include the header fileclass.hppin yournew.vcprojsource files and and then link to theold.vcprojlibrary.