March 2000
Intermediate to advanced
576 pages
18h 13m
English
FindClassHInstance Function
function FindClassHInstance(ClassRef: TClass): LongInt;
FindClassHInstance returns the instance handle of
the module that contains the given class. The module might be the
application or it might be a runtime package that the application
loads. If you pass an invalid class reference,
FindClassHInstance returns
zero.
A class reference points to the class’s VMT, which resides in
the module’s code segment, so
FindClassHInstance calls
FindHInstance. Feel free to call
FindHInstance or
FindClassHInstance, whichever is more convenient.
FindClassHInstance is a real function.
| FindHInstance Function, HInstance Variable, MainInstance Variable |
Read now
Unlock full access