![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
When i run the code in the sample, the application crashes at the following
function: HrMAPIOpenFolderEx () Thanks in advance. Even on using HrMapiFindSubFolder iam getting exception of ACCESS_VIOLATION. __try { DWORD cbeid = 0; LPENTRYID lpeid = NULL; LPMAPIFOLDER lpParentFolder = NULL; ULONG ulObjType = 0; hrRet = lpStore-OpenEntry( 0L, // use 0L for root folder NULL, // use NULL for root folder NULL, // use NULL for interface ID MAPI_MODIFY | MAPI_DEFERRED_ERRORS, // use this flag if you plan to make changes &ulObjType, (LPUNKNOWN*)&lpParentFolder); //MAPIListPublicFolders(lpParentFolder,""); hrRet = HrMAPIFindSubfolderEx (lpParentFolder, '\\', "Top of Information Store\\Outbox", &cbeid, &lpeid); if (FAILED (hrRet)) { printf("MAPI Public Folder Access Error on %s for Profile\n",l_strFullPath); } hrRet = lpStore-OpenEntry ( cbeid, lpeid, NULL, MAPI_MODIFY, &ulObjType,(LPUNKNOWN*)&lpFolder ); if (FAILED (hrRet)) { printf("MAPI Public Folder Access Error on %s for Profile \n",l_strFullPath); } MAPIFreeBuffer (lpeid); } __except(EXCEPTION_EXECUTE_HANDLER ) { |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outlook 2003 SP1 NDR Report with bad KB Article | KenCraft | Outlook - General Queries | 0 | August 20th 07 06:50 PM |
MSN article | hiruma222 | Outlook Express | 2 | August 13th 07 08:30 PM |
how do I scan an article for emailing? | William Schleiger | Outlook - General Queries | 6 | April 5th 07 03:40 AM |
FYI- Kehr article | Ed Collins | Outlook Express | 4 | March 27th 07 01:04 AM |
Article ID 834700 | Tim | Outlook - Installation | 3 | November 8th 06 04:16 PM |