Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OlePropertyGet or -Set and Memory usage

Status
Not open for further replies.

hstijnen

Programmer
Joined
Nov 13, 2002
Messages
172
Location
NL
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top