>Had this before, but only when running many thousands of times, but this time a different object is getting run no more than 50 times before I get the "out of memory" error. This is essentially what I have, though there is much code where those three dotted lines are. I can't have our users running into this and I need to use this particular object. What can I do?
>
>
>oXML = CREATEOBJECT("Microsoft.XMLHTTP")
>.
>.
>.
>oXML = .NULL.
>RELEASE oXML
>
Maybe you could instanciate it just once, and add a global reference e.g. _Screen.MyXMLHTTPObject
Then, when you need to use it, re-initialize it rather than re-create it.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up