运行时,Delphi的Debugger Exception Notification提示:
Project demo.exe raised exception calss EOleException with message '参数错误。',Process stopped。
Use Step or Run to continue.[OK] [Help]但提示出错的程序看起来似乎并没什么错误啊。
如:
  Ocx1.SomeMethod(0,0,0,1,'8001','1021','','8001','',0,0);
在语法校验时没有错误提示,但运行到这里时就出错,并且Delphi会进入Ocx1所用到的库文件中并将光标停在SomeMethod方法前。
请知者指点,多谢!!