Re: Microseconds and Carbon
Re: Microseconds and Carbon
- Subject: Re: Microseconds and Carbon
- From: Ben Kennedy <email@hidden>
- Date: Mon, 4 Feb 2002 21:19:54 -0500
On 04,02,02 at 8:54 pm -0500, Matt Ronge wrote:
>
Mac OS X Header: "CoreServices/CoreServices.h"
>
void Microseconds (
>
UnsignedWide *microTickCount
>
);
[...]
>
If I try this:
>
UnsignedWide temp;
>
Microseconds(temp);
>
>
I get an error that temp is an incompatible type, so I tried a double with
>
no luck. Sorry for my newbieness and thanks in advance,
According to the prototype you gave, you should be using
Microseconds(&temp); no? (passing the ADDRESS of temp)
-ben
--
Ben Kennedy, chief musician
zygoat creative technical services
613-228-3392 | 1-866-466-4628
http://www.zygoat.ca