Tech Tip: "OP Load network component" is obsolete in 4D 2003
PRODUCT: 4D | VERSION: 2003 | PLATFORM: Mac & Win
Published On: May 2, 2003
Since there is only one network component available (TCP/IP) the command OP Load Network Component is no longer appropriate and has been removed. The default network component ID for TCP/IP is 29(Mac OS), and 2 (Windows). This means that for any commands which require a network components ID, use 29 (Mac OS) and 2 (Windows).
You would write something like:
PLATFORM PROPERTIES($vlPlatform)
If($vlPlatform<3)
netCompID:=29 `under Mac
Else
netCompID:=2 `under Windows
End if
$error:=OP Select 4D Server (netCompID;$ServerName;$ServerID;True)