You can use UlFromSzHex() function from mapi.lib.
Include mapiutil.h & link your app with mapi.lib
An Example:-
ULONG nInt = UlFromSzHex ( "ABC26" );
Cheers
Check Abdoul
------------------
"Frankie" <fra...@hotmail.com> wrote in message
news:oXst6.1475$_W2....@news.indigo.ie...