Planner problem with 8.4 & C++Builder2010

Hi,


I am getting a compile error with planners with the latest TMS pack and c++builder 2010. The error I get is

[BCC32 Error] Planner.hpp(3855): E2303 Type name expected
  Full parser context
    Unit1.cpp(6): #include Unit1.h
    Unit1.h(10): #include C:\Users\shawn\Documents\borland\TMS Component Pack\Builder2010\Planner.hpp
    Planner.hpp(52): namespace Planner
    Planner.hpp(3775): class TPlanner

I can cause the error to happen if I create a new project and put a planner object on the main form.

Any ideas?

Thanks

Isn't there more context to this error? This seems to be the beginning of a compiler log but I suspect the actual error line is missing?

That's the full of the compile error.


The form has just a TPlanner object on it and nothing else. Here is the header file for the unit:

//---------------------------------------------------------------------------

#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Planner.hpp"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TPlanner Planner1;
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 Form1;
//---------------------------------------------------------------------------
#endif

The .cpp file is:

//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma link "Planner"
#pragma resource ".dfm"
TForm1 Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------

When I compile the project that's when I get the error.

What exactly is on line 3855 of your Planner.hpp file?

__property PopupToolbar;



Also, just to be sure, I did a complete uninstall of TMS and C++Builder and then installed both again. I still get the same issue.

This was fixed in TMS Component Pack v8.4.1.0 that is available for download now.

Thanks kindly