Quantcast
Channel: Delphi Forum - Delphi Programming Kings of Code - Delphi Programming
Viewing all articles
Browse latest Browse all 173

How start unigui v.0.99 without error?

$
0
0
running smoothly and perfect
1- before install set date/time of your computer to 31/10/2014
2- install
3- copy dcu contents to "C:\Program Files\FMSoft\Framework\uniGUI\Dcu"
4- goto delphi then open all packages uniGui and uniTools folders and compile, build and install
5- now you can create new uniGui web or mobile application
6- after creating uniGui web/mobile copy the two units 'CodeRedirect.pas' & 'uniGUIPax.pas' which exist in dcu cracked folder 
copy it to your new project and then add them to project from the Delphi IDE
7- after open 'uniGUIPax.pas' file look at example which exist after declaring the unit

{
//SAMPLE
unit ServerModule;
...
implementation
uses uniGUIPax, Forms, ... ;
...
procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject);
begin
sessionManager.sessions.sessionTimeout := 15*(60000); //15 minutes
with TUniGUIServerModule_(Self) do begin
Port := 80;
Title := Application.Title;
UniRoot := 'uni';
ExtRoot := 'ext-4.2.2.1144';
end;
end;
}

8- open serverModule and after implementaion key word put uses 

implementation
uses uniGUIPax, Forms;

9- at serverModule Create Event put the code

procedure TUniServerModule.UniGUIServerModuleCreate(Sender: TObject);
begin
sessionManager.sessions.sessionTimeout := 15*(60000); //15 minutes
with TUniGUIServerModule_(Self) do begin
Port := 80;
Title := Application.Title;
UniRoot := 'uni';
ExtRoot := 'ext-4.2.2.1144';
end;
end;

10- this code will change the trial Configs

as example port in trial always 8077 here as you see it be port := 80;

11- to deploy application as standalone

copy the exe produced from delphi + 'uni-0.99.0.1169' folder which exist in program files and rename it to 'uni' as create serverModule or any other name
+ 'ext-4.2.2.1144' folder also exist in program files all those (exe + unigui folder + ext folder at the same path)

12- finished

Viewing all articles
Browse latest Browse all 173

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>