Original Post
I am using the following method to export my classes to a dll.
__declspec(dllexport) myclass
{
//
};
without any additional task(creating *.def files,etc...).
usually everything works well except releasing memory.
can you explain the correct way for allocating and releasing memory in dlls?
I have tried many ways, butt all of them failed.
sorry for my english.thanks in advance.
__declspec(dllexport) myclass
{
//
};
without any additional task(creating *.def files,etc...).
usually everything works well except releasing memory.
can you explain the correct way for allocating and releasing memory in dlls?
I have tried many ways, butt all of them failed.
sorry for my english.thanks in advance.