cout << "Creating new ThreadEngine class...\n";
try
{
- ThreadEngineFactory* tef = new ThreadEngineFactory();
- te = tef->Create(ServerInstance);
- delete tef;
+ te = new ThreadEngine(ServerInstance);
}
catch (...)
{
{
try
{
- te->Create(tst);
+ te->Start(tst);
}
catch (CoreException &ce)
{