RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType.RaiseDispError Method

Generates a system error indicating an invalid dispatch attempt.

Pascal
procedure RaiseDispError;
C++
__fastcall RaiseDispError();

Call RaiseDispError from the implementation of a TCustomVariantType descendant when an operation fails because the variant can't execute a method call. This raises EVariantDispatchError

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!