herculanojs Posted July 11, 2016 Share Posted July 11, 2016 Hello friends What are the folders that are to be distributed with the application? Ja copied ext-4.2.5.1763, touch-2.4.2-complete, uni-0.99.95.1309, unim-0.99.95.1309, unipackages And my application still does not boot. The documentation does not say anything about it. These path is a big mess. ExtRoot =.\[ext]\ UniRoot =.\[uni]\ UniMobileroot =.\[unim]\ uniguiversion = 0.99.95.1309 The mentioned folders are where this ISAPI DLL. I do not know what to do. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted July 12, 2016 Administrators Share Posted July 12, 2016 Hi The documentation describes this topic in details. Normally it is as easy as installing uniGUI Runtime Packages and you are done. Link to comment Share on other sites More sharing options...
eduardo.junqueira Posted July 26, 2016 Share Posted July 26, 2016 unit ServerModule; interface uses Classes, SysUtils, uniGUIServer, uniGUIMainModule, uniGUIApplication, uIdCustomHTTPServer, uniGUITypes; type TUniServerModule = class(TUniGUIServerModule) procedure UniGUIServerModuleBeforeInit(Sender: TObject); private { Private declarations } protected procedure FirstInit; override; public FFmtFormatoBR : TFormatSettings; end; function UniServerModule: TUniServerModule; implementation {%CLASSGROUP 'Vcl.Controls.TControl'} {$R *.dfm} uses UniGUIVars; function UniServerModule: TUniServerModule; begin Result:=TUniServerModule(UniGUIServerInstance); end; procedure TUniServerModule.FirstInit; begin InitServerModule(Self); end; procedure TUniServerModule.UniGUIServerModuleBeforeInit(Sender: TObject); begin //Configurando Caminhos Pastas self.CacheFolder := UniServerModule.StartPath+'ArqCache\'; self.ExtRoot := UniServerModule.StartPath+'ArqApp\ext-4.2.5.1763\'; self.FilesFolder := UniServerModule.StartPath+'ArqApp\'; self.TempFolder := UniServerModule.StartPath+'ArqTemp\'; self.UniMobileRoot := UniServerModule.StartPath+'ArqApp\unim-0.99.95.1304\'; self.UniRoot := UniServerModule.StartPath+'ArqApp\uni-0.99.95.1304\'; self.CustomFiles.Clear; self.CustomFiles.add('\ArqApp\unipackages\themes\resources\ext-theme-uni_win10\ext-theme-uni_win10-all.css'); //Configurando Configurações Regionais FFmtFormatoBR := TFormatSettings.Create; FFmtFormatoBR.ThousandSeparator := '.'; FFmtFormatoBR.DecimalSeparator := ','; FFmtFormatoBR.CurrencyDecimals := 2; FFmtFormatoBR.DateSeparator := '/'; FFmtFormatoBR.ShortDateFormat := 'dd/mm/yyyy'; FFmtFormatoBR.LongDateFormat := 'dd/mm/yyyy'; FFmtFormatoBR.TimeSeparator := ':'; FFmtFormatoBR.TimeAMString := 'AM'; FFmtFormatoBR.TimePMString := 'PM'; FFmtFormatoBR.ShortTimeFormat := 'hh:mm'; FFmtFormatoBR.LongTimeFormat := 'hh:mm:ss'; FFmtFormatoBR.CurrencyString := 'R$ '; System.SysUtils.FormatSettings := FFmtFormatoBR; end; initialization RegisterServerModuleClass(TUniServerModule); end. 1 Link to comment Share on other sites More sharing options...
Recommended Posts