• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mixing Objective C and C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixing Objective C and C++


  • Subject: Re: Mixing Objective C and C++
  • From: Scott Andrew <email@hidden>
  • Date: Wed, 4 Apr 2007 09:33:14 -0700

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:
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: This email sent to email@hidden
References: 
 >Re: Mixing Objective C and C++ (From: Dave Camp <email@hidden>)

  • Prev by Date: Re: Recompiling when header file changes
  • Next by Date: Re: Recompiling when header file changes
  • Previous by thread: Re: Mixing Objective C and C++
  • Next by thread: Recompiling when header file changes
  • Index(es):
    • Date
    • Thread