不可以
Exports的函数必须是全局函数
interface
function Foo(Param);stdcall;
implementation
function Foo(Param);
begin
//具体实现
end;
在library
Exports
Foo;
Exports的函数必须是全局函数
interface
function Foo(Param);stdcall;
implementation
function Foo(Param);
begin
//具体实现
end;
在library
Exports
Foo;
不过应该测试一下,说不准Delphi会有限制,毕竟这不太符合OOP的观点