Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rassapi.lib

0 views
Skip to first unread message

Lewis Sellers

unread,
May 23, 2000, 3:00:00 AM5/23/00
to
'ello. I'm using msvc++ 5 and trying to use RasAdminUserGetInfo, but having
a damn irritating problem when linking. As the ms docs suggest, I've added
in the rassapi.lib and the rassapi.h, but the function symbol appears to be
missing from the lib. Ie:

Request.obj : error LNK2001: unresolved external symbol "unsigned long
__stdcall RasAdminUserGetInfo(unsigned short const *,unsigned short const
*,struct _RAS_USER_0 *)" (?RasAdminUserGetInfo@@YGKPBG0PAU_RAS_USER_0@@@Z)

It's there though as far as I can tell. Anyone else ran into this before?
Besides buying vc++ 6 is there anyway around this? I'm tried of fooling with
it.


William DePalo [MVP]

unread,
May 27, 2000, 3:00:00 AM5/27/00
to
"Lewis Sellers" <lsel...@usit.net> wrote in message
news:MdBW4.8115$RO1.1...@nntp3.onemain.com...

> 'ello. I'm using msvc++ 5 and trying to use RasAdminUserGetInfo, but
having
> a damn irritating problem when linking. As the ms docs suggest, I've
added
> in the rassapi.lib and the rassapi.h, but the function symbol appears to
be
> missing from the lib. Ie:

You can quickly determine if you have the proper library by doing a

dumpbin /exports rassapi.lib

in your library directory. I just did that on this '98 box and found it
there. Note that the docs say that the function is implemented only on NT
4.0 and later. If you don't have the proper library I don't think that a
compiler upgrade is required. I believe that the platform SDK is available
on MS' web site but I'm not sure.

Regards,
Will

0 new messages