Monday, 2 September 2013

Create MAPI profile using c++ exception in LPMAPIUID value

Create MAPI profile using c++ exception in LPMAPIUID value

I am trying to create an outlook profile and I am using this
I am trying to us the: "Use the MAPI IProfAdmin interface" code but in the
line:
if (FAILED(hRes = lpSvcAdmin->ConfigureMsgService(
(LPMAPIUID)lpSvcRows->aRow->lpProps[iSvcUID].Value.bin.lpb, // Entry
ID of service to configure.
NULL, // Handle
to parent window.
0, // Flags.
2, // Number
of properties we are setting.
rgval)))
it throw exception...
while at debug I noticed that
"lpSvcRows->aRow->lpProps[iSvcUID].Value.bin.lpb" is an exception (not
null exeption)... but only the lpb is an exception every thing else is
fine... all the rest of the code look fine nothing exceptional
I will appreciate any help :)

No comments:

Post a Comment