000-349 · Question #59
What must the application developer do before a map will run on an operating system other than Windows?
The correct answer is C. Build the map using the build for Specific Platform command. To run a WTX map on a non-Windows platform, the developer must compile it targeting that specific platform using the platform-specific build command, because the compiled map binary is platform-dependent.
Question
What must the application developer do before a map will run on an operating system other than Windows?
Options
- AChange all of the component character sets to NATIVE.
- BTranslate all literal values into the target platform character set.
- CBuild the map using the build for Specific Platform command.
- DRename the file extension for the compiled map to .mmc.
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C84% (21)
- D4% (1)
Why each option
To run a WTX map on a non-Windows platform, the developer must compile it targeting that specific platform using the platform-specific build command, because the compiled map binary is platform-dependent.
Changing component character sets to NATIVE addresses character encoding translation, not the platform compatibility of the compiled binary, and alone would not allow the map to run on another OS.
Translating literal values into a target character set handles data encoding concerns but has no bearing on whether the compiled map executable is compatible with a different operating system.
WTX map source files are compiled into a binary (.mmc) that is specific to the target operating system and hardware architecture. The 'Build for Specific Platform' command in the WTX Design Studio compiles the map against the correct runtime libraries and instruction set for the intended non-Windows platform. Without this step, the compiled map will not execute correctly on the target OS.
The compiled map output already uses the .mmc extension by convention; renaming the file extension does not alter the binary format or make it executable on a different platform.
Concept tested: WTX cross-platform map compilation and deployment
Topics
Community Discussion
No community discussion yet for this question.