I have a c++ com code with source code now want i want to do is use the public class of that source code in my project( similarly the way in which we can add dll in c# and get acces to public class) .The class are not exported also is it necessary to export public class in c++
sulabh
0
Newbie Poster
Recommended Answers
Jump to PostIf you have all the source code then just export it and recompile. Put the class in a *.h file and include it in the application *.cpp file like you would any other header file, then at link time link with the *.lib file that's created when you compiled the …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.