C
cuhker
Unregistered / Unconfirmed
GUEST, unregistred user!
最后这样写总算可以编译通过了并运行了,但令我愤怒的是任何一个 IE关掉都会报告Result=0。我很沮丧,有种被嘲弄的感觉
==========
function Txxxxx._Release: integer;stdcall;
var
COTemp:TComObject;
begin
COTemp:=Self;
Result:=COTemp.ObjRelease;
if Result=0 Then ShowMessage(IntToStr(Result));
end;
==========
function Txxxxx._Release: integer;stdcall;
var
COTemp:TComObject;
begin
COTemp:=Self;
Result:=COTemp.ObjRelease;
if Result=0 Then ShowMessage(IntToStr(Result));
end;