Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XL 2007 - Out of Memory - memory leak/bug? PCLIVE Excel Discussion (Misc queries) 0 March 23rd 09 03:31 PM
memory problem of Excel 2003 copy & paste LunaMoon Excel Discussion (Misc queries) 5 August 13th 08 01:51 PM
memory problem in Excel 2007 Tessa - South Africa Excel Discussion (Misc queries) 1 August 5th 08 01:31 PM
Very Wierd Execl "Memory" problem Pat Excel Discussion (Misc queries) 3 October 26th 06 03:39 PM
Memory/Font problem No Name Excel Programming 1 August 12th 03 07:32 PM


All times are GMT +1. The time now is 12:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"