如果要在asp.net里实现调用ocx里的方法,要怎么写代码呀?
我这样写
定义:
  <OBJECT
      id="ocxabc"
  classid="clsid:32EC0DB2-49E7-4946-BF04-BF45C0A69366"
  codebase="http://127.0.0.1/ocx/ocxSetUp.ocx#version=1,0,0,0"
  width=350
  height=250
>
</OBJECT>调用:
<script type="text/javascript">
function getFileName()
{
    
    ocxabc.GetFileName("aaaaa");
}
</script>
但是不对呀,ocxabc.写这个的时候提示的根本就没有GetFileName这个方法
ocx是delphi写的。方法写在interface,public,published里都没看到有可供调用的方法。