Comments on: Mac Plugin Developers – You Should Be Using Native Paths! https:/2014/12/mac-plugin-developers-you-should-be-using-native-paths/ Developer resources for the X-Plane flight simulator Sun, 14 Dec 2014 22:40:56 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: Ben Supnik https:/2014/12/mac-plugin-developers-you-should-be-using-native-paths/#comment-9763 Sun, 14 Dec 2014 22:40:56 +0000 http://xplanedev.wpengine.com/?p=5985#comment-9763 In reply to BlueSideUpBob.

Bob, please contact me off-blog by email if you need help with your plugin.

]]>
By: BlueSideUpBob https:/2014/12/mac-plugin-developers-you-should-be-using-native-paths/#comment-9762 Sun, 14 Dec 2014 20:47:55 +0000 http://xplanedev.wpengine.com/?p=5985#comment-9762 In reply to Ben Supnik.

]]>
By: Ben Supnik https:/2014/12/mac-plugin-developers-you-should-be-using-native-paths/#comment-9761 Sun, 14 Dec 2014 16:42:21 +0000 http://xplanedev.wpengine.com/?p=5985#comment-9761 In reply to BlueSideUpBob.

XPluginStart is fine – basically the sooner you call it, the sooner you can use native paths. So you want to call it before you make any SDK calls that return a file path.

If the Apple Crash report from the crash shows a crash inside XPLM.dylib, send me the crash report.
If the Apple Crash report from the crash shows a crash inside your plugin, you probably have a problem with your linker settings.

]]>
By: BlueSideUpBob https:/2014/12/mac-plugin-developers-you-should-be-using-native-paths/#comment-9760 Sun, 14 Dec 2014 16:23:17 +0000 http://xplanedev.wpengine.com/?p=5985#comment-9760 “Doing so is really easy – it generally involves adding the one line above and deleting your HFS code (which is fun).”

How much fun? What I am really asking is: how is this done?

Blue side up,
Bob

]]>
By: BlueSideUpBob https:/2014/12/mac-plugin-developers-you-should-be-using-native-paths/#comment-9759 Sun, 14 Dec 2014 03:50:31 +0000 http://xplanedev.wpengine.com/?p=5985#comment-9759 Where is the XPLMEnableFeature(“XPLM_USE_NATIVE_PATHS”,1); properly located? When placed at the beginning of XPluginStart the plugin promptly crashes.

Blue side up,
Bob

]]>