标题: notorious 906 error!!!! [打印本页] 作者: iov_cp 时间: 2007-4-9 14:54 标题: notorious 906 error!!!! I definded a custom head file--custom.sbh,custom.sbl, in custom.sbl , a custom type is definded:
Type t
a as string
b as string
c as string
End Type
Then i definded a function to return the custom type,
Function f as (info as t) as integer
info.a="a"
info.b="b"
info.c="c"
f=0
End function
when i include this custom.sbh,push F5 to invoke this function, the Rational will indicate "Runtime error '906' - module Myscript Name,lin11 . External procedure interface mismatch. "
It's strange it worked well one minute ago..... Only one thing i know is it's related to my custom type and custom function!!! If i re-compiled it and this phenomena vanished, later it will happen again.
I don't know what problem happened????????????????????How can i dispose it?作者: iov_cp 时间: 2007-4-9 16:22 标题: Another aspect.. notorious 906 error!!!! to Subroutine
I definded a custom head file--custom.sbh,custom.sbl, in custom.sbl , a custom type is definded:
Type t
a as string
b as string
c as string
End Type
Then i definded a function to return the custom type,
Sub f (Byref info as t)
info.a="a"
info.b="b"
info.c="c"