QUOTE (tidus97 @ Nov 6 2009, 05:13 PM)

hey guys. i do alot of calculating outside of gamemaker. however, because i can only return a double or char* from my functions, i find myself going back and forward between dll + gamemaker to gather all the values i need for that step of the game. this is pretty heavy on the system - i've got C++ doing my heavy lifting (data storage etc) with a DLL but because i need to search for values, say, 4 or 5 times over instead of being able to return them back to GM in one go i loose alot of performance. as it stands, the "native" arrays that come with GM are faster than my DLL. infact, i see a performance loss at significant performance drop all the way up at 1000~ instances, compared to the DLL which results in a significant drop at only 320. so i was wondering how you guys delt with this..do u all really just pass back a single value at a time? + a little offtopic but is the link between DLL's and gamemaker going to be strengthened in the future? (support for passing things like arrays for example).
One way would be to return a string, then split that string into other values. Else you could use this
http://gmc.yoyogames.com/index.php?showtopic=429267 but I dont know anything about that.