Can anyone help me with this Objective-C?

Miscellaneous Forums/MacOS X Discussion/Can anyone help me with this Objective-C?

You can't return structs to BitzMax as your declaration is expecting a pointer to a blitzmax type not an actual instance of a raw NSPoint.

You can't return a pointer to the NSPoint because it has been allocated on the stack.

I would pass an int pointer to the function and write the result there.