Scalabium Software |
|
| Knowledge for your independence. | |
|
If you want to know if the PC is connected to a network under
MS Windows then you can call a GetSystemMetrics() function (Windows
API) with SM_NETWORK parameter: if (GetSystemMetrics(SM_NETWORK) AND $01 = $01) then
<PC is attached to network>
else
<PC is not attached to network>
|
|
||||||||||||||||||||||||||||||||||||
![]() |
Copyrightc 1998-2008, Scalabium
Software. All rights reserved. |
November 15, 1999 |