RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System::Variant::Exec

System::Variant::Executes an OLE procedure, function, or a property Get or Set method.

Use System::Variant::Exec to call Automation methods.  

The cmd parameter is the wrapper class for the method on an interface that is assigned as the System::Variant::Variant's value. Use this parameter to identify the method you want to call and to assign any parameter values. 

The lcid parameter is ignored by System::Variant::Variant. The locale identifier used to interpret parameters is always LOCALE_SYSTEM_DEFAULT. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!