BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ISAPI dll in BDS2006

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri Apr 07, 2006 12:03 am    Post subject: ISAPI dll in BDS2006 Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Internet Web) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.