 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
cedric Guest
|
Posted: Tue Sep 28, 2004 10:13 am Post subject: stange Tmagras troubles on windows XP ??? |
|
|
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 |
|
 |
|
|
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
|
|