The compilers that Macromedia QA used to create and test each XDK are listed in the XDK's ReadMe. Usually, later versions of the supported compilers work, but may require some tweaking. Search the Xtras Developers area for updated information.

Developers wonder whether they can use other compilers and languages.

If your desired compiler can generate a COM DLL (aka ActiveX DLL), then in theory you can coerce it to generate an Xtra. Xtras use Microsoft's COM vtable layout, with some MOA-specific entry points. All the code needed to create an Xtra is generated by the MOA header files, particularly <moaxtra.h>. But as you can tell if you look at <moaxtra.h>, it has a ton of preprocessor macro stuff in it.

If you want to try to get the MOA headers to work for a different compiler do the following:

  1. Use the compiler's Microsoft- or Metrowerks-compatible mode, make sure it #defines the expected preprocessor variables.
  2. Run your chosen compiler's preprocessor on your C files, then run a C beautifier program on it.
  3. Compare the results with the <moaxtra.h> output.
  4. If you have access to it, you can run the Visual C preprocessor on your C files, then run a C beautifier program on the output.
  5. Tweak the macros in a modified <moaxtra.h> until they work.
  6. You might be able to create your own precompiled<moaxtra.h> and use this.

Additional Information

Faced with this research project, nearly everyone has given in and bought MSVC or CodeWarrior, because time is money.