Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-09-2010, 06:26 PM   #2 (permalink)
Abel
Registered Member
 
Join Date: Jul 2008
Posts: 189
Default

Problem solved. Turns out I was expecting malloc to not return junk. By clearing the memory allocated I got it to work flawlessly. It still doesn't explain why the simulator stops working with my collision detection when I do this, and yet it works perfectly on the device.
__________________
http://shareitapp.net
Abel is offline   Reply With Quote
 

» Advertisements
» Online Users: 362
20 members and 342 guests
ADY, chemistry, Duncan C, fkmtc, HemiMG, her-ur, iDifferent, MarkC, marto1914, Meoz, padsoftware, Promo Dispenser, Raffaello, sneaky, sojourner, syver, tathaastu, tgjorgoski, Thrillhouse1919, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,220
Posts: 380,716
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:44 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.