|
-
December 11th, 2003, 10:45 AM
#1
MAPIInitialize fails from an ISAPI DLL
Hello ,
I am trying to run an ISAPI DLL , which shall be processing MAPI request, but though the stuff works fine in a simple application , it does not do so , when I am working from ISAPI , I get the error , MAPI_NOT_INITIAIZED . I am stating the full problem below .
I am making MAPI calls from an ISAPI DLL. But when calling MAPIInitialize from within the ISAPI DLL, an error is thrown as MAPIInitialize is not successfully called. On the other hand the very same call works in a simple application . . I have used MAPI_NO_COINIT , but it does not help me either.HRESULT . The following is the code I am using to call and initialize Mapi from my ISAPI DLL .
MAPIINIT_0 MAPIInit ;
MAPIInit.ulFlags = MAPI_NO_COINIT | MAPI_MULTITHREAD_NOTIFICATIONS |MAPI_NT_SERVICE| 0;
MAPIInit.ulVersion = MAPI_INIT_VERSION;
hr = MAPIInitialize(&MAPIInit);
I have also gone through the following links :-
1) http://support.microsoft.com/default...b;EN-US;179116
2) http://support.microsoft.com/?kbid=239853
3) http://support.microsoft.com/default...3094#appliesto
Any inputs to this would be appreciated .
Thanks ,
Sujay Ghosh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|