I am creating and loading a COleSafeArray form Excel
CRange oRange = oSheet.get_Range(COleVaria
saRet = oRange.get_Value(vOpt);
Everytime I run my code the windows memory usage increases; + 30meg;
I found Q_20742007.html but the answer does not work for me;
rocess(), 0xFFFFFFFF, 0xFFFFFFFF);
maybe because my code is a DLL addin to another application.
My Code is almost a copy of MSDN example http://support.microsoft.com/kb/308407/EN-US/#2
I have tried saRet->DestroyData();
What to try next?