Article View: borland.public.cppbuilder.internet.web
Article #575ISAPI dll in BDS2006
From: 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
Technical Details
Message-ID:
<4435a3b9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,d78f32ede94d2ec4,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: <igor_no_spm@htfs.com.au> Newsgroups: borland.public.cppbuilder.internet.web Subject: ISAPI dll in BDS2006 Date: Fri, 7 Apr 2006 09:32:13 +1000 Lines: 36 Organization: htfs X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 218.214.43.229 Message-ID: <4435a3b9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1144366009 218.214.43.229 (6 Apr 2006 16:26:49 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news3.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail