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 

stange Tmagras troubles on windows XP ???

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI
View previous topic :: View next topic  
Author Message
cedric
Guest





PostPosted: Tue Sep 28, 2004 10:13 am    Post subject: stange Tmagras troubles on windows XP ??? Reply with quote



hi,
I have a stange problem:
I use the Tmagras (TMagrascom,Delphi7) to list all RNIS connections (more than one).
I made and tested my code on Windows 2000 pro and It works good.
But when I tested my application with the XP pro Sp1 I saw only one connection.
I tried to build my application on XP but I had the same results.
the problem is : the connections.count = 2 but there is only one ras handle valid.
my code is:
MgRasCon.GetConnections;
if MgRasCon.Connections.Count > 0 then
begin
for i:=0 to MgRasCon.Connections.Count -1 do
begin
MgRasCon.GetProtocolEx (MgRasCon.Connections.RasConn(i));
if ips = MgRasCon.ServerIP then
begin
......
end;

end;
end;
when i>0 the RasConn(i)is false and EntryName(i)is void ('').
I can change my code and use directly the rasapi but it would take many time,So...
if you have any ideas (may be a bad system config), it would be very usefull for me.
thank's cedric
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi WinAPI 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.