RE: Errors
- Posted by Matthew Lewis <matthewwalkerlewis at YAHOO.COM> Feb 06, 2002
- 540 views
> -----Original Message----- > From: vern at lvp.eastlink.ca [mailto:vern at lvp.eastlink.ca] > Hi, I recently upgraded to WinXP Pro and am having a little > trouble with a > script I wrote as an Apache cgi script. The script call MAPI > functions and > uses Outlook Express default user to relay form input ... > this script work > well under Win98. Now I get an error number -2147467259 > when the > > error = c_func(MAPILogon, {0, 0, 0, MAPI_USE_DEFAULT, 0, > session}) call is > made > > if error then > printf(1,"Error sending Message %d",error) > abort(error) > end if I'm not familiar with MAPI in particular, but the error number will be more meaningful if you output in hex: printf(1,"Error sending Message #%08x",error) If you have a C compiler, look for winerror.h (or something like that), and you should be able to find the error number in hex. Matt Lewis