User`s guide
xpctarget.targets
Method
Description
makeDefault (env
collection object)
Set target PC environment collection
object as default.
Remove (env collection
object)
Remove an xPC Target environment
collection object.
Property
Summary
Property
Description
Writable
CCompiler
Values are 'Watcom' and 'VisualC'.
Yes
CompilerPath
Value is a valid compiler root folder.
Enter the path wh ere you installed
a Watcom C/C++ or Microsoft Visual
Studio C/C++ compiler.
Yes
DefaultTarget
Returns an xpctarget .env object
that references the default target PC
object environment.
No
FloppyDrive
Allowsyoutosetthe3.5-inchdrive
letter to the one designated by your
target PC. By default,
FloppyDrive
is set to a:. Set this property to b:
only if the target PC designates it.
As necessary, set this value before
creating a boot disk. Valid values are
'a:' and 'b:'.
Yes
NumTargets
Returns the number of target PC
environment o bjects in the container.
No
Examples Create an e nvironment container object. Withthisobject,youcan
manage the environment collection objects for all the targets in your
system.
tgs=xpctarget.targets
18-162