On Mar 26, 2008, at 8:54 PM, Christian Schmitz wrote: > > How to I get the Type and Hash Values from a Variant without using > REALLoadObjectMethod? > > I can't get it using this line: > > HashPtr p=(HashPtr)REALLoadObjectMethod(v, "Hash as integer");
Of course, given it is defined as a property. > > > And using REALGetPropValue is very slow. :-( How would you know, with what are you comparing it with? > > > PS: For Type, it looks like the VarType function works. Correct, VarType is an Entry Point in the RB framework. You can of course open rbframework.dylib in a text editor and look for possible entry points that contains the word "Variant", but note that that can break very quickly. Good examples are entry points for strings and many controls .... Alfred _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
