Code sample:
NUMBER nCount;
OBJECT AnObject;
begin
try
set AnObject = CreateObject("COMName.COMObject");
nCount = 1;
MessageBox(AnObject.Item(nCount).Name, WARNING); // this throws
Exception
catch
// something to do
endcatch;
end;
while substituting the variable with a plain number directly will work
ok.
I've tried to use LOWORD(nCount), but to no avail.
The dll is written in C++.
anyone have idea of what's going on?
any help would be mucchh appreciated!
thanx,
dioni