{ Called for each supported locale. }begin); EnumSystemLocales(@LocalesCallback, LCID_SUPPORTED);问题是回调只被调用一次。EnumSystemLocales的注释说,我的回调必须返回true才能继续枚举(或者更正确地说,
我仍然不明白如何制作回调函数,以便DLL可以与主机应用程序进行通信。;
if Assigned(CheckFile) then if CheckFile(Filename, Info,Status) then AddtoListView(Filename, Info, Status); end;end