关于active??
gjg 2001-09-25 05:14:45 一个activex控制,vb下前后的绑定正常,asp下出现
错误 8000ffff
灾难性故障
自动化的接口申明为
[ uuid(86B47314-B188-11D5-A333-0050DA8CF1CC),
helpstring("Dispatch interface for Fff Control"), hidden ]
dispinterface _DFff
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CFffCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CFffCtrl)
[id(1)] BSTR go();
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CFffCtrl
[ uuid(86B47315-B188-11D5-A333-0050DA8CF1CC),
helpstring("Event interface for Fff Control") ]
dispinterface _DFffEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CFffCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CFffCtrl
[ uuid(86B47316-B188-11D5-A333-0050DA8CF1CC),
helpstring("Fff Control"), control ]
coclass Fff
{
[default] dispinterface _DFff;
// [default, source] dispinterface _DFffEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
asp文件为:
<html>
<head>
</head>
<body>
<%
set a=Server.CreateObject("proid");
response.write a.go
%>
</body>
</html>