有关ACTIVEX DLL和COM应用服务器的编程问题。 1 New ActiveX Library2 New(Add) Com Object3 定义 Com 接口4 实现 Com 接口5 编译注册服务(及其中又 IIS)6 编写测试用的 .ASP7 测试 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 片断:: TMapObj = class(TASPObject, IMapObj) protected procedure OnEndPage; safecall; procedure OnStartPage(const AScriptingContext: IUnknown); safecall; function GenNewFile: WideString; safecall; function Get_MaxZoom: Double; safecall; function Get_PBottom: Double; safecall; function Get_PHeight: Double; safecall; function Get_PLeft: Double; safecall; function Get_PObjID: SYSINT; safecall; function Get_PObjName: WideString; safecall; function Get_PObjURL: WideString; safecall; function Get_PObjX: Double; safecall; function Get_PObjY: Double; safecall; function Get_PRight: Double; safecall; function Get_PTop: Double; safecall; function Get_PWidth: Double; safecall; procedure AddLayerFromTable(const TableName, Param: WideString); safecall; procedure AddLayerFromTXT(const FileName: WideString); safecall; procedure AddLine(const Name: WideString; X1, Y1, X2, Y2: Double);ASp:: 'Create Map Object Set Session("Map")=Server.CreateObject("WebGis.MapObj") ASBPath=server.mappath("/Dzwebgis/") Session("Map").MapName 0,"MainMap" Session("Map").SetMapPath ASBPath Session("Map").SetMapDName "MapImages" Session("Map").ConnectionStr "slserver","dzcatv","dzcatv" ' Open map 假如你是领导,你会选哪中程序员 ListView的Caption和SubItems如何统一起来? 关于Tmemo有个问题,第一次遇到这事,有兴趣的请看看。 通过ADOQuery查询出来的结果如何传给combobox的下拉列表?急!!! 如何在treeview中右键选择节点后处理事件再弹出popmenu菜单 如何判断TEdit控件的焦点问题?急... 还有人吗?我还没睡,有没有人陪我啊?放分罗!! 有没有人用过DOA的... delphi的Edit如何自动获取剪贴板内的一串字符 十万火急:关于串口通讯的问题? 一个指针问题 十进制数转化成二进制用什么函数
TMapObj = class(TASPObject, IMapObj)
protected
procedure OnEndPage; safecall;
procedure OnStartPage(const AScriptingContext: IUnknown); safecall;
function GenNewFile: WideString; safecall;
function Get_MaxZoom: Double; safecall;
function Get_PBottom: Double; safecall;
function Get_PHeight: Double; safecall;
function Get_PLeft: Double; safecall;
function Get_PObjID: SYSINT; safecall;
function Get_PObjName: WideString; safecall;
function Get_PObjURL: WideString; safecall;
function Get_PObjX: Double; safecall;
function Get_PObjY: Double; safecall;
function Get_PRight: Double; safecall;
function Get_PTop: Double; safecall;
function Get_PWidth: Double; safecall;
procedure AddLayerFromTable(const TableName, Param: WideString); safecall;
procedure AddLayerFromTXT(const FileName: WideString); safecall;
procedure AddLine(const Name: WideString; X1, Y1, X2, Y2: Double);ASp::
'Create Map Object
Set Session("Map")=Server.CreateObject("WebGis.MapObj")
ASBPath=server.mappath("/Dzwebgis/")
Session("Map").MapName 0,"MainMap"
Session("Map").SetMapPath ASBPath
Session("Map").SetMapDName "MapImages"
Session("Map").ConnectionStr "slserver","dzcatv","dzcatv"
' Open map