Board index » delphi » Error E2459 app_b.h 89: VCL style classes must be constructed using operator new

Error E2459 app_b.h 89: VCL style classes must be constructed using operator new

Hi,

I'm compiling

D:\test>BCC32 -c -tWM -VF -v -Od -DWIN32 -DDEBUG -D_MBCS -ID:\Borland\CBuild
er5\include\Vcl -o".\debug/omfobject.obj" omfobject.cpp
Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland

But got the error:

Error E2459 app_b.h 89: VCL style classes must be constructed using operator
new

Here, in file app_b.h, which is included by omfobject.cpp, line 89 is:

/**************************************/
#include <vcl.h>

Class MyClass : public TObject {

......
    TStringList         m_strlistSourceFile;    /* line 89 */

Quote
};

/**************************************/

What's wrong here?
Any help will be appricated!
Thasnk in advance!

Kevin Huang
BEA System, Inc.

 

Re:Error E2459 app_b.h 89: VCL style classes must be constructed using operator new


On Tue, 19 Feb 2002 20:03:17 -0600, "Kevin Huang" <kevin.hu...@beasys.com>
wrote:

Quote
>D:\test>BCC32 -c -tWM -VF -v -Od -DWIN32 -DDEBUG -D_MBCS -ID:\Borland\CBuild
>er5\include\Vcl -o".\debug/omfobject.obj" omfobject.cpp
>Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000 Borland

Wrong newsgroup. This one and all others with .cpp. in their name are
about the pre-Builder compilers up to BC++ 5.02. Post Builder questions
in one of the .cppbuilder. groups.

--
Wayne A. King
(ba...@torfree.net, wayne.k...@ablelink.org,
 wak...@idirect.com, Wayne_A_K...@compuserve.com)

Other Threads