Isn't it wonderful to write Palm OS applications using good C++ library?
CodeWarrior may compile C++ programs, but there is no such library:

It's now when you can download new version of Palm Object Library. It's C++
framework for easy creating of rapid Palm OS applications. This library uses
approaches similar to well-known MFC. All required documentation is also
available. All the more that the library integrates with CodeWarrior IDE
automatically.

You may download Palm Object Library http://www.tet-soft.com/pol/index.html.

There an example of typical "Hello World" application using new library:

#include "POL.h"
#include "Starter_Res.h"

using namespace POL;

class CDemoApp : public CPalmApp
{
public:
        virtual Err NormalLaunch();

BEGIN_FORM_MAP()
        FORM_MAP_ENTRY(MainForm, CForm)
END_FORM_MAP()
};

Err CDemoApp::NormalLaunch()
{
        CForm::GotoForm(MainForm);
        return 0;
}

DEFAULT_STARTER(CDemoApp)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to