Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

link error:unresolved external _RasDialA@24

Posted on 1998-08-05
7
Medium Priority
?
368 Views
Last Modified: 2009-03-03
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;
0
Comment
Question by:wuxie
  • 3
  • 2
  • 2
7 Comments
 
LVL 22

Accepted Solution

by:
nietod earned 300 total points
ID: 1169468
You need to link to Rasapi32.lib.
0
 
LVL 22

Expert Comment

by:nietod
ID: 1169469
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
 

Author Comment

by:wuxie
ID: 1169470
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 22

Expert Comment

by:nietod
ID: 1169471
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
 

Author Comment

by:wuxie
ID: 1169472
Never mind.thank you
0
 

Expert Comment

by:alexwen
ID: 1169473
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
 

Expert Comment

by:alexwen
ID: 1169474
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question