somResolve - Remarks

This function returns a pointer to the procedure that implements the specified method for the specified SOM object. This pointer can then be used to invoke the method. The somResolve function can only be used to obtain a method procedure for a static method (one declared in an IDL or OIDL specification for a class); dynamic methods are not supported by method tokens.

For C and C++ programmers, the SOM usage bindings for SOM classes provide more convenient mechanisms for invoking methods. These bindings use the SOM_Resolve and SOM_ResolveNoCheck macros, which construct a method token expression from the class name and method name, and call somResolve.


[Back: somResolve - Parameters]
[Next: somResolve - Related Information]