为什么没有人回复我的问题(如何将webapp debugger的程序转换成isap/nsap型)请大侠相助(100分)

G

glings

Unregistered / Unconfirmed
GUEST, unregistred user!
如何将webapp debugger的程序转换成isap/nsap型
 
然后在project中将相应内容替换一下。也就是将program改为library等等
***********************webapp debugger*********************************
program Project1;
{$APPTYPE GUI}
uses
Forms,
SockApp,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {WebModule2: TWebModule};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TWebModule2, WebModule2);
Application.CreateForm(TForm1, Form1);
Application.Run;
end.

*****************************isap/nsap*****************************
library Project1;
uses
ActiveX,
ComObj,
WebBroker,
ISAPIThreadPool,
ISAPIApp,
Unit1 in 'Unit1.pas' {WebModule1: TWebModule};
{$R *.res}
exports
GetExtensionVersion,
HttpExtensionProc,
TerminateExtension;
begin
CoInitFlags := COINIT_MULTITHREADED;
Application.Initialize;
Application.CreateForm(TWebModule1, WebModule1);
Application.Run;
end.

 
我试了,但是不行.可能是greateform()中的文件名不对.我的程序中有多个窗体,是不是每个窗体都要用greateform,怎样命名?
请大侠多多支持!
 

Similar threads

S
回复
0
查看
959
SUNSTONE的Delphi笔记
S
S
回复
0
查看
779
SUNSTONE的Delphi笔记
S
S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
顶部