Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 15, 2009, 08:14 PM   #1
xilef
macrumors newbie
 
Join Date: Apr 2009
custom new and delete functions

hi

i am in the process of moving all of my projects from visual studio to xcode and am having difficulty with my memory manager

i have a fixed static block of data that i allocate from

when i launch my program it seems that some external functions are calling my new and delete functions before my program starts . this is causing problems for me because this is happening before my static data is initialised

so basically before my program kick in - some external functions are allocating from my data - then my data is initialised - trashing the previous allocations

i understand that replacing new and delete causes external libraries to use your versions ... but i didnt expect them to do this before my data is even initialised

does anyone know a way around this?

thanks
xilef is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How to see custom contact name, delete all email and see calendar block apts? lulla iOS 7 1 Feb 20, 2014 02:38 PM
Can't delete custom profiles in Displays Preferences Axemantitan Mac Basics and Help 0 Nov 10, 2012 06:34 PM
Custom keyboard functions jctivo iPad 0 Jun 24, 2012 05:04 PM
Delete a row from Core Data UITableView with custom button mdhansen5 iPhone/iPad Programming 1 Jun 14, 2012 03:24 PM
Custom Delete UITableViewCell mdhansen5 iPhone/iPad Programming 1 Jun 1, 2012 11:41 AM

Forum Jump

All times are GMT -5. The time now is 11:36 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC