 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Fri Apr 07, 2006 12:03 am Post subject: ISAPI dll in BDS2006 |
|
|
Hi,
I have an ISAPI dll built with BCB4. I tried to recompile it with
CBuilder2006 and got problems in project file. Following is a top of the
old file:
#include <HTTPApp.hpp>
#include <ISAPIApp.hpp>
#include <Isapi2.hpp>
#pragma hdrstop
USEFORM("main1.cpp", MainModule); /* TWebModule: DesignClass */
//---------------------------------------------------------------------------
#define Application Httpapp::Application
#pragma link "isapiapp.obj"
//---------------------------------------------------------------------------
int WINAPI DllEntryPoint(HINSTANCE hinst, unsigned long reason, void*)
{
try
{
Application->Initialize();
Application->CreateForm(__classid(TMainModule), &MainModule);
Application->Run();
///
Last 3 lines here were changed by IDE to:
WebApplication->Initialize();
ISAPIapp->CreateForm(__classid(TMainModule), &MainModule);
ISAPIapp->Run();
Neither WebApplication nor ISAPIapp appears to be defined anywhere.
Does anyone have an example of valid B2006 project file for ISAPI dll?
Thanks
Igor |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|