* Shlomy Shivek:
Hi,
I have an application that uses my DLL.
I want the DLL to return a list type object to the application that
calls it:
list<TypeProc() {
list<Typex;
return x;
}
It pass the compliation stage but on runtime it gives me heap error.
Is it possible to do so ?
Dynamic libraries are outside the scope of the language definition, and
thus partially off-topic in this group.
The short answer is, however, that you must ensure that memory allocated
by some allocator A is also deallocated by that very same allocator A.
How to accomplish that for DLLs is unfortunately off-topic in this group
(ask in a Windows programming group).
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?