Hi,
I've an applic with OLE connection to MS Excel and I exchange several thousands times info with OlePropertyGet and OlePropertySet.
E.g. code:
v1.OlePropertyGet("Cells").OlePropertyGet("Item",i,1).OlePropertySet("Value",i);
Now I have the effect that my program uses more and more memory and overflows capacity! Do you know whether OlePropertyGet /-Set allocates memory and how it can be freed?
I've an applic with OLE connection to MS Excel and I exchange several thousands times info with OlePropertyGet and OlePropertySet.
E.g. code:
v1.OlePropertyGet("Cells").OlePropertyGet("Item",i,1).OlePropertySet("Value",i);
Now I have the effect that my program uses more and more memory and overflows capacity! Do you know whether OlePropertyGet /-Set allocates memory and how it can be freed?