Re: Adding obj-c++ file to carbon project changes preprocessed header file types
Re: Adding obj-c++ file to carbon project changes preprocessed header file types
- Subject: Re: Adding obj-c++ file to carbon project changes preprocessed header file types
- From: Russ <email@hidden>
- Date: Tue, 12 Feb 2008 22:06:35 -0800 (PST)
--- Jens Alfke <email@hidden> wrote:
> No, the .pch file really is a source file... Perhaps someone else working on
your project edited it.
Yes, thanks for pointing me on the right direction on this ... there was a .h
file set up to be a precompiled header in the build settings. I'd thought the
precompiling was more extensive.
I eventually had to set up a separate library to contain the snippet of Cocoa
code I need, even after adding the requisite ifdefs. I couldn't figure out how
to set up a completely separate set of include paths for the cocoa and c++ code
within one project; there's a lot of nested-include clashing otherwise. If
there's a way to do that, I'd like to hear for future reference should I decide
to try a 64-bit port. (64b Carbon!)
The good news is I do have my custom cursors being dynamically displayed by
Cocoa from my app now.
The bad news is that there's a brief mouse dropping when it switches from a
custom cursor to the arrow cursor (either the quickdraw one or the cocoa one,
tried both). It's one or two pixels in the top-left corner of the 32x32 mouse
RGBA bitmap. It just pops up briefly then disappears by itself. Looks like some
kind of hardware blip as it switches from RGBA to B/W bitmaps. If there's a
magic incantation to remove it, I'd like to hear. Otherwise I will just replace
the system cursor with a custom bitmap also (easy, but I'd rather not).
PS- excessive exposure to PC vs Mac ads at the same time I have to spend days
and learn a new language to accomplish a basic display function makes me
cranky. I do much appreciate the help of list-ees and the many friendly
Apple-ites in the trenches.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden