When adding the parameters for the COM interface method, what were the check boxes (in, out, retval) above where the parameters were added used for?
Those check boxes added the direction for each parameter in the IDL definition of the COM interface. If you examine the IDL language in the header file for the COM interface class, you’ll find that the interface definition of the method contains [in] in front of the parameters that you checked the in box on, and [out] on the parameters that you checked the out box on. This specifies the direction and purpose for each of these parameters in the method. [in] specifies that a parameter is passed in to the method. [out] specifies that the parameter is replaced with a result value in the method that needs to be returned to the calling function. You can have both [in] and [out] specified for a parameter, signaling that the parameter’s value is imported both when the method is being called and when returning from the method. If you checked the retval box, this parameter signals that this parameter will be returned as the method result instead of the success or failure indicator.
Related Questions
- How can I contact someone to discuss how Garmin’s Fleet Management Interface can be used within the context of my dispatch system?
- Are there circumstances when a less sensitive analytical method can be used at a known contaminated site?
- Dihedral parameters are not found when Discover (or NMR-Refine) is used. WHY ?