Sign in to follow this  

inheritance and dll's

This topic is 4839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok here goes:

I have an abstract class 'CObject' in my dll.
Now anything that has to do with objects I derive from that.
The problem is that not only classes inside the dll(engine) need to inherit from CObject. The classes in the exe do to.
It seems however that inheriting from an imported class is dangerous(it gives a warning). How can I get around this?

-CProgrammer

Share this post


Link to post
Share on other sites
It will cause the program to crash if the DLL and EXE are compiled with different compilers, or even different versions of the same compiler. Copy and paste part of the warning (a part without any program-specific class or variable names) into google, and if that dosn't solve your problem, try posing the full warning text so WE can try googling it, or at least better know what you're talking about, because you're still not being descriptive enough.

Share this post


Link to post
Share on other sites

This topic is 4839 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this