PDA

View Full Version : our app speed when being runned



NewsArchive
01-19-2011, 02:36 AM
Hello Fredrich,

A JP special one for you ;)

DMC is manifested asInvoker and W7 by SB (nothing is done on clarion
side)
(it uses PowerOffice (now Icetips) XPTheme c7v6 and a library for
tooltips (ballon etc...)

When I have to test things for specific clients I send them MY personal
non manifested copy of exe

It is not "themed" ie no tabs buttons etc ....

But all report it loads WAY faster and "reacts" also WAY faster

It could very well be the library used for tolltips but I'd like to
have your opinion regarding the (missing) manifest side, could this
also be root cause to the application being faster please ?

If you want to test yourself I can send you two links .... installer
and exe

I have just now connected to such a "special" client's machine through
TV and it really is faster to load and execute screens

Puzzled dev here

--
Merci
Cordialement - Best regards
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"

NewsArchive
01-19-2011, 02:37 AM
Hi JP,

>
> A JP special one for you ;)
>

Hehehehe :)

> It could very well be the library used for tolltips but I'd like to have
> your opinion regarding the (missing) manifest side, could this also be
> root cause to the application being faster please ?

Well, a manifest changes the behavior of your app! An application manifest
contains settings that inform Windows how to handle a program when it is
started (Application Launch Behavior). The manifest informs Windows which
version of a DLL (e.g. which version of the Windows common controls) a
program is dependent of and provides information to Windows Vista, 2008 (R2)
and Windows 7 if the application requires administrator privileges or if
standard user privileges are enough.

So in fact, it can have an effect on the performance of your app (perhaps
the combination of the version of the Windows common control and one of your
3rd-party products).

IMO, it has something to do with one of your 3rd-party tools (but of course,
I can be wrong here).

Friedrich

NewsArchive
01-19-2011, 02:38 AM
Merci

I am trying now to disconnect that tooltip library to see
Will report if I find something interesting of course.

--
Merci
Cordialement - Best regards
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"

NewsArchive
01-20-2011, 12:33 AM
It seems that unchecking the add manifestdependency does the trick

What does that actualy do pls ?

another question :

I have in the script this small code

! Install Clarion AddIn
If %CLARION7_PATH% Does Not Equal "" And %CLARION7_ROOT_DIR% Does Not
Equal "" Then
#create folder "%CLARION7_ROOT_DIR%\accessory\addins"
Unzip Archive "%INSTALL_DATA_PATH%\cgf_import\dmc_addins.zip" to
"%CLARION7_PATH%"
End


when I compile I get this written in the compiler output

------ Build started: Project: dmcmaj.sb7, Configuration: Release Win32
------

------ SetupBuilder (tm) Project Script Compiler and Linker for Windows
------ Copyright (c) 1997-2010 Lindersoft
------ SetupScript (tm) Installation Script Language
------ Copyright (c) 2003-2010 Lindersoft
------ All rights reserved.

------ Developer Edition Version 7.3.3195
------ SetupBuilder EXE (SBEXE) Compiler Version: 7.3.3195

Init Globals...
Writing Objects...
Loading compiler variables...
Compiling...
........
Create Folder... %CLARION7_ROOT_DIR%\accessory\addins
Create Folder process failed.
Script(s) processed
Generating Code...
Finished generating code
.........
------------------------------- Compilation finished
-------------------------------

How come this is executed when I compile ??

Merci

JP

--
Merci
Cordialement - Best regards
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"

NewsArchive
01-20-2011, 12:33 AM
Hi JP,

> It seems that unchecking the add manifestdependency does the trick
>
> What does that actualy do pls ?

This tells us that your application (or perhaps one of your 3rd-party stuff)
has a problem with the version of the supported common control libraries.

If the MANIFESTDEPENDENCY checkbox is marked, this option causes the
compiler to not generate the "dependency" and "dependentAssembly" elements
of the Publisher Configuration File. As a result, the manifested
application will load the pre-6.0 common control library on XP and later
Windows versions.

> another question :
>
> I have in the script this small code
>
> ! Install Clarion AddIn
> If %CLARION7_PATH% Does Not Equal "" And %CLARION7_ROOT_DIR% Does Not
> Equal "" Then
> #create folder "%CLARION7_ROOT_DIR%\accessory\addins"
> Unzip Archive "%INSTALL_DATA_PATH%\cgf_import\dmc_addins.zip" to
> "%CLARION7_PATH%"
> End

You get 'Create Folder process failed' because you are using a runtime
variable %CLARION7_ROOT_DIR% in your '#create folder' compiler directive.

I think your intention was to use the "Create Folder..." installer function
instead of the "#create folder..." compiler directive?!

Does this help?

Friedrich

NewsArchive
01-20-2011, 12:34 AM
And that points to the tooltip library of course ....

Merci for the technical explanation

Of course it helps (as always) I had also seen that myself after
posting
Hopes this helps others also - I had copy pasted a line from the script
itself - stupid me

--
Merci
Cordialement - Best regards
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"