![]() |
Freeing memory problem
Hi,
I call a c++ function dll in VBA using the declare function statement. The returned value is an array and is stored in a variable of type Variant. Everything works properly, but the memory is not freed at the end of the routine. Looking in the Windows Task Manager on the "Commit Charge" box, the Total value increase at every call but doesn't come back. At the end, when the limit is reached Excel crashes and the Total is back to standard values. Any suggestion to give? Thank in advance. Filippo Pignataro P.S. The Objects in my dll are deleted before leaving the dll. |
All times are GMT +1. The time now is 11:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com