Hello

When allocating memory for objects and data in a C++ custom (plugin) DLL, I'm 
using AllocArrayResult and Alloc during individual "runs", and malloc/free in 
the initialization of the plugin. However, is it possible to allocate 
additional "static/persistent" memory during "runs" – and what is the way to do 
it? 

When using malloc/free during "runs", I get "heap disruption" exceptions. This 
could be due to errors in my code – or that malloc/free collides with 
AmiBrokers own memory management. If this is the case, is there a way to 
allocate static/persistent memory during "runs" (outside the initialization of 
the plugin) using AmiBrokers memory management?

Best regards
Jens 



Reply via email to