Ugh, sorry about that previous post.  I hit ctrl+Enter by mistake.

> Perhaps you're nesting the call in a
> function that is actually causing the problem?

Well, on my frmCloseEvent, I call this function.


void DisSelectViewFreeHandles()
{
     int i, j;

     for(i = 0; i < DIS_TABLE_ROWS; ++i)
          for(j = 0; j < DIS_TABLE_COLUMNS; ++j)
               if(DisTableHandles[j][i])
                    MemHandleFree(DisTableHandles[j][i]);
}

DisTableHandles is a global 2 dimentional array.  I just want to make sure
all the table field handles have been freed upon exiting of the form.  I
don't want a memory leak to exist.


Timothy D. Astle

People on Jolt cola write the funniest things.

                                     A-10 Obedience Guide,
                                     Kitty Hawk Studios





-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to