• 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
C++ std string cleanup?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++ std string cleanup?


  • Subject: C++ std string cleanup?
  • From: jason rusoff <email@hidden>
  • Date: Wed, 7 Jan 2004 13:48:44 -0800

I am writing a plugin that uses C++ standard strings. After my plugin has been unloaded and the parent application quits, I'm seeing bad access memory errors in what appear to be string destructors. Some of these strings are stack based variables and some are const declared in a .h file. Does the C++ runtime destroy these after the app quits? Is there any way to force the destruction when my plugin is unloaded? The error occurs in dyld_mod_term_funcs, which runs after [NSApplication terminate]; Do I need to add some c++ runtime libs to the main app, which is cocoa/Objc?
Thanks,
Jason
_______________________________________________
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.
  • Prev by Date: Re: Message.framework bugs?
  • Next by Date: Re: Thinking about shareware prices... (was a question about NSDate inside userDefaults)
  • Previous by thread: disableKeyEquivalentForDefaultButtonCell broken?
  • Next by thread: XML and XSLT
  • Index(es):
    • Date
    • Thread