L
luckj
Unregistered / Unconfirmed
GUEST, unregistred user!
我在DLL中封装了N个窗体。通过主程调用时正常。
现我在主程序上加了TXPManifest,使它有XP的风格。
在使用DLL过程中都正常,但是一退出主程序就报uxtheme.dll 错误,接着 many consecutive ....错误。 找了好就都没有找到原因。
贴上接口单元。大家帮我看看
library ClientMonitor_D;
uses
ShareMem,
SysUtils,
Forms,
Classes,
IClientMT in 'IClientMT.pas',
UClientMonitorMain in 'UClientMonitorMain.pas' {FormClientMonitorMain},
UPassword_Clew in 'UPassword_Clew.pas' {Form_Clew},
UDF01_CALL in 'DF01/UDF01_CALL.pas' {FORM_DF01_CALL},
......//(155个窗体单元)
UJJ01_CALL in 'JJ01/UJJ01_CALL.pas' {Form_JJ01_CALL};
{$R *.res}
function ClientMonitorDLL:Imac ;stdcall;
begin
Result:=TClientMonitor_D.Create(Application);
end;
exports
ClientMonitorDLL ;
end.
现我在主程序上加了TXPManifest,使它有XP的风格。
在使用DLL过程中都正常,但是一退出主程序就报uxtheme.dll 错误,接着 many consecutive ....错误。 找了好就都没有找到原因。
贴上接口单元。大家帮我看看
library ClientMonitor_D;
uses
ShareMem,
SysUtils,
Forms,
Classes,
IClientMT in 'IClientMT.pas',
UClientMonitorMain in 'UClientMonitorMain.pas' {FormClientMonitorMain},
UPassword_Clew in 'UPassword_Clew.pas' {Form_Clew},
UDF01_CALL in 'DF01/UDF01_CALL.pas' {FORM_DF01_CALL},
......//(155个窗体单元)
UJJ01_CALL in 'JJ01/UJJ01_CALL.pas' {Form_JJ01_CALL};
{$R *.res}
function ClientMonitorDLL:Imac ;stdcall;
begin
Result:=TClientMonitor_D.Create(Application);
end;
exports
ClientMonitorDLL ;
end.