On Sep 26, 2006, at 8:46 AM, Mike Woodworth wrote:
I've just started working with the gameinput classes on os x. But
working with mach-o projects is complicated by the fact the
HID.bundle needs to be inside the application package. is there
any trick to this, or am I forced to build the app and copy the
bundle inside to do any testing?
Here is a trick I use to get to the Resource folder inside the Mach-O
package for compiled apps, and for a copy of it inside the same
directory as my source code for the debug app.
#If DebugBuild
resFolder = App.ExecutableFile.Parent.Parent.Parent.Parent.Child
("Resources")
#Else
resFolder = App.ExecutableFile.Parent.Parent.Child("Resources")
#Endif
HID.bundle needs to be in the "Framework" folder, so just make the
necessary changes.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>