|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Mixing Carbon and CocoaHello,
did anybody successfully mixed Cocoa calls into a plugin project written in C with the Carbon API on Mac OS X? If so, for what one has to look out for? thanks and all the best, Matthias ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ Did you know? The 4D Partner Program now gives you access to Hotfix releases as soon as they are available! To learn more, go to http://www.4D.com/support/partner.html To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
|
|
Re: Mixing Carbon and CocoaOn 20 mei 2009, at 10:20, Matthias Schmidt wrote: > did anybody successfully mixed Cocoa calls into a plugin project > written > in C with the Carbon API on Mac OS X? > If so, for what one has to look out for? Yes, you can mix Objective-C and C. Just put the Objective-C code in a ".m" file (or ".mm" for C++ compatibility). Define your functions as regular C or C++ functions, and you can call them transparently. HTH, - Rob Laveaux -------------------------------------------------------- Pluggers Software Bleriotlaan 62 2497 BM Den Haag The Netherlands Email: rob.laveaux@... Website: http://www.pluggers.nl -------------------------------------------------------- ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ Did you know? The 4D Partner Program now gives you access to Hotfix releases as soon as they are available! To learn more, go to http://www.4D.com/support/partner.html To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
|
|
Re: Mixing Carbon and CocoaAlthough it's already a long time since you asked this... YES i did
and it works. I had to rename my m-file to *.mm, not sure if it's because i have a c++ project andy Am 20.05.2009 um 10:20 schrieb Matthias Schmidt: > Hello, > did anybody successfully mixed Cocoa calls into a plugin project > written > in C with the Carbon API on Mac OS X? > If so, for what one has to look out for? > > thanks and all the best, > Matthias > > ********************************************************************** > 4D Plugins hosted by 4D, Inc. http://www.4D.com/ > > Did you know? The 4D Partner Program now gives you > access to Hotfix releases as soon as they are available! > To learn more, go to http://www.4D.com/support/partner.html > > To Unsubscribe: mailto:4D-Plugins-off@... > *********************************************************************** > > ********************************************************************** 4D Plugins hosted by 4D, Inc. http://www.4D.com/ Register for 4D Summit 2009 Today Early Bird Pricing Ends August 28th - http://www.4D.com/summit To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
|
|
Re: Mixing Carbon and CocoaHi,
some old examples where I used objective-C... http://forums.4d.fr/Post/FR/2165066/1/2215119#2215119 http://forums.4d.fr/Post/FR/2021503/1/2021504#2021504 http://forums.4d.fr/Post/FR/2039054/1/2039055#2039055 http://forums.4d.fr/Post/FR/1704401/1/2050308#2050308 http://forums.4d.fr/Post/FR/2134557/1/2134558#2134558 http://forums.4d.fr/Post/FR/2134571/1/2134572#2134572 http://forums.4d.fr/Post/FR/2134585/1/2134586#2134586 miyako On 2009/07/29, at 13:10, Andreas Menzi wrote: > Although it's already a long time since you asked this... YES i did > and it works. I had to rename my m-file to *.mm, not sure if it's > because i have a c++ project > > andy > > Am 20.05.2009 um 10:20 schrieb Matthias Schmidt: > >> Hello, >> did anybody successfully mixed Cocoa calls into a plugin project >> written >> in C with the Carbon API on Mac OS X? >> If so, for what one has to look out for? >> >> thanks and all the best, >> Matthias 4D Plugins hosted by 4D, Inc. http://www.4D.com/ Register for 4D Summit 2009 Today Early Bird Pricing Ends August 28th - http://www.4D.com/summit To Unsubscribe: mailto:4D-Plugins-off@... *********************************************************************** |
| Free embeddable forum powered by Nabble | Forum Help |