Apache Server 2.0 TsiLang Components
Posted: Thu Apr 24, 2003 3:40 pm
Hi all,
Development: Delphi 7, Kylix 3, TsiLang 5.2.2, Windows XP
Production (current): Windows NT 4.0, Apache Server 2.x
Production (In the future): Linux Red Hat 9.0
I have got an Web Services server application.
It runs on Apache Server.
It was running before language modifications.
But after modifications, I cannot load shared DLL's to Apache server.
I have found the reason of the problem.
I think it is depended to "QForms.Application" variable.
On Apache Shared Module applications (DLLs),
"QForms.Application" variable is uninitialized.
Because shared module DLLs uses different application variable.
I have inspected to CLX based source of siLang,
and I have seen a lot of QForms.Application variable like this:
//constructor TRegistry.Create(Sender: TObject);
//begin
// inherited Create(ExtractFilePath(Application.ExeName) +
// Sender.ClassName + '.ini');
//end;
I don't want to replace all of them.
But, I want to return different error, exception or information messages to web services client.
How can I do this?
Thanx for advance.
Hür Akdülger
Development: Delphi 7, Kylix 3, TsiLang 5.2.2, Windows XP
Production (current): Windows NT 4.0, Apache Server 2.x
Production (In the future): Linux Red Hat 9.0
I have got an Web Services server application.
It runs on Apache Server.
It was running before language modifications.
But after modifications, I cannot load shared DLL's to Apache server.
I have found the reason of the problem.
I think it is depended to "QForms.Application" variable.
On Apache Shared Module applications (DLLs),
"QForms.Application" variable is uninitialized.
Because shared module DLLs uses different application variable.
I have inspected to CLX based source of siLang,
and I have seen a lot of QForms.Application variable like this:
//constructor TRegistry.Create(Sender: TObject);
//begin
// inherited Create(ExtractFilePath(Application.ExeName) +
// Sender.ClassName + '.ini');
//end;
I don't want to replace all of them.
But, I want to return different error, exception or information messages to web services client.
How can I do this?
Thanx for advance.
Hür Akdülger