|
Deleted by you.
New out in your exe, and then give the pointer and the length to the dll, dll judges the length, and writes in the content as appropriate.
exe received its delete after running out.
Or you can write like this, but don't delete here dll, dll provides a function, the parameter is a pointer, special delete.
In addition, you can delete in the exe, this is not recommended. |
|