【发布时间】:2015-08-05 08:13:15
【问题描述】:
如何解决这个错误?
代码:
Intent *JIntent; //main.h
//menu.cpp
Intent = new JIntent(this); //Error
并创建类:
class TestClass
{
public:
JIntent *MyIntent;
JService *MyService;
virtual int FuncClass() = 0;
};
int TestClass::FuncClass() {
MyIntent = new JIntent(this);
MyService = new JService(this);
}
不起作用。我不明白这个。
【问题讨论】:
-
Pozharov 显示类 JIntent 的构造函数和你得到的错误信息。
标签: android c++ c++builder firemonkey