谢谢楼上多回答!
是我自己弄错了一个地方
在Library中Form并不包含在Application.Components
---------------------------------------------------------
有谁知道怎样遍历DLL中的Form,类似Project中的下面的代码
for i := 0 to Application.ComponentCount - 1 do
if Application.Components[i] is TForm then
//use (Application.Components[i] as TForm)