BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RasAPI

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Saleem Ebrahim
Guest





PostPosted: Tue Mar 02, 2004 7:54 am    Post subject: RasAPI Reply with quote



Hi

I am using RasAPI to dial into a small 4 pc network. Static Ip
address range is 10.0.0.1 to 10.0.0.4 on subnet 255.255.255.0

When I dial using RasAPI (Delphi 7) I do manage to connect but it
gives me a 169.xx.xx.xx address with a subnet of 255.0.0.0.

If I dial using Network and Dialup Connections, I can specify the ip
address that i wish to use. Is there any way that I can specify the
MY IP address when connecting, USING RASAPI. I tried the netsh
command, (netsh interface ip set address "{xxxxxx}" static 10.0.0.200
255.255.255.0) but that referred me to the
"rundll32 netshell.dll HrRenameConnection" command as I need to name
the interface first.

I am using Win2k SP3 and this command does not seem to help. Every
documentation that I found, appears to be for XP.

Thanks in advance.

Saleem

Feel free to reply to [email]sebrahim (AT) mrpricegroup (DOT) com[/email]
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.