leon220
-
Posts
20 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by leon220
-
-
Where can I adjust the UniServerModule.LocalCachePath value, if i run your code it cannot find the pdf file
-
Yes, both sessions can see the GV_data content because it's a module global var.
If you declare GV_data as TUniMainModule var, then both session have it own GV_Data and can't see the value of another session var:
TUniMainModule = class(TUniGUIMainModule)
private
public
{ Public declarations }
GV_data: String;
end;
.....
procedure TMainForm.UniButton1Click(Sender: TObject);
begin
UniMainModule.GV_Data := UniEdit1.Text;
end;
procedure TMainForm.UniButton2Click(Sender: TObject);
begin
UniEdit2.Text := UniMainModule.GV_Data;
end;
Dear Juan,
thanks for the quick responce.
Indeed in this way is works fine.
Does that mean that all the sqlquery's also has to be defined in the
TUniMainModule part or is this only valid for the variables.
Again thank you very much and kindly regards
Leo Nillesen.
-
As far I understand, each session create it owned TUniMainModule object, so, each field (not class var) of it, is unique for this session and only can accessed by this session.
However, a global var or class var (static class var), are common to all session. It's as application variables, instead session variables. This var types can be accessed by all session and must be protected by critical section
I think i missed the attachment
so again:
I made a very simple application with 2 editfields, uniedit1 and uniedit2 and 2 buttons unibutton1 and unibutton2.
The unibutton1 loads the content of the uniedit1 in a variable called GV_data
The unibutton2 loads the content of GV_Data in uniedit2.
What you see now is:
if the first session loads via unibutton1 the content of uniedit1 in GV_data you can via a second session load the data
from gv_data into uniedit2 by pressing unibutton2.
As fare as i see i declared GV_data in the correct module.
I attacted the simple application in a zip file.
would you be so kind to look at it?
Kindly regards Leo Nillesen.
-
As far I understand, each session create it owned TUniMainModule object, so, each field (not class var) of it, is unique for this session and only can accessed by this session.
However, a global var or class var (static class var), are common to all session. It's as application variables, instead session variables. This var types can be accessed by all session and must be protected by critical section
I made a very simple application with 2 editfields, uniedit1 and uniedit2 and 2 buttons unibutton1 and unibutton2.
The unibutton1 loads the content of the uniedit1 in a variable called GV_data
The unibutton2 loads the content of GV_Data in uniedit2.
What you see now is:
if the first session loads via unibutton1 the content of uniedit1 in GV_data you can via a second session load the data
from gv_data into uniedit2 by pressing unibutton2.
As fare as i see i declared GV_data in the correct module.
I attacted the simple application in a zip file.
would you be so kind to look at it?
Kindly regards Leo Nillesen.
-
On you forum you wrote:
If you declare them as TUniMainModule class variables they will global for
same session but invisible to other sessions. Otherwise if you declare as
regular global vars they will be global to all session.
Please can you instruct me how to do this?
I do not know wher and how to declare those variables.
Kindly regards Leo Nillesen
-
Thank you Luiz,
Everything is running fine now.
Regards Leo
-
That did the trick,
My devellopment system had crashed. And I thougt that i reinstalled everything.
But I did not. I forgot the XE2 upgrade.
Thanks for you patience and support.
Have nice holydays and a fantastic 2013.
Kindly regards
Leo Nillesen
-
Dear Farshad,
On this forum I read that you only deliver DCU files. That are as far as I know Delphi compiled Units.
When the message : [DCC Fatal Error] ExtForm.pas(4857): F2051 Unit uniWinUtils was compiled with a different version of System.TMemoryManagerState
comes up , to me this means that it is compiles with the wrong version at you site. Is this conclusion rigth or am I wrong.
I also downloaded beta version 0.90.0.975 but it still generates the same error.
Regards Leo
-
-
Are you using a different non-default Memory Manager?
I do not know this, do you know where i can check this?
-
Thank you for the fast responce.
If I do so, the building of the packages goes perfect.
Then if i build and compile my application I get the following message:
Checking project dependencies...
Building ITCheckpoint.dproj (Debug, Win64)
brcc32 command line for "ITCheckpoint.vrc"
c:\program files (x86)\embarcadero\rad studio\9.0\bin\cgrc.exe -c65001 "ITCheckpoint.vrc" -foITCheckpoint.res
dcc command line for "ITCheckpoint.dpr"
c:\program files (x86)\embarcadero\rad studio\9.0\bin\dcc64.exe -$O- -$W+ --no-config -B -Q -AGenerics.Collections=System.Generics.Collections;
Generics.Defaults=System.Generics.Defaults;WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E.\Win64\Debug
-I"c:\program files (x86)\embarcadero\rad studio\9.0\lib\Win64\release";"C:\Users\leo.NBS\Documents\RAD Studio\9.0\Imports";"c:\program files
(x86)\embarcadero\rad studio\9.0\Imports";"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad
studio\9.0\include";"C:\Program Files (x86)\FastReports\LibD16x64";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program
Files (x86)\Raize\CS5\Lib\RS-XE2\Win64";"C:\Program Files (x86)\FMSoft\Framework\uniGUI";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\uIndy";
"C:\Program Files (x86)\FMSoft\Framework\uniGUI\ExtPascal";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\CSSParser";"C:\Program Files
(x86)\FMSoft\Framework\uniGUI\SynEdit\Source";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\Dcu64\Delphi2012";"C:\Program Files
(x86)\FMSoft\Framework\uniTools";"C:\Program Files (x86)\FMSoft\Framework\uniTools\Dcu64\Delphi2012" -LE"C:\Users\Public\Documents\RAD
Studio\9.0\Bpl\Win64" -LN"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64" -N0.\Win64\Debug -NSWinapi;System.Win;Data.Win;Datasnap.Win;Web.Win;
Soap.Win;Xml.Win;System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell; -O"c:\program files (x86)\embarcadero\rad
studio\9.0\lib\Win64\release";"C:\Users\leo.NBS\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";
"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files
(x86)\FastReports\LibD16x64";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE2\Win64";"C:\Program Files (x86)\FMSoft\Framework\uniGUI";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\uIndy";"C:\Program
Files (x86)\FMSoft\Framework\uniGUI\ExtPascal";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\CSSParser";"C:\Program Files
(x86)\FMSoft\Framework\uniGUI\SynEdit\Source";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\Dcu64\Delphi2012";"C:\Program Files
(x86)\FMSoft\Framework\uniTools";"C:\Program Files (x86)\FMSoft\Framework\uniTools\Dcu64\Delphi2012" -R"c:\program files (x86)\embarcadero\rad
studio\9.0\lib\Win64\release";"C:\Users\leo.NBS\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";
"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files
(x86)\FastReports\LibD16x64";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE2\Win64";"C:\Program Files (x86)\FMSoft\Framework\uniGUI";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\uIndy";"C:\Program
Files (x86)\FMSoft\Framework\uniGUI\ExtPascal";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\CSSParser";"C:\Program Files
(x86)\FMSoft\Framework\uniGUI\SynEdit\Source";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\Dcu64\Delphi2012";"C:\Program Files
(x86)\FMSoft\Framework\uniTools";"C:\Program Files (x86)\FMSoft\Framework\uniTools\Dcu64\Delphi2012" -U"c:\program files (x86)\embarcadero\rad
studio\9.0\lib\Win64\release";"C:\Users\leo.NBS\Documents\RAD Studio\9.0\Imports";"c:\program files (x86)\embarcadero\rad studio\9.0\Imports";
"C:\Users\Public\Documents\RAD Studio\9.0\Dcp\Win64";"c:\program files (x86)\embarcadero\rad studio\9.0\include";"C:\Program Files
(x86)\FastReports\LibD16x64";"c:\program files (x86)\embarcadero\rad studio\9.0\RaveReports\Lib64";"C:\Program Files
(x86)\Raize\CS5\Lib\RS-XE2\Win64";"C:\Program Files (x86)\FMSoft\Framework\uniGUI";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\uIndy";"C:\Program
Files (x86)\FMSoft\Framework\uniGUI\ExtPascal";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\CSSParser";"C:\Program Files
(x86)\FMSoft\Framework\uniGUI\SynEdit\Source";"C:\Program Files (x86)\FMSoft\Framework\uniGUI\Dcu64\Delphi2012";"C:\Program Files
(x86)\FMSoft\Framework\uniTools";"C:\Program Files (x86)\FMSoft\Framework\uniTools\Dcu64\Delphi2012" -V -VN -VR -NB"C:\Users\Public\Documents\RAD
Studio\9.0\Dcp\Win64" -NH"C:\Users\Public\Documents\RAD Studio\9.0\hpp" -NO.\Win64\Debug ITCheckpoint.dpr
[DCC Warning] ExtPascalUtils.pas(360): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] ExtPascalUtils.pas(403): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] ExtPascalUtils.pas(439): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] ExtDd.pas(111): W1010 Method 'ToString' hides virtual method of base type 'TObject'
[DCC Warning] ExtPascal.pas(600): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] ExtPascal.pas(1823): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] ExtPascal.pas(1847): W1057 Implicit string cast from 'ShortString' to 'string'
[DCC Warning] ExtPascal.pas(1859): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] ExtPascal.pas(1866): W1057 Implicit string cast from 'ShortString' to 'string'
[DCC Warning] ExtPascal.pas(1871): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Warning] ExtPascal.pas(1948): W1050 WideChar reduced to byte char in set expressions. Consider using 'CharInSet' function in 'SysUtils' unit.
[DCC Warning] ExtPascal.pas(2042): W1057 Implicit string cast from 'ShortString' to 'string'
[DCC Warning] ExtPascal.pas(2069): W1057 Implicit string cast from 'AnsiChar' to 'string'
[DCC Fatal Error] ExtForm.pas(4857): F2051 Unit uniWinUtils was compiled with a different version of System.TMemoryManagerState
Failed
Elapsed time: 00:00:04.2
What do i do wrong?
Regards Leo
-
I read theinstallation procudere, but i still have a question. I 'm running Delphi XE2 and like to make 32 and 64 bits applications. I select uniGUI2013Group.groupproj. Do I have to Compile the different packagfes twice (64 and 32 bits platform? Kindly regards Leo Nillesen, email info@nibalink.nl
-
sorry,
the message in the last screen shot is :
cant load package Synedit_r2012.bpl the system can't find the needed file
Kindly Regards
Leo Nillesen
-
-
-
See beta forums
OK I found it and doneloaded is.
This version I could built and install.
Thank you for the support so far.
Kindly regards
-
Try 0.90.
Where can i get this version
-
Is it 0.89 or 0.90 that you're trying to install?
Its 0.89
-
I am trying to install in Delphi RAD studio XE2 Enterprice the laters verion of uniGUI.
During the installation procedure I have to compile the uniGUI2012Group.groupproj.
During the building of uniGUI16Chart.bpl i get de following message
[DCC Fatal error} uniGUI16Chart.dpk(38): F2051 Unit UniChart was compiled with aa different version of VCLTee.Series.TPieSeries
Failed
How can I solve this problem
Kindly regards Leo Nillesen
FAST REPORT PROBLEM
in General
Posted
I made a report with FastReport.
If I call the report in standalown mode it works fine.
If i do the same via the webmode it does not generate the report but is gives an error: Not enough timers available
What can be the problem here?