>>
>>Declare Long MAPILogonEx IN MAPI32.DLL ;
>> Long ulUIParam, ;
>> String @ lpszProfileName, ;
>> String @ lpszPassword, ;
>> Long flFlags, ;
>> Long @ lppSession
>>
>>So I receive a Long integer that (should be) the pointer to IMAPISession.
>>I cannot use the VFP7 sys(3096) function because IMAPISession is not based on IDispatch interface.
>>
>
>You need to change the parameter type of the final argument to OBJECT, a new type (an indirected pointer to an interface.) See the VFP docs for VFP 7.
Nope
The functions parameter is not pointer to interface, but pointer to pointer to interface.
This you have told me I have already tried - with no result.
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!