Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing Objective C and C++



One answer to this may be to do the plugin in C++ and then have it load a private plug-in that is in cocoa. Using the cocoa in carbon samples should give you a start. I have done this in for a Photoshop plugin. See IconFactory's IconBuilder (http://iconfactory.com/ software/iconbuilder/). This was my inspiration for our PS plugin's use of Cocoa UI in a non-cocoa environment.

Scott

On Apr 3, 2007, at 6:06 PM, Dave Camp wrote:

On Mar 31, 2007, at 11:04 AM, Ken Tozier wrote:


On Mar 31, 2007, at 1:13 PM, Greg Guerin wrote:

Have you tried asking on the private Quark developer's forum?

Yes. I have a parallel thread on tis issue running there but so far no luck.

If there's a magic formula for making an XTensions module, I would expect
to find that expertise there, rather than on this list.

This started out with XCode compile errors and morphed into a code loading problem once the compile issues were resolved. I doubt that Quark invented their own code loading mechanism from scratch, so it probably falls in the area of plugin loading which could be affected by XCode build settings.

If the API to Quark is in C++ (your postings suggest it is), that could be a source of problems. The C++ v-table format isn't standardized. The format is different from CW to gcc, and the v- table layout used by gcc has changed over time as well.


Dave

---
In English, every word can be verbed.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/scottandrew% 40adelphia.net


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Mixing Objective C and C++ (From: Dave Camp <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.