[p4] P4COM confusion

John_Donovan@scee.net John_Donovan at scee.net
Mon Feb 5 01:58:50 PST 2007


Hi all,
I'm new to Perforce development, so be gentle. I'm using P4COM to write a 
Perforce tool in C#. I want to get a list of the depots in "tagged" form, 
so I use the following code:

...
perforce.Tagged();
perforce.Connect();
perforce.ExceptionLevel = 1;
Array output;
output = perforce.run("depots");
...

But the output string just contains the non-tagged data. So I figured I'd 
need to use get_ArrayVar(), but I've no idea what array var to use! Is 
there any documentation on how this function works and what the valid 
inputs are? I still don't quite have the knowing of the Perforce 
API/P4COM, so I'm probably missing something simple :s

John Donovan
Sony Computer Entertainment Europe
http://www.scee.com


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at scee.net
This footnote also confirms that this email message has been checked
for all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United Kingdom
Registered in England:3277793
**********************************************************************


More information about the perforce-user mailing list