In Visual Basic to create objects, use the keyword New, in C + + call CoCreateInstance () creates and a scripting language object is created by calling CreateObject (). See more detailed opinions by reading what Greg Miller offers on the topic.. Most objects are not externally CAL-created and must be created by other sites. Consider an example illustrating the use of both facilities species. Pocmotrim can I get information about the version of ClearCase, use the CAL. In the Visual Basic-Project from the Project menu select References. Here we see that the list of selected library ClearCase Automation Library xx For an object that represents the version of ClearCase-M: viewvobfile @ @ main3, create object ClearCase.Application, then get the version of the object Application: Dim CC as New ClearCase.Application Dim Ver as CCVersion Set Ver = CC.Version (M: viewvobfile @ @ main3) In this example, we used an extended path for accessing the version. But the use of such names is not necessary. The namespace and the associated syntax that is used to work in the utility cleartool or any other tool ClearCase a graphical user interface (GUI), can also be used in working with CAL.

For example, if the code was launched in directory M: viewvob and must choose the version that is available in this form, the code might look like this: Set Ver = cc.Version (file) vyolneniya After this piece of code is a variable Ver CAL-object representing CCVersion M: viewvobfile @ @ main3. Now you can Ver used to obtain the properties of this version. For example, to display the version number should be versioned using the following code: MsgBox Version Number" & Ver.VersionNumber As mentioned above, Visual C + + programmers should have access to facilities through the appropriate interfaces.

This entry is filed under News. And tagged with , . You can follow any responses to this entry through RSS 2.0. Both comments and pings are currently closed.

Comments are currently closed.

© 2012-2018 Artieda 2011 All Rights Reserved