|
Rank: Advanced Member Groups: Member
Joined: 1/31/2015 Posts: 70
|
Hello, I read here http://www.essentialobjects.com/forum/postst611_Whats-the-difference-between-the-trial-version-and-licensed-version.aspx that there are no funtional differences between trial and licensed dlls. Is this valid for the EO Browser or are there any e.g. number-of-requests limitations? I couldn't find this info. Please forgive if it's written somewhere :) Regards, Jim
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
For EO.WebBrowser trial version there is also a number of request limitation. After that you will have to restart your application to reset the counter.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 1/31/2015 Posts: 70
|
What's the counter limit?
We are trying to figure out why some repetitive code crashes with "CanEvalScript" after some iterations that look similar. One code returns CanEvalScript=true when the next script command may give an error that scripts cannot run at that point.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
The counter can vary. When the limit is reached, the exception message should be something like "a license is needed...". So if you do not see that exception message, then it is something else instead of a limitation of the trail version.
CanEvalScript is not really reliable because the status can change after you have checked CanEvalScript but before you call EvalScript. Try to use QueueScriptCall instead (make sure you have the latest build first). That function is more reliable since it checks the status internally and if it is not ready, it will wait instead of triggering an exception.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 1/31/2015 Posts: 70
|
Cool, thank you!
Jim
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
You are welcome. Please feel free to let us know if there is anything else.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 1/31/2015 Posts: 70
|
Regarding the QueueScriptCall... Let's say that we have a list of javascript calls, e.g. fill a text field and then click a button. Is the following going to run always in the same order?
Code: C#
webview.QueueScriptCall([javascript to fill the text field]);
webview.QueueScriptCall([javascript to click the button]);
Is the order guaranteed? thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Yes. They are always executed in the same order you call QueueScriptCall.
Thanks!
|
|