Jump to content

leon220

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by leon220

  1. 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?

  2. 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.

  3. 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.

    Multiuser.zip

  4. 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.

  5. 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

  6. 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

  7. 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

  8. 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

  9. 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

  10. Yes on a 32 bit environment is works great !!!!!

     

    Now I try to implement it on a new Windows 7 64 bit computer. It is still Delphi XE2

    If i install it the way in did it on a 32 bit computer i get the message as shown in the attachment.

    It is beta release 0.90.0.965

     

    What am i doing wrong?

    post-1028-0-73489200-1351069269.jpg

  11. 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

×
×
  • Create New...