When creating dynamic Windows DLLs, you are prompted to declare which functions should be exported so that some functions may be closed to the DLL and not available to other applications.
I have not seen anything mentioned about whether to export destructors or are they automatically processed by the compiler or the Windows kernel? As in the case when I do not export the destructor, and they dynamically allocate the class that I declared exportable, can they successfully cause deletion on it if the destructor is not exported?
source
share