I tried this too in 5.5.5 and indeed it does not work. (I would use RB2006, but it's way too slow on my machine.) This is not a big deal -- I can use the MBS plugin to get access to Core Audio host time functions. I just wanted to see if there were a way to do the same thing using declares. But it would be good to know if there were a way to get access to 64 bit values when UInt64 isn't available.
On Dec 9, 2006, at 4:24 PM, Norman Palardy wrote:


On Dec 09, 2006, at 12:57 PM, Charles Yeomans wrote:

Ah. 5.5.5.  I had overlooked that.  The following might work.

Declare Sub AudioGetCurrentHostTime Lib "CoreAudio" (returnValue as Ptr)

dim hostTime as new MemoryBlock(8)
AudioGetCurrentHostTime hostTime

Doesn't seem to
hostTime is always 8 bytes of 0's but in Rb2006r4 where I can use a UInt64 it gives a non-zero value

I don't need this particular function but I have other spots where I need a Uint 64 returned
I'll try this with them

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to