Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

For more information

Brew MP documentation

Brew MP documentation is available in http://developer.brewmp.com/resources on the Brew MP website.

There are four categories of Brew MP documentation:

  • Primers guide you through installing the tools, setting up the work environment, writing a basic "Hello, World" application, and debugging it in the Simulator.
  • Technology Guides help you understand Brew MP technologies and functional areas.
  • How Tos provide solutions to specific programming problems, and include code snippets with explanations and sample code files that you can download.
  • References provide the detailed information you need when working with the tools and writing Brew MP code to produce a successful application.

Brew MP sample code

The Brew MP SDK includes "hello world" type sample applications that you can study and use as a basis for your own applications. These sample applications correspond to primers and demonstrate Brew MP tools. The folder containing the sample code can be installed on your machine from the Brew MP SDK Manager, in the setup tab. Additional applications that demonstrate API usage, and leverage various Brew MP platform capabilities, are available on the Brew MP website.

In general, to view and edit the source code:

  1. Run Visual Studio and open one of the sample project workspaces (*.sln and *vcproj). Sample .dsw and .dsp files for use with Microsoft Visual Studio have also been shipped with the SDK. Run the application in the Simulator.
  2. Make a small change to the source code (for example, showing a different text message) and rebuild the application using the Build menu in your compiler. Be sure to backup any projects you use prior to making changes.
  3. Run the Simulator, to verify that your change has taken effect.

While any development tool that can compile a Win32 DLL works, keep in mind the useful functionality provided by the Brew MP Visual Studio and Eclipse Plugins.

When looking at the code, you may find many familiar things, such as function calls, loops, switch statements. You may notice that the code is written in C with some C++ nuances.