library YarnStk;

uses
  SysUtils,
  classes,
  forms,
  WinTypes,
  WinProcs,
  midaslib,
  U_GetDllForm in 'U_GetDllForm.pas',
  U_DataLink in 'U_DataLink.pas' {DataLink_YarnStk: TDataModule},
  U_iniParam in 'U_iniParam.pas',
  U_BaseHelp in '..\..\..\public10\design\U_BaseHelp.pas' {frmBaseHelp},
  U_BaseInput in '..\..\..\public10\design\U_BaseInput.pas' {frmBaseInput},
  U_BaseList in '..\..\..\public10\design\U_BaseList.pas' {frmBaseList},
  U_cxGridCustomCss in '..\..\..\public10\design\U_cxGridCustomCss.pas',
  U_globalVar in '..\..\..\public10\design\U_globalVar.pas',
  U_WindowFormdesign in '..\..\..\public10\design\U_WindowFormdesign.pas',
  U_CompressionFun in '..\..\..\public10\ThreeFun\Fun\U_CompressionFun.pas',
  U_RTFun in '..\..\..\public10\ThreeFun\Fun\U_RTFun.pas',
  U_AttachmentUpload in '..\A00通用窗体\U_AttachmentUpload.pas' {frmFjList_RZ},
  U_ClothInfoSel in '..\A00通用窗体\U_ClothInfoSel.pas' {frmClothInfoSel},
  U_CompanySel in '..\A00通用窗体\U_CompanySel.pas' {frmCompanySel},
  U_EmployeeSel in '..\A00通用窗体\U_EmployeeSel.pas' {frmEmployeeSel},
  U_YarnInfoList in 'U_YarnInfoList.pas' {frmYarnInfoList},
  U_YarnPurchasePlanSel in 'U_YarnPurchasePlanSel.pas' {frmYarnPurchasePlanSel},
  U_YarnInEdit in 'U_YarnInEdit.pas' {frmYarnInEdit},
  U_PictureUpload in '..\A00通用窗体\U_PictureUpload.pas' {frmPictureUpload},
  U_LabelMapSet in '..\A00通用窗体\U_LabelMapSet.pas' {frmLabelMapSet},
  U_LabelPrint in '..\A00通用窗体\U_LabelPrint.pas' {frmLabelPrint},
  U_YarnPurchasePlanList in 'U_YarnPurchasePlanList.pas' {frmYarnPurchasePlanList},
  U_YarnPurchasePlanPut in 'U_YarnPurchasePlanPut.pas' {frmYarnPurchasePlanPut},
  U_PlanYarnSel in 'U_PlanYarnSel.pas' {frmPlanYarnSel},
  U_testdll in 'U_testdll.pas' {Form1},
  U_YarnRackList in 'U_YarnRackList.pas' {frmYarnRackList},
  U_YarnStkTotalList in 'U_YarnStkTotalList.pas' {frmYarnTotalStkList},
  U_YarnInfoSel in '..\A00通用窗体\U_YarnInfoSel.pas' {frmYarnInfoSel},
  U_ZDYHelp in '..\..\..\public10\ThreeFun\Form\U_ZDYHelp.pas' {frmZDYHelp};

{$R *.res}

procedure DllEnterPoint(dwReason: DWORD); far; stdcall;
begin
  DLLProc := @DLLEnterPoint;
  DllEnterPoint(DLL_PROCESS_ATTACH);
end;

procedure DLLUnloadProc(Reason: Integer); register;
begin
//  if (Reason = DLL_PROCESS_DETACH) or (Reason = DLL_THREAD_DETACH) then
//    Application := NewDllApp;
end;

exports
  GetDllForm;

begin
  try
    NewDllApp := Application;
    DLLProc := @DLLUnloadProc;
  except

  end;
end.

