Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 1998-07-16
37
225 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

856 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