Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
OleCallMethod(Obj, "GetProVersionNumber") error
The following code gives this err in OI10.1 it works in 10.0.8
function get_SRPControlsVersion(Void)
declare function OleCreateInstance,OleCallMethod,OleStatus
Obj = OleCreateInstance("SRP.ControlInfo")
OleCreateInstanceStatus = OleStatus()
SRPControlsVersion = OleCallMethod(Obj, "GetProVersionNumber")
OleCallMethodStatus = OleStatus()
if OleCreateInstanceStatus or OleCallMethodStatus then
call msg(@window,'OleCreateInstance Error : ':OleCreateInstanceStatus:"|OleCallMethod error : ":OleCallMethodStatus)
end
return SRPControlsVersion
Comments
Thanks