• 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
Objectiv-C++ to ANSI-C++ problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Objectiv-C++ to ANSI-C++ problem


  • Subject: Objectiv-C++ to ANSI-C++ problem
  • From: "Hire" <email@hidden>
  • Date: Wed, 14 Jan 2004 10:23:19 +0900

Hello

I am developing a sample application using COCOA and Objective-C++.
This sample application need to use existing carbonized framework.
This framework was developed using CodeWarrior and C++.

In sample code I am able to declare C++ object. Also using "new"
operator I can create instance of c++ object. But while deleting that
object using "delete" operator EXC_BAD_ACESS signal is raised.

Why is so.

This mean that new does not return valid pointer/reference to c++ object.

In XCodes debug window it shows stack trace of class methods that I have
not invoked.

What is actually problem.

Is runtime model of Framework and Cocoa-based application differ?

How bridge this gap?

SBH
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Objectiv-C++ to ANSI-C++ problem
      • From: "M. Uli Kusterer" <email@hidden>
  • Prev by Date: Making a custom cell scrollable
  • Next by Date: Re: NSArrayController with Combo Boxes, etc.
  • Previous by thread: Making a custom cell scrollable
  • Next by thread: Re: Objectiv-C++ to ANSI-C++ problem
  • Index(es):
    • Date
    • Thread