When I use VC++ to program using RasDial WinApi , on linking an error occured : :unresolved external _RasDialA@24 . Any Link Setting is defaulltl; How Can I Do? Any help is appriciated;
By including the ras.h file you tell the c++ compiler how to call the RasDail() function so the code compiles. But you must link with the library to actually include the code for the function (actually the code is just a link to the real function that does the work.)
Do you know how to link with the file? In VC you can just add the file to the project. I can provide details if necessary.
0
wuxieAuthor Commented:
thanks,I've solve the problem.there is another problem. In windows NT ,RAS doesn't log the user onto the network really, one need manually log onto it; Do you know how to really control the ras to log onto the network without interruptting? I learn from books that windows 95 plus!'s dialup server logs the user onto network;right? and NT let credential users logon,what's this mean? Any help is appriciated.
0
Your question, your audience. Choose who sees your identity—and your question—with question security.
I have no idea!. I only know a little of windows (core stuff). I was able to help on the first one because it was really a C++ problem, not a windows problem. Ask on the windows topic area.
0
wuxieAuthor Commented:
Never mind.thank you
0
alexwenCommented:
To avoid the logon window, you can use a login script.
There is a param in
RASENTRY \ szScript specifying the script file.
You can set this param by using RasSetEntryProperties. Then use RasDial with the entry name.
For the format of the script file, I don't have it yet. Maybe it's similiar to those in UNIX.
0
alexwenCommented:
To avoid the logon window, you can use a login script.
There is a param in
RASENTRY \ szScript specifying the script file.
You can set this param by using RasSetEntryProperties. Then use RasDial with the entry name.
For the format of the script file, I don't have it yet. Maybe it's similiar to those in UNIX.
0
Question has a verified solution.
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.