在做多线程程序时候,编译出错:
Project Project1.exe raised exception class Exception with message 'Application is licensed to use this feature'.Process stopped.Use Step or Run to continue.
下面是源程序:
//---------------------------------------------------------------------------
#include
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("backquerymain.cpp", Form1);
USERES("backquery.res");
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TForm1), &Form1);
Application->Run();
}
catch (Exception &exception)
{
Application->ShowException(&exception);
}
return 0;
}
//---------------------------------------------------------------------------
请问是什么原因?如何解决啊?thanks
--------------------next---------------------
阅读(1068) | 评论(0) | 转发(0) |