Page History
...
Much like the Utility function in OpenInsight, the SRP_Com function provides multiple services which are identified in the Service parameter. The services are:
Click on the service names above to read more details. Continue below for an explanation of the other parameters.
Name
The Name parameter is used by the CREATE, GET, SET, and CALL services. For other services, it should be blank. For the CREATE service, Name is the ProgId identifying the COM object to instantiate. For the GET and SET services, Name identifies a property. For the CALL service, Name identifies a method.
Param1 - Param10
COM properties and method often require additional parameters. SRP_Com supports up to 16 parameters to be passed. If you encounter a need for more, contact SRP Computer Solutions, Inc. and we will be happy to accommodate you.
Usage: Comments: Returns: | |
Add | Usage: Comments: Adds an error to the stack. This will not clear existing error conditions first. It is intended to allow higher level routines to add more information to an existing error condition or simply to maintain an ongoing error log for some troubleshooting or debugging purposes. Returns: |
Clear | Usage: Comments: Returns: |
GetMessage | Usage: Comments: Returns: |
GetMessages | Usage: Comments: Returns: |
HasError | Usage: Comments:
Returns: |
NoError | Usage: Comments: Returns: |
DisplayError | Usage: Comments: Returns: |
Param1 - Param10
The proper use of the generic arguments are defined in the definition of each service aboveIt provides simple services like Set
, Get
, and Add
. The Set
service always clears any previous error condition before updating the error status whereas the Add
service appends the error status.