to disconnect dial up need link to rasapi32.lib. Simple question, how to link it?
rasapi32.lib ras.h raserror.h
Posted by gemnath
on 10/05/2004 05:27am
I've almost the same problem. I am suching to download rasapi32.lib.
To link it you need ras.h and raserror.h, but where can we find these files... I don't know.
The same message in french :
J'ai presque le mjme problhme. Je cherche ` tilicharger rasapi32.dll.
Pour le linker on a besoin de ras.h et de raserror.h, mais oy trouver ces fichiers ?? Je ne sais pas.
I'd just like to point out how frustrated I am with Visual C++. I am a VB developer, so admit upfront my ignorance with C++ and its internals. However, I do have some background in C++.
That said, why is it that when I try and use the ras api, and I do a #include <ras.h> and link to rasapi32.lib for all configurations, that it appears not to link to the lib file??? Moreover, the code all worked last week - by adding the rasapi32.lib file to the link, but now just by starting vc++ and loading the previously working code, it now fails with "unrecognised identifier" on any mention of a RAS structure.
I am incensed. Just how annoying is it when an IDE selects which day of the week it will compile on. Can anyone give me any pointers. There's a beer in it.