Re: Errors
- Posted by vern at lvp.eastlink.ca Feb 08, 2002
- 492 views
Hi, Brian, thank you, I, for some reason, did not get your last post, looked for it but can't find it. I will try this code you hace supplied and let you know. I apologize but I cannot refer to your last post as I did not get it :) Hope ya'll have a great weekend, Bernie Somes ----- Original Message ----- From: "Brian Broker" <bkb at cnw.com> To: "EUforum" <EUforum at topica.com> Subject: RE: Errors > > Bernie, > > Perhaps you missed my replies (or chose to ignore them) but > MAPI_USE_DEFAULT is not a valid flag for MAPILogon. You might consider > using MAPILogonEx. (I don't know if this is XP only or what, I'm just > going by the SDK docs.) > > On the other hand, it just might work if you define the parameters > correctly. Try this: > > mapi_dll = open_dll("mapi32.dll") > MAPILogon = define_c_func(mapi_dll, "MAPILogon", > {C_ULONG, C_POINTER, C_POINTER, C_UINT, C_ULONG, C_POINTER}, > C_ULONG) > > There are no signed inputs... Same goes for MAPILogonEx, which doesn't > look like it's any more difficult to use. > > MAPILogonEx = define_c_func(mapi_dll,"MAPILogonEx", > {C_ULONG,C_POINTER,C_POINTER,C_UINT,C_POINTER},C_UINT) > > Refer to my last post for a URL with more info on this function. > -- Brian >