MSVC++ 6.0, Win2k Pro
Hi, perhaps someone knows how to solve this problem of mine..
Im trying to share classes using .DLL files, Like for example, it's quite easy to share function, and I bet it's just as easy to share classes, however I haven't found out how yet.
to share functions I simply use
__declspec(dllexport) void func();
and then to import it into another project
__declspec(dllimport) void func();
And of course, I Link it to.. I've understood that to export a class, I should use
class __declspec MyClassName
but how do I import it into my exe-project?