A
Aaron
Guest
Seeing as that I've been studying computer science in college for almost six months, I'm starting to know a thing or two about programming 
I've got a question, and I haven't been able to find an answer in Visual C++'s help or on Google, but I think someone here may know how to do this...
Let's say I've written a nice class in C++ that I want to give to someone else to use in a program. I don't want to give out the source code, I think it is possible to give the .h file with the declarations and etc. accompanied with the object code, and he should be able to use the class in his program. I have the object code file that is generated when the program is compiled, but I don't know if you have to do something else to it to make it usable in another program, or if you have to take a different approach, because I'm not getting it to work.
I've got a question, and I haven't been able to find an answer in Visual C++'s help or on Google, but I think someone here may know how to do this...
Let's say I've written a nice class in C++ that I want to give to someone else to use in a program. I don't want to give out the source code, I think it is possible to give the .h file with the declarations and etc. accompanied with the object code, and he should be able to use the class in his program. I have the object code file that is generated when the program is compiled, but I don't know if you have to do something else to it to make it usable in another program, or if you have to take a different approach, because I'm not getting it to work.