在Delphi6中服务器的线程有以下几种:
single
apartment
free
both我设置成both模式
TComponentFactory.Create(ComServer, Trsgl,
Class_rsgl, ciMultiInstance,tmboth);
在客户端退出是服务器要报错:说该程序执行了非法操作,在MSVCRT.DLL中导致无效的页面。如果设置成以下就不会包错
TComponentFactory.Create(ComServer, Trsgl,
Class_rsgl, ciMultiInstance);
这是怎么一回事?
single
apartment
free
both我设置成both模式
TComponentFactory.Create(ComServer, Trsgl,
Class_rsgl, ciMultiInstance,tmboth);
在客户端退出是服务器要报错:说该程序执行了非法操作,在MSVCRT.DLL中导致无效的页面。如果设置成以下就不会包错
TComponentFactory.Create(ComServer, Trsgl,
Class_rsgl, ciMultiInstance);
这是怎么一回事?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货