wuping
(wuping)
1
A simple code, but I got “undefined symbol: _IID_IUnknown”. What did I wrong?
namespace ConsoleApplication;
uses rtl;
type
Program = class
public
class method Main(args: array of String): Int32;
begin
// add your own code here
writeLn(rtl.IID_IUnknown.Data1);
end;
end;
end.
mh
(marc hoffman)
2
Hard to say. where is IID_IUnknown supposed to be defined?
wuping
(wuping)
3
It is part of Island rtl, and is defined as “IID_IUnknown”, but the compiler is complaining _IID_IUnknown
mh
(marc hoffman)
4
Hmm, looks like it’s linker error actually. reproduced, will log.
Thanks, logged as bugs://84466
bugs://84466 got closed with status fixed.