Markup with JScript |
Post Reply |
Author | ||
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
Posted: 08 October 2021 at 9:17am |
|
What is required for having a JScript executing as part of the Markup?
I have made a working example in the MarkupPad program, but when inserted into my own program, no animation is performed, only the initial static display? I have stepped through the code and the scripting engine seems to fire up correctly. Do I need some kind of message loop or styles or flags on the window/control to make it work?
|
||
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
||
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
|
Maybe it actually works. But since I'm trying to call this on a splash screen and I'm doing a lot of stuff behind the splash I think that the script cannot run. Is the markup scripting using the message loop of the main application to do the rendering? Also, when leaving my program I get an exception in: XTPActiveScriptEngine.cpp line 583 (v20.1)
with the call stack:
|
||
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
||
cpede
Senior Member Joined: 13 August 2004 Location: Denmark Status: Offline Points: 668 |
Post Options
Thanks(0)
|
|
Ping...
Can the JScript code in a Markup control run in a separate thread, so that animations made with the JScript markup code runs event the main UI is blocked?
|
||
Product: Xtreme ToolkitPro (24.0.0)
Platform: Windows 10 (x64) Language: Visual Studio 2017 (C++) |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |