Alfred Van Hoek <[EMAIL PROTECTED]> wrote:

> 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.

it is defined as a method, but still it is

> > And using REALGetPropValue is very slow. :-(
> 
> How would you know, with what are you comparing it with?

I do profiling my classes.

> > 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 ....

I know that. And actually there I found a few entry points which I will
try...

Gruß
Christian

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to