DLL and memory allocation question
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi,
Let's say I have a dll library that allocates some memory and I am as a
user wish to use that memory and later dispose it, How can it be done?
What are general patterns for this kind of a thing?
.
Relevant Pages
- RE: newbie: implementing destructors
... finalizer to your class means it takes longer to garbage collect (look up on ... have some 3rd party DLL which internally allocates a chunk of memory, ... environment is not aware of this memory so at no point will it clean up this ... let's call it Dispose for now which you can call ... (microsoft.public.dotnet.languages.csharp) - Re: Framework 2.0 array redim unsatisfactory performance
... implementation details of Redim, Redim Preserve, and List. ... significantly higher object allocated overhead then List. ... ReDim simply allocates a new ... but I do not even attempt to test its memory ... (microsoft.public.dotnet.languages.vb) - Re: CE6.0 Driver Pointer Marshalling - passing pointers out only?
... This is an array of pointers to buffers that get set up ... the driver allocates the buffers (via an internal allocation ... routine from its own block of reserved memory). ... So I can map ... (microsoft.public.windowsce.platbuilder) - Re: CE6.0 Driver Pointer Marshalling - passing pointers out only?
... I've got a pretty complex driver I'm porting up at the moment ... This is an array of pointers to buffers that get set up ... the driver allocates the buffers (via an internal allocation ... routine from its own block of reserved memory). ... (microsoft.public.windowsce.platbuilder) - Re : Re : memory allocation and freeing memory
... This means that the caller ... >> never frees memory, and the callee always frees all its ... then the caller allocates it and pass it ... > void ExprDestroy(Expr *expr) { ... (comp.lang.c) |
|