Somewhere in your code you must try to allocate memory for
g_SettingsVersion. Check there to see if it worked (check for NULL return).
Somewhere else you must try to acquire or allocate a handle for hTable
(probably a resource). Check for NULL there, too.

If you don't know if the pointer or handle will be NULL when you try to free
or lock, then check them before you use them.

On Thu, Mar 13, 2008 at 3:25 AM, Karthik Jaganathan <[EMAIL PROTECTED]>
wrote:

>  how can i check g_SettingsVersion and htable are NULL
>
>
>  ------------------------------
> Date: Thu, 13 Mar 2008 03:20:56 -0700
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: NULL handle?
>
>
> it means that g_SettingsVersion and hTable are both NULL
>
> On Thu, Mar 13, 2008 at 3:01 AM, karthik <[EMAIL PROTECTED]> wrote:
>
> I got the following errors when debug,
>
> memorymgr.c, Line:4242, Nil Ptr
>
> memorymgr.c, Line:4149, NULL handle
>
> if i give debug the error, the first error points to the line,
>
> -> MemPtrFree(g_SettingsVersion);
>
> second error points to the line,
>
> -> pTable=(UInt8*)MemHandleLock(hTable);
>
> What is it mean?
>
> With Regards,
> karthik
>
>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>
>
>
>
> --
> [Jeff Loucks, Gig Harbor, WA, USA]
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe, 
> please see http://www.access-company.com/developers/forums/
>
>
> ------------------------------
> Fly HYD-BLR for Rs.499 Log on to MakeMyTrip! Check it 
> out!<http://ss1.richmedia.in/recurl.asp?pid=266>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe, 
> please see http://www.access-company.com/developers/forums/
>
>


-- 
[Jeff Loucks, Gig Harbor, WA, USA]

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

Reply via email to