OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Diwakar Killamsetty (kdiwakarWILCO-INT.COM)
Date: Tue Sep 18 2001 - 07:22:30 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Hi,
    I am using Simple MAPI for a mail application,

    I am getting Debug Assertion at _CrtlsValidHeapPointer(pUserData) in
    dbgheap.c when I allocate memory for LHANDLE as

    LHANDLE m_lplhSession = (LHANDLE)malloc(sizeof(LHANDLE));

    and at the end I free it

    free((LHANDLE*)m_lplhSession);

    what could be the problem?

    thanks in advance,
    Regards,
    Diwakar

    This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, nor disclose it's contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International.

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM