Title: RE: [MSVC] Missing function Address in mapi32.dll

Thanks Jason you  are all right in my system that's the name reported on
my system for HrQueryAllRows function and for others functions like
ScInitMapiUtil is the same decorated with @xx.

regards


On Wed, 24 Sep 2003 19:46:34 +0100, "Jason Teagle" <[EMAIL PROTECTED]>
said:
> > I'm calling GetProcAddress(...) asking for HrQueryAllRows and passing a
> > handle to mapi32.dll, and the fucntion returns null a later call to
> > GetLastError reports the following error: The specified procedure could
> > not be found. The point is that I executes the dumpbin tool with /exports
> > parameter to mapi32.dll and dumpbin reports that really the mapi32.dll
> > exports a function HrQueryAllRows, also I inspect the dll with
> > depends.exe and again get the same result the dll really exports a
> > function named HrQueryAllRows.
>
> Does it let you get to it if you ask for it by ordinal (75 for that
> function, my XP system + Depends.exe reports)?
>
> I've noticed that that DLL contains many functions with "@xx" at the end,
> and some without. In a DLL of my own creation (MFC), they are all without
> that decoration. Could this be a name mangling issue? In which case, try
> using
>
> GetProcAddress(hMAPI32DLL, "[EMAIL PROTECTED]");
>
> (that's the decoration it has on my system, should be the same for you).
>
> --
> Jason Teagle
> [EMAIL PROTECTED]
>
>
--
  Yosvel
  [EMAIL PROTECTED]

--
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

Reply via email to