CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Belarus
    Posts
    4

    MAPIResolveName problem

    In my application which using Simple MAPI to send mail I use MAPIResolveName
    function. When name couldn't be resolved (name not exists in Personal Address Book or I push "Cancel" button on resolved dialog box) my application crashes
    on exit with "Access violation in MSOEACCT.DLL". I use this code several times
    earlier and all was OK.
    Thanks for help


  2. #2
    Join Date
    May 1999
    Location
    OR, USA
    Posts
    65

    Re: MAPIResolveName problem

    MAPI functions need the memory to be allocated in
    a particular way because these functions modify the data passed to them. So they need to call realloc() on the data that u've 'alloc'ed.
    Probably you are passing static data instead of dynamic which is resulting in crashing of ur program


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured