Solved

program(under windows 95) to make a modem work like a netcard

Posted on 1998-07-16
37
224 Views
Last Modified: 2010-04-01
I want to use vc to design my program to make my modem
work like a netcard ,so I can run top applications such as tcp/ip through the modem which does as the lower layer .I know win95's dial-up network can do this ,but I       want to program to control it,and I don't know how to program ,such as what api can be used and how to use them. Any answer was appriciated
0
Comment
Question by:vain
  • 33
  • 4
37 Comments
 

Author Comment

by:vain
ID: 1167926
Adjusted points to 200
0
 
LVL 11

Accepted Solution

by:
alexo earned 200 total points
ID: 1167927
I suggest you take a look at the RASAPI functions in the online help of your VC.  Search for "Remote Access Service" or "RAS" and browse from there.  It discusses functions like RasDial() etc. that allow you to control the dial-up connection.
0
 

Author Comment

by:vain
ID: 1167928
I have tried using rasdial api in VC++ 5.0,but when linking ,an error occurd  that external funtion unresolved  _RasDialA@24  ,what  can i do ?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 11

Expert Comment

by:alexo
ID: 1167929
Link with RASAPI32.LIB
0
 

Author Comment

by:vain
ID: 1167930
I  linked the rasdial ;but in win95 ,i run the application using  rasdial api ,there is no respond ,is there  anything that must  be done such as initialling modem setting before calling rasdial? I pass the params such as telenum,username,pwd,domain to call rasdial
Is there anything else to be add to establish the ras connection ?
0
 
LVL 11

Expert Comment

by:alexo
ID: 1167931
Get a sample app source by microsoft from:
    ftp://ftp.microsoft.com/SOFTLIB/MSLFILES/RASBRY.EXE

0
 

Author Comment

by:vain
ID: 1167932
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167933
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167934
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167935
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167936
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167937
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167938
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167939
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167940
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167941
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167942
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167943
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167944
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167945
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167946
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167947
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167948
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167949
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167950
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167951
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167952
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167953
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167954
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167955
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167956
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167957
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167958
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167959
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167960
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 

Author Comment

by:vain
ID: 1167961
In NT RAS seems not really log the user onto the network; that is ,a logon dialogue is poped-up after calling RasDial API, I have no way to control the logon in my program expect manully logging .Is there any ?
Thanks a lot for your help.
0
 
LVL 11

Expert Comment

by:alexo
ID: 1167962
Wow!
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
FMX enumerated colours 2 99
C++ to C# code conversion issue 4 106
How to convert MFC::CString to UTF8 wchar_t* 10 207
Issues with C++ Class 19 92
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

770 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