unigui 0.96.0.1065

pax

Member
Joined
Dec 27, 2014
Messages
15
Reaction score
9
Ok guys, i need some help here...
Add this https://www.mediafire.com/?klawztupm47gwoo
and this https://www.mediafire.com/?tjzpcu59kju3p6r to your project and the timeout is gone, but... it won't die automatically when you close your browser, i mean you will see the current total sessions growing up forever in your "Server Monitor" -> "Server Statistics" unless you manually do "uniSession.terminate" but in that case "Purged Sessions" remains 0. So please somebody try to find a way to destroy and purge CLOSED sessions at specific ealpsed time...

For 1169 apply the next for uniGUIJSForm.dcu and uniGUImJSForm.dcu:
to get rid of the nagging alert,
change "CCECCCB8544D46CA67B60E2A52ED23C49E2DDE4005F838F24E9DBD9F5E6F9CA868801BD71C59D40DBA48"
to "EAE56F7EC595084FF9E0672FB6A99B3A11C1D42335DCB36B629DD7C66D0D80E741688F472E41E3829959".
to get rid of the "Evaluation..." in form title,
change "E0CA7ED4633105BCEC0C5C8AF651A235D009"
to "0FD90434C42DCF9944F4046D8F5984B444AD"
and don't forget to change the previous "-" for " ".

Oh, i almost forgot, you can do this in your ServerModule.onCreate...
TUniGUIServerModule_(Self).Port := 80;
TUniGUIServerModule_(Self).Title := Application.Title;


good luck.
from Chile, Pax.

PS:if you're feeling brave edit uniGUIApplication.dcu with HxD and replace the hex text "8B45F480B82001000000752F" to "8B45F480B82001000000EB2F" so you will get rid of the expiration date.
 
Last edited by a moderator:
Joined
Jan 25, 2015
Messages
6
Reaction score
0
Hi, Pax!

To do so:
TUniGUIServerModule_ (Self) .Title: = '1234567890';
A cap url get unreadable characters.
I tried so:
TUniGUIServerModule_ (Self) .Title: = AnsiString ('1234567890');
the result is similar.
 
Last edited by a moderator:

stronger

Member
Joined
Aug 19, 2005
Messages
113
Reaction score
223
Реально работает?
Как сессиями при закрытие приложение
 
Joined
Jan 25, 2015
Messages
6
Reaction score
0
Работает. С сессиями я не заморачиваюсь, exe просто раз в сутки перезапускаю, и сессии обнуляются. Если приложение закрыть по уму, то сессия как и надо - закрывается. Это видно по монитору сессий.
 

stronger

Member
Joined
Aug 19, 2005
Messages
113
Reaction score
223
Пример как правильно закрыть? И еще чет в архиве не нашел uniGUIPax.pas
Пока для маленького учета решил сделать на RAUDUS компоненты не очень богатые пока
 
Joined
Jan 25, 2015
Messages
6
Reaction score
0
Есть в архиве, там два архива Pax приложил!
А закрывать - в смысле если в браузере окно приложения в правом верхнем углу нажать на крестик, то приложение исчезает и видим надпись о "Web session terminated. Restart application" Значит сессия закрылась нормально.
С RAUDUS - тоже работал, тормоз страшный, и компонентов там раз-два и все, и по свойствам очень слабенькие. взять dbgrid - практически в RAUDUS он пустой.
 

pax

Member
Joined
Dec 27, 2014
Messages
15
Reaction score
9
second try now with loadpackage...
https://www.mediafire.com/?79mk5n5td36mnb3
one unit declares a class for sharing an abstract implementation of uniGUIVars procedures to be used by units inside dynamic package (uniGUIVars cann't be inside a package), the second instantiates the object and initializes the abstract procedure calls...
 

pax

Member
Joined
Dec 27, 2014
Messages
15
Reaction score
9
Just for your knowledge
mainmodule an form must be registered dinamically before their instantiation (MainFormPackage->initialization), that we do it in initialization section (what you've "cleaned"), but before that we must give access to registering class procedures inside uniGUIVars (which cann't be inside a bpl), this access is granted by TUniGuiVars (uniGUIVarsClass.bpl->uniGUIVars_.pas) but its instance must be created before all, that we do in main program linking uniGUIVars__.pas (ServerModule->uses UniGUIVars__).
Try recreating packages from scratch,
uniGUIVarsClass contains uniGUIVars_.pas.
MainFormPackage contains MainModule.pas, Main.pas and requires uniGUIVarsClass.dcp.
SimpleEvents build with runtime package uniGUIVarsClass.bpl
i'm downloading xe5...
 

pax

Member
Joined
Dec 27, 2014
Messages
15
Reaction score
9
ok you want to do it in runtime...
in dpr before create forms/modules write:
application.Icon.LoadFromFile('C:\ico\Icon.ico');

in uniGUIPax.pas
after
Shell_NotifyIcon_.disable;

write
lpData^.hIcon := application.Icon.Handle;

good luck
 
Last edited by a moderator:

Antosha22

Member
Joined
Jul 13, 2015
Messages
5
Reaction score
15
Более свежей версии нету.
В исходниках этого компонента не существует (и не будет, максимум будут компоненты, ядро разрабы раскрывать не хотят)

Зеркала для UniGui Pro 0.99.50.1187 (Delphi 2006 - XE8, 32 и 64 бит, для Seattle и Berlin эта вресия не подходит):

http://mir.cr/7EGJCUVN
http://mir.cr/0AQEPY8Z
http://mir.cr/13PDNHO2
http://mir.cr/W8SQKZKW

pass: dumpz.ru
 
Last edited by a moderator:
Top