Posts: 5
Threads: 1
Joined: Sep 2011
Reputation:
0
09-04-2011, 11:44 AM
I installed Zoompanel last week. The functionality is really good, but it takes up to 10 seconds until the user control is first displayed. The second run is less than 1 second. Even if i do not add something to the control it takes the same time. It looks like a license issue. How can i track this ?
Hans
Posts: 738
Threads: 8
Joined: Sep 2009
Reputation:
45
That is strange - 10s is surely too much.
You are probably using evaluation version. Here the licensing code is more complex and takes much longer as in the commercial version. In evaluation version the code must scan through registry to find the keys that are used to store evaluation data.
Still 10s is much too much. The evaluation check should be done in much less than 1s.
Maybe there is something else that is blocking the UI thread and showing the controls.
You can check this by simply just creating an instance of the ZoomPanel in code with the following line:
Ab2d.Controls.ZoomPanel zoomPanel = new Ab2d.Controls.ZoomPanel();
Put this line as the first line in you constructor (before InitializeComponents) and set breakpoint to the line. Once the breakpoint is hit, press F10 to execute the line. The conductor will call the licensing code - the time to execute the line will also give you the time that is needed to check the evaluation version.
Andrej Benedik
Posts: 5
Threads: 1
Joined: Sep 2011
Reputation:
0
I found the reason by myself.
I did not had any license file after installation. So i wrote one and located it in the bin/debug directory.
The documentation should be more clear on that.
Hans
Posts: 5
Threads: 1
Joined: Sep 2011
Reputation:
0
I found the reason by myself.
I did not had any license file after installation. So i wrote one and located it in the bin/debug directory.
The documentation should be more clear on that.
Hans
Posts: 738
Threads: 8
Joined: Sep 2009
Reputation:
45
I am sorry that you did not find the instructions on how to create the license file.
The instructions are written in the "Using commercial version" help file that is opened by default when the installer is finished. I do not know how can I make it more accessible to the user.
What about the 10s delay? Did you find the cause for it too?
Andrej Benedik
Posts: 5
Threads: 1
Joined: Sep 2011
Reputation:
0
The 10s delay are still there, the first time.
( 1 main project using a usercontrol -which is done in a seperate project- with ZoomPanel. Also the compilation of the usercontrol takes 10 s which is really strange.
I removed everything and reinstalled it, but nothing has been changed.
(Windows7, 64Bit)
Maybe you know whats causing this delay.
Hans
Posts: 738
Threads: 8
Joined: Sep 2009
Reputation:
45
I just got an idea - is it possible that you are using the Code signed version of the library - the one that is digitally signed.
If you are using that version, maybe the online check of the digital signature takes so long.
If you are using digitally signed version, please use the one that is not digitally signed. The dll is surely clean - the installer is also digitally signed which proves that it its content is not changed.
Andrej Benedik
Posts: 5
Threads: 1
Joined: Sep 2011
Reputation:
0
09-12-2011, 10:35 AM
(This post was last modified: 09-12-2011, 10:52 AM by hjorschiedt.)
Thanks, but i do not use the signed version
Hans
Hi,
i just tried the Zoompanel example and it is the same behaviour. The first start takes min 12-20 sec, so i believe thats related to the 64 Bit system or to windows 7.
Does anyone already tested it in this environment ?
Thanks
Hans