问题:DLL中的过程或函数中含有类参数时,为何总是检测不到?1、如果DLL中含有如下过程,调试编译成DLL。
procedure myProc(p_List:TObject);stdcall;
begin
  if p_List is TlistBox then begin
     showmessage('TListBox');
  end
  else begin
     showmessage('Not TListBox');
  end;
end;2、在普通的Project中调用此过程,为什么总是检测不到这个参数的正确类型。
如下调用:
   myProc(ListBox1);
结果显示'Not TListBox'.3、请问这是为什么?