Expose Only Certain Methods From DLL

Hi there,

I'm writing a DLL and I have a bunch of classes. Some of which have virtual private or protected members. These methods don't really need to be exposed to the end user. However, if I leave them out, when I run an app that uses the DLL, any methods that are used internally and that are not exposed show up as null pointers, like they don't exist. This of course causes a runtime error. I'm not sure why I need to include them if they aren't being directly used by the app.

Any ideas?

Thanks!
Last edited on
Topic archived. No new replies allowed.