Solved

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

Posted on 1998-07-16
37
223 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now