Hey, here's the thing:

I am using the API call SetWindowPos through VB6. During run-time, it runs like a charm and I thought I was set. Unfortunately, it must be hogging memory with every use and if run too many times, problems indicating this start to occur. Examples include not even being able to change the font, due to memory lacking! Now, when I close down my VB program, an error occurs and says "VB was not properly closed, would I like to shut it down?" and once I say yes, we're back to square one.

This memery overload is a problem and currently makes this API call unacceptable for use. Is there any workarounds, solutions?

Any Ideas? Thanks!

Chris