Measure_GuangDong.dpr 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. program Measure_GuangDong;
  2. {$R '..\..\res\uac.res' '..\..\res\uac.rc'}
  3. uses
  4. Windows,
  5. ShareMem,
  6. Forms,
  7. MainFrm in '..\..\Forms\MainFrm.pas' {MainForm},
  8. ProjectManagerFme in '..\..\Frames\ProjectManagerFme.pas' {ProjectManagerFrame: TFrame},
  9. UtilMethods in '..\..\Units\UtilMethods.pas',
  10. ProjectManagerDm in '..\..\DataModules\ProjectManagerDm.pas' {ProjectManagerData: TDataModule},
  11. Connections in '..\..\Units\Connections.pas',
  12. TransFile in '..\..\Units\TransFile.pas',
  13. ZhAPI in '..\..\Units\ZhAPI.pas',
  14. CompactDB in '..\..\Units\CompactDB.pas',
  15. OpenProjectManager in '..\..\Units\OpenProjectManager.pas',
  16. ProjectData in '..\..\Units\ProjectData.pas',
  17. UpdateDataBase in '..\..\Units\UpdateDataBase.pas',
  18. DataBaseTables in '..\..\Units\DataBaseTables.pas',
  19. ConfigDoc in '..\..\Units\ConfigDoc.pas',
  20. SupportUnit in '..\..\Units\SupportUnit.pas',
  21. StandardLibs in '..\..\Units\StandardLibs.pas',
  22. StandardLib in '..\..\Units\StandardLib.pas',
  23. NewProjectFrm in '..\..\Forms\NewProjectFrm.pas' {NewProjectForm},
  24. ProjectFme in '..\..\Frames\ProjectFme.pas' {ProjectFrame: TFrame},
  25. StandardBillsDm in '..\..\DataModules\StandardBillsDm.pas' {StandardBillsData: TDataModule},
  26. StandardBillsFme in '..\..\Frames\StandardBillsFme.pas' {StandardBillsFrame: TFrame},
  27. StandardLibsFme in '..\..\Frames\StandardLibsFme.pas' {StandardLibsFrame: TFrame},
  28. BillsDm in '..\..\DataModules\BillsDm.pas' {BillsData: TDataModule},
  29. BillsMeasureFme in '..\..\Frames\BillsMeasureFme.pas' {BillsMeasureFrame: TFrame},
  30. Globals in '..\..\Units\Globals.pas',
  31. StageDm in '..\..\DataModules\StageDm.pas' {StageData: TDataModule},
  32. ExcelImport in '..\..\Units\ExcelImport.pas',
  33. CacheTree in '..\..\Units\CacheTree.pas',
  34. MCacheTree in '..\..\Units\MCacheTree.pas',
  35. ProjectPropertiesFrm in '..\..\Forms\ProjectPropertiesFrm.pas' {ProjectPropertiesForm},
  36. ProjectProperty in '..\..\Units\ProjectProperty.pas',
  37. FormulaCalc in '..\..\Units\FormulaCalc.pas',
  38. BillsCommand in '..\..\Units\BillsCommand.pas',
  39. PhaseData in '..\..\Units\PhaseData.pas',
  40. PhaseProperty in '..\..\Units\PhaseProperty.pas',
  41. BillsClipboard in '..\..\Units\BillsClipboard.pas',
  42. BillsTree in '..\..\Units\BillsTree.pas',
  43. ProjectCommands in '..\..\Units\ProjectCommands.pas',
  44. PhaseCompareDm in '..\..\DataModules\PhaseCompareDm.pas' {PhaseCompareData: TDataModule},
  45. PhaseCompareFme in '..\..\Frames\PhaseCompareFme.pas' {PhaseCompareFrame: TFrame},
  46. OptionFrm in '..\..\Forms\OptionFrm.pas' {OptionForm},
  47. DealPaymentDm in '..\..\DataModules\DealPaymentDm.pas' {DealPaymentData: TDataModule},
  48. DealPaymentFme in '..\..\Frames\DealPaymentFme.pas' {DealPaymentFrame: TFrame},
  49. PhasePayDm in '..\..\DataModules\PhasePayDm.pas' {PhasePayData: TDataModule},
  50. BillsGatherFme in '..\..\Frames\BillsGatherFme.pas' {BillsGatherFrame: TFrame},
  51. BillsGatherDm in '..\..\DataModules\BillsGatherDm.pas' {BillsGatherData: TDataModule},
  52. ZJJLFme in '..\..\Frames\ZJJLFme.pas' {ZJJLFrame: TFrame},
  53. ZJJLDm in '..\..\DataModules\ZJJLDm.pas' {ZJJLData: TDataModule},
  54. BGLFme in '..\..\Frames\BGLFme.pas' {BGLFrame: TFrame},
  55. BGLDm in '..\..\DataModules\BGLDm.pas' {BGLData: TDataModule},
  56. StaffDm in '..\..\DataModules\StaffDm.pas' {StaffData: TDataModule},
  57. ConstUnit in '..\..\Units\ConstUnit.pas',
  58. PHPWebDm in '..\..\DataModules\PHPWebDm.pas' {PHPWeb: TDataModule},
  59. uLkJSON in '..\..\Units\uLkJSON.pas',
  60. MergeTextFrm in '..\..\Forms\MergeTextFrm.pas' {MergeTextForm},
  61. BGLSelectFrm in '..\..\Forms\BGLSelectFrm.pas' {BGLSelectForm},
  62. WebNewTenderFrm in '..\..\Forms\WebNewTenderFrm.pas' {WebNewTenderForm},
  63. ExportExcel in '..\..\Units\ExportExcel.pas',
  64. ReportsFrm in '..\..\Forms\ReportsFrm.pas' {ReportsForm},
  65. ReportManager in '..\..\Units\ReportManager.pas',
  66. BillsCompileDm in '..\..\DataModules\BillsCompileDm.pas' {BillsCompileData: TDataModule},
  67. BillsCompileFme in '..\..\Frames\BillsCompileFme.pas' {BillsCompileFrame: TFrame},
  68. BillsMeasureDm in '..\..\DataModules\BillsMeasureDm.pas' {BillsMeasureData: TDataModule},
  69. PasswordInputFrm in '..\..\Forms\PasswordInputFrm.pas' {PasswordInputForm},
  70. AboutFrm in '..\..\Forms\AboutFrm.pas' {AboutForm},
  71. AuthFrm in '..\..\Forms\AuthFrm.pas' {AuthorizeForm},
  72. mEncryptUnit in '..\..\Encrypt\mEncryptUnit.pas',
  73. mEncryptPWD in '..\..\Encrypt\mEncryptPWD.pas',
  74. mSNSEncrypt in '..\..\Encrypt\mSNSEncrypt.pas',
  75. mR1Encrypt in '..\..\Encrypt\mR1Encrypt.pas',
  76. mEncryptEditions in '..\..\Encrypt\mEncryptEditions.pas',
  77. mEncryptTypes in '..\..\Encrypt\mEncryptTypes.pas',
  78. mConnectEncrypt in '..\..\Encrypt\NetClient\mConnectEncrypt.pas',
  79. CryptUtils in '..\..\Encrypt\CryptUtils.pas',
  80. EncryptDog in '..\..\Encrypt\EncryptDog.pas',
  81. ScFileArchiver in '..\..\Encrypt\ScFileArchiver.pas',
  82. SearchFme in '..\..\Frames\SearchFme.pas' {SearchFrame: TFrame},
  83. BatchInsertBillsFrm in '..\..\Forms\BatchInsertBillsFrm.pas' {BatchInsertBillsForm},
  84. SearchDm in '..\..\DataModules\SearchDm.pas' {SearchData: TDataModule},
  85. CslJson in '..\..\Units\CslJson.pas',
  86. FindUserFrm in '..\..\Forms\FindUserFrm.pas' {FindUserForm},
  87. ImportExcelHintFrm in '..\..\Forms\ImportExcelHintFrm.pas' {ImportExcelHintForm},
  88. CheckerFme in '..\..\Frames\CheckerFme.pas' {CheckerFrame: TFrame},
  89. OrderCheckerFme in '..\..\Frames\OrderCheckerFme.pas' {OrderCheckerFrame: TFrame},
  90. ReportAdjustFrm in '..\..\Forms\ReportAdjustFrm.pas' {ReportAdjustForm},
  91. DealBillsDm in '..\..\DataModules\DealBillsDm.pas' {DealBillsData: TDataModule},
  92. BatchReplaceBillsFrm in '..\..\Forms\BatchReplaceBillsFrm.pas' {BatchReplaceBillsForm},
  93. MD5Unit in '..\..\Units\MD5Unit.pas',
  94. MainDataListDm in '..\..\DataModules\MainDataListDm.pas' {MainListData: TDataModule},
  95. mProgressFrm in '..\..\Forms\mProgressFrm.pas' {mProgress},
  96. rmGclBillsBGDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsBGDm.pas' {DataModule1: TDataModule},
  97. rmBGLExecutionDm in '..\..\DataModules\ReportMemoryDm\rmBGLExecutionDm.pas' {rmBGLExecutionData: TDataModule},
  98. rmBillsGatherDm in '..\..\DataModules\ReportMemoryDm\rmBillsGatherDm.pas' {rmBillsGatherData: TDataModule},
  99. rmCacheData in '..\..\DataModules\ReportMemoryDm\rmCacheData.pas',
  100. rmFxBillsAddDm in '..\..\DataModules\ReportMemoryDm\rmFxBillsAddDm.pas' {rmFxBillsAddData: TDataModule},
  101. rmFxBillsCompareDm in '..\..\DataModules\ReportMemoryDm\rmFxBillsCompareDm.pas' {rmFxBillsCompareData: TDataModule},
  102. rmGclBillsAddDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsAddDm.pas' {rmGclBillsAddData: TDataModule},
  103. rmGclBillsCompareDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsCompareDm.pas' {rmGclBillsCompareData: TDataModule},
  104. rmGridHeaderDm in '..\..\DataModules\ReportMemoryDm\rmGridHeaderDm.pas' {rmGridHeaderData: TDataModule},
  105. rmSelectProjectFrm in '..\..\Forms\rmSelectProjectFrm.pas' {ProjectSelectForm},
  106. ConditionalDefines in '..\..\Units\ConditionalDefines.pas',
  107. ProgressHintFrm in '..\..\Forms\ProgressHintFrm.pas' {ProgressHintForm},
  108. rmTestFrm in '..\..\DataModules\ReportMemoryDm\rmTestFrm.pas' {rmTestForm},
  109. CheckAndClearFrm in '..\..\Forms\CheckAndClearFrm.pas' {CheckAndClearForm},
  110. rmGclBillsAuditCompareDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsAuditCompareDm.pas' {rmGclBillsAuditCompareData: TDataModule},
  111. DealBillsFrm in '..\..\Forms\DealBillsFrm.pas' {DealBillsForm},
  112. TenderBackupFrm in '..\..\Forms\TenderBackupFrm.pas' {TenderBackupForm},
  113. TenderBackupDm in '..\..\DataModules\TenderBackupDm.pas' {TenderBackupData: TDataModule},
  114. BillsBookmarkDm in '..\..\DataModules\BillsBookmarkDm.pas' {BillsBookmarkData: TDataModule},
  115. BookmarkFme in '..\..\Frames\BookmarkFme.pas' {BookmarkFrame: TFrame},
  116. rmDealInfosDm in '..\..\DataModules\ReportMemoryDm\rmDealInfosDm.pas' {rmDealInfosData: TDataModule},
  117. rmXmjBGLDetailDm in '..\..\DataModules\ReportMemoryDm\rmXmjBGLDetailDm.pas' {rmXmjBGLDetailData: TDataModule},
  118. WelcomeFrm in '..\..\Forms\WelcomeFrm.pas' {WelcomeForm},
  119. rmOtherReport1Dm in '..\..\DataModules\ReportMemoryDm\rmOtherReport1Dm.pas' {rmOtherReport1Data: TDataModule},
  120. CheckerMemoFrm in '..\..\Forms\CheckerMemoFrm.pas' {CheckerMemoForm},
  121. CslHint in '..\..\Units\CslHint.pas',
  122. TenderBackupManager in '..\..\Units\TenderBackupManager.pas',
  123. UpFileManageUnit in '..\..\Units\UpFileManageUnit.pas',
  124. UpFileFrame in '..\..\Forms\UpFileFrame.pas',
  125. UpFileManageFrame in '..\..\Forms\UpFileManageFrame.pas',
  126. SheetSelectFrm in '..\..\Forms\SheetSelectFrm.pas' {SheetSelectForm},
  127. Checker in '..\..\Units\Checker.pas',
  128. ReportInteractInfo in '..\..\Units\ReportInteractInfo.pas',
  129. AuditSelectFrm in '..\..\Forms\ReportInteractFrms\AuditSelectFrm.pas' {AuditSelctForm},
  130. DealBillsFme in '..\..\Frames\DealBillsFme.pas' {DealBillsFrame: TFrame},
  131. rmGclBillsPlaneDm in '..\..\DataModules\ReportMemoryDm\rmGclBillsPlaneDm.pas' {rmGclBillsPlaneData: TDataModule},
  132. StageCompareDm in '..\..\DataModules\StageCompareDm.pas' {StageCompareData: TDataModule},
  133. BGLClipboard in '..\..\Units\BGLClipboard.pas',
  134. rmMentalCustomized1Dm in '..\..\DataModules\ReportMemoryDm\rmMentalCustomized1Dm.pas' {rmMentalCustomized1Data: TDataModule},
  135. mDataRecord in '..\..\Units\mDataRecord.pas',
  136. rmGcl_XmjBillsDm in '..\..\DataModules\ReportMemoryDm\rmGcl_XmjBillsDm.pas' {rmGcl_XmjBillsData: TDataModule},
  137. rmCustomized2Dm in '..\..\DataModules\ReportMemoryDm\rmCustomized2Dm.pas' {rmCustomized2Data: TDataModule},
  138. CalcDecimal in '..\..\Units\CalcDecimal.pas',
  139. DetailExcelImport in '..\..\Units\DetailExcelImport.pas',
  140. mProgressProFrm in '..\..\Forms\mProgressProFrm.pas' {ProgressProForm},
  141. BaseClipboard in '..\..\Units\BaseClipboard.pas',
  142. PriceMarginBillsDm in '..\..\DataModules\PriceMarginBillsDm.pas' {PriceMarginBillsData: TDataModule},
  143. ProjectGLDm in '..\..\DataModules\ProjectGLDm.pas' {ProjectGLData: TDataModule},
  144. GclBillsGatherModel in '..\..\Units\GclBillsGatherModel.pas',
  145. DetailGLDm in '..\..\DataModules\DetailGLDm.pas' {DetailGLData: TDataModule},
  146. rmHaBaiCustomizedDm in '..\..\DataModules\ReportMemoryDm\rmHaBaiCustomizedDm.pas' {rmHaBaiCustomizedData: TDataModule},
  147. BillsPasteSelectFrm in '..\..\Forms\BillsPasteSelectFrm.pas' {BillsPasteSelectForm},
  148. PriceMarginBillsFme in '..\..\Frames\PriceMarginBillsFme.pas' {PriceMarginBillsFrame: TFrame},
  149. PriceMarginFme in '..\..\Frames\PriceMarginFme.pas' {PriceMarginFrame: TFrame},
  150. ProjectGLFme in '..\..\Frames\ProjectGLFme.pas' {ProjectGLFrame: TFrame},
  151. SelectDetailGLsFrm in '..\..\Forms\SelectDetailGLsFrm.pas' {SelectDetailGLsForm},
  152. DealPayPlanFrm in '..\..\Forms\DealPayPlanFrm.pas' {DealPayPlanForm},
  153. tpBaseGatherData in '..\..\TenderPartition\tpBaseGatherData.pas',
  154. tpGatherGcl in '..\..\TenderPartition\tpGatherGcl.pas',
  155. tpGatherTree in '..\..\TenderPartition\tpGatherTree.pas',
  156. tpMainData in '..\..\TenderPartition\tpMainData.pas',
  157. tpMainFrm in '..\..\TenderPartition\tpMainFrm.pas' {tpMainForm},
  158. tpNoPegDm in '..\..\TenderPartition\tpNoPegDm.pas' {tpNoPegData: TDataModule},
  159. tpPartTender in '..\..\TenderPartition\tpPartTender.pas',
  160. tpPartTenderFme in '..\..\TenderPartition\tpPartTenderFme.pas' {tpPartTenderFrame: TFrame},
  161. tpPartTenderSet in '..\..\TenderPartition\tpPartTenderSet.pas',
  162. tpPartTenderSetFme in '..\..\TenderPartition\tpPartTenderSetFme.pas' {tpPartTenderSetFrame: TFrame},
  163. tpPeg in '..\..\TenderPartition\tpPeg.pas',
  164. tpPeg_GclDm in '..\..\TenderPartition\tpPeg_GclDm.pas' {tpPeg_GclData: TDataModule},
  165. tpPeg_GclFme in '..\..\TenderPartition\tpPeg_GclFme.pas' {tpPeg_GclFrame: TFrame},
  166. tpPegBlock in '..\..\TenderPartition\tpPegBlock.pas',
  167. tpPegGclGatherDm in '..\..\TenderPartition\tpPegGclGatherDm.pas' {tpPegGclGatherData: TDataModule},
  168. tpPegGclGatherFme in '..\..\TenderPartition\tpPegGclGatherFme.pas' {tpPegGclGatherFrame: TFrame},
  169. tpPegPartSettingFrm in '..\..\TenderPartition\tpPegPartSettingFrm.pas' {tpPegPartSettingForm},
  170. tpPricePartSettingFrm in '..\..\TenderPartition\tpPricePartSettingFrm.pas' {tpPricePartSettingForm},
  171. tpSelectTenderDm in '..\..\TenderPartition\tpSelectTenderDm.pas' {tpSelectTenderData: TDataModule},
  172. tpSelectTenderNode in '..\..\TenderPartition\tpSelectTenderNode.pas',
  173. tpSelectTendersFrm in '..\..\TenderPartition\tpSelectTendersFrm.pas' {SelectTendersForm},
  174. tpTrialPegInputFrm in '..\..\TenderPartition\tpTrialPegInputFrm.pas' {TrialPegInputForm},
  175. mPegFilter in '..\..\Units\mPegFilter.pas',
  176. rdpBillsGatherDm in '..\..\Report\DataPrepare\rdpBillsGatherDm.pas' {rdpBillsGatherData: TDataModule},
  177. rdpTables in '..\..\Report\DataPrepare\rdpTables.pas',
  178. ReportPrepare in '..\..\Report\ReportPrepare.pas',
  179. ColVisibleManager in '..\..\Units\ColVisibleManager.pas',
  180. ReportConnection in '..\..\Report\ReportConnection.pas',
  181. rgpGatherControl in '..\..\Report\ProjGather\rgpGatherControl.pas',
  182. rpgBillsCalcDm in '..\..\Report\ProjGather\rpgBillsCalcDm.pas' {rpgBillsCalcData: TDataModule},
  183. rpgBillsDm in '..\..\Report\ProjGather\rpgBillsDm.pas' {rpgBillsData: TDataModule},
  184. rpgGatherControl in '..\..\Report\ProjGather\rpgGatherControl.pas',
  185. rpgGatherData in '..\..\Report\ProjGather\rpgGatherData.pas',
  186. rpgGatherProjDm in '..\..\Report\ProjGather\rpgGatherProjDm.pas' {rpgGatherProjData: TDataModule},
  187. rProjGatherTables in '..\..\Report\ProjGather\rProjGatherTables.pas',
  188. ProjGatherTree in '..\..\ProjGather\ProjGatherTree.pas',
  189. ProjGather in '..\..\ProjGather\ProjGather.pas',
  190. CalcData in '..\..\Units\CalcData.pas',
  191. GatherProjInfo in '..\..\ProjGather\GatherProjInfo.pas',
  192. ProjGatherCalcData in '..\..\ProjGather\ProjGatherCalcData.pas',
  193. ProjGatherSelectFrm in '..\..\ProjGather\ProjGatherSelectFrm.pas' {ProjGatherSelectForm},
  194. DealBillsExcelImport in '..\..\Units\DealBillsExcelImport.pas',
  195. ExcelImport_Bills in '..\..\Units\ExcelImport_Bills.pas',
  196. ExcelImport_GclBills in '..\..\Units\ExcelImport_GclBills.pas';
  197. {$R *.res}
  198. var Mutex: THandle;
  199. begin
  200. Mutex := CreateMutex(nil, True, G_AppHandleName);
  201. if GetLastError = ERROR_ALREADY_EXISTS then
  202. Application.MessageBox('程序正在运行, 请勿重复打开该软件!', '系统提示', MB_OK + MB_ICONINFORMATION)
  203. else
  204. begin
  205. Application.CreateHandle;
  206. Application.Initialize;
  207. Application.Title := '纵横公路工程结算决算计量一体化软件广东专业版';
  208. ShowWelcome;
  209. if CheckDogExists then
  210. begin
  211. HideWelcome;
  212. Application.CreateForm(TMainForm, MainForm);
  213. end
  214. else HideWelcome;
  215. Application.Run;
  216. end;
  217. ReleaseMutex(Mutex);
  218. end.