Karen
>From my understanding RBase is written in C-C++, and maybe
a bit of Delphi thrown in... our RCode Genius Larry Lustig..
I know from some very minor experience with C-C++ that it has
to have some clean-up by different methods of course. This is
likely where we fail when our code bombs or is not written
properly in the sense that RBase's objects or ??? don't get
cleared out of memory and we are causing the memory leak. It's
a possibility that RBase has some leaks, but they are likely
cause we are stretching the design of RBase past what it was
intended -- as in a report being run over and over and over or
us somehow jumping from form within form within form or ???.
I'm sure there are situations when the programmers of RBase
wanted to put in some of the great features they have and
then find out later that people have discovered ways of using
them that was not intended or absolutely beyond the original
design specs. Not to say RBase's programmers are not good...
They are way... way... way... way beyond anything I'll do
anytime soon... I wish I was half as good as Mr. Erickson
Later Jim Limburg
tellef wrote:
>
> Jim:
>
> >and like I said if all goes well,
> >the object gets destroyed when the programmer is through
> >with it. This is not always the case - obviously. I don't
> >know how much programming you have done in VB/ C++ or some
> >other languages, but the objects created to do work in a
> >Windows environment can be huge... At least in the aspect
> >if you accumulate them without destroying them.
>
> I have done some programming in VB and at first all I could
> think of is that I've worked on some HUGE projects but there
> was never any code to clear specific variables, such as we
> in RBase land always do. I suppose I could look it up in
> one of my VB books, but I don't remember where the variables
> 'go' when the module is complete. Leaving variables around
> didn't seem to be a problem.
>
> But I forgot that we always set objects '= nothing' when we
> were done. So you're right, even in VB there is some cleanup
> that needs to be done.
>
> Karen