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

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
vainAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
alexoConnect With a Mentor Commented:
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
 
vainAuthor Commented:
Adjusted points to 200
0
 
vainAuthor Commented:
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
alexoCommented:
Link with RASAPI32.LIB
0
 
vainAuthor Commented:
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
 
alexoCommented:
Get a sample app source by microsoft from:
    ftp://ftp.microsoft.com/SOFTLIB/MSLFILES/RASBRY.EXE

0
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
vainAuthor Commented:
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
 
alexoCommented:
Wow!
0
All Courses

From novice to tech pro — start learning today.