Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2010
    Posts
    25

    Application runs slowly from CD

    My application has several Pages, in each one Paragraph and Button objects.
    When it loads, for each object it does .SetText(..) and .SetProperties(..)
    (the texts are set at runtime according to the language the user selects)
    Code:
    function SetPage1Texts()	
    	_NoExitScriptOnPageJump = true;
    	Page.Jump("Page1");
    	Paragraph.SetText("Title", "Welcome");
    	Paragraph.SetProperties("Title", {FontSize=24});
    
    	Paragraph.SetText("Text2", "Install");
    	Paragraph.SetProperties("Text2", {FontSize=12});
    	-- and so on
    end
    When the application runs from the local disk, all is well - 1 second to set all the objects.

    But when it runs from a CD then it is very slow - 15-30 seconds depending on machine.

    Help and ideas much appreciated.

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Please post your actual project, or at least a minimal version with only the part you are having problems with. The sample code you posted does not correspond to what you say (setting the text according to the selected language), as you are setting hard coded strings here.

    Ulrich

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts