 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Peter Henriksen Guest
|
Posted: Fri Apr 01, 2005 10:22 pm Post subject: No sign of IWInitApacheTwo .. |
|
|
Let me quote from my earlier post .. the thread died :-)
---
| Quote: | if I modify a project for Apache 2, I find I miss the IWInitApacheTwo
unit.
Are you using .NET or Win32 mode?
|
Win32 .. I create a new IW ISAPI project, and change
ISAPIApp,
IWInitISAPI
to
ApacheTwoApp,
IWInitApacheTwo
in the uses clause, I've also imported a project created in D7, but am
still missing IWInitApacheTwo unit, so it makes no difference ...
I am Using Delphi 2005 Enterprise ... if it makes any difference ..
---
Since then I have tried the same thing under D2005 Architect, same
problem .. no sign of IWInitApacheTwo ...
Am I the only one in the world using Apache 2 on Windows ?
Regards
Peter
Mvh
Peter Henriksen
|
|
| Back to top |
|
 |
Ilkka Lahdenpohja Guest
|
Posted: Sat Apr 02, 2005 7:34 am Post subject: Re: No sign of IWInitApacheTwo .. |
|
|
Hi!
Here is sample one of my D7 + Apache 2.0.53 project file. When I run it as
standalone the first row is disabled and the second one is enabled. When I
compile it to Apache module First row is enabled and second row is disabled.
I have seven different modules made by like this and they works fine.
Link to this Apache module: http://webyht.tampere.fi/katurekisteri
Ilkka
// library mod_katurekisteri; {$DEFINE APACHE}
program mod_katurekisteri;
uses
{$IFDEF APACHE}
ApacheTwoApp, IWInitApacheTwo,
{$ELSE}
IWMain,
{$ENDIF}
Forms,
ServerController in 'ServerController.pas' {IWServerController:
TDataModule},
Unit1 in 'Unit1.pas' {formKadut: TIWAppForm},
Unit2 in 'Unit2.pas',
Unit4 in 'Unit4.pas' {formKartat: TIWAppForm},
Unit5 in 'Unit5.pas' {formSillat: TIWAppForm},
Unit6 in 'Unit6.pas' {formJkpp: TIWAppForm},
UserSessionUnit in 'UserSessionUnit.pas' {IWUserSession:
TIWUserSessionBase};
{$R *.res}
{$IFDEF APACHE}
exports apache_module name 'katurekisteri_module';
{$ENDIF}
begin
{$IFDEF APACHE}
IWRun;
{$ELSE}
Application.Initialize;
Application.CreateForm(TformIWMain, formIWMain);
Application.Run;
{$ENDIF}
end.
|
|
| Back to top |
|
 |
Peter Henriksen Guest
|
Posted: Sat Apr 02, 2005 7:56 am Post subject: Re: No sign of IWInitApacheTwo .. |
|
|
Hi Ilkka, and thanks for answering :-)
On Sat, 2 Apr 2005 10:34:19 +0300, "Ilkka Lahdenpohja" <ila@fi> wrote:
| Quote: | Hi!
Here is sample one of my D7 + Apache 2.0.53 project file. When I run it as
|
My problem is not with D7 but D2005, perhaps I am a little unclear ..
:-)
| Quote: | // library mod_katurekisteri; {$DEFINE APACHE}
program mod_katurekisteri;
uses
{$IFDEF APACHE}
ApacheTwoApp, IWInitApacheTwo,
|
This works for me as well until you realize that Delphi 2005 does not
include the IWInitApacheTwo unit .. that is my real problem. Also I
only have access to D7 at work, at home I have Delphi 2005 - so it is
not much of an option for me to use D7 instead.
Regards
Peter
Mvh
Peter Henriksen
|
|
| Back to top |
|
 |
Ilkka Lahdenpohja Guest
|
Posted: Sat Apr 02, 2005 8:26 am Post subject: Re: No sign of IWInitApacheTwo .. |
|
|
| Quote: | My problem is not with D7 but D2005, perhaps I am a little unclear ..
:-)
// library mod_katurekisteri; {$DEFINE APACHE}
program mod_katurekisteri;
uses
{$IFDEF APACHE}
ApacheTwoApp, IWInitApacheTwo,
This works for me as well until you realize that Delphi 2005 does not
include the IWInitApacheTwo unit .. that is my real problem. Also I
only have access to D7 at work, at home I have Delphi 2005 - so it is
not much of an option for me to use D7 instead.
|
Ok. I understand. If things are like that I never move away from D7. Apache
support is must to me.
Ilkka
|
|
| 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
|
|