Thread View: borland.public.cppbuilder.internet.web
1 messages
1 total messages
Started by igor_no_spm
Thu, 06 Apr 2006 23:32
ISAPI dll in BDS2006
Author: igor_no_spm
Date: Thu, 06 Apr 2006 23:32
Date: Thu, 06 Apr 2006 23:32
32 lines
2009 bytes
2009 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads