B4J Question AppStart: StartMessageLoop in ABMaterial

peacemaker

Expert
Licensed User
Longtime User
HI, All

1) I was developing a classical WebApp, adding handlers, and also app has extra settings, timers, classes init... lots of preparing, and after them StartMessageLoop is called. All works OK.
2) Now i'm trying to combine it with ABMaterial framework. The template is working OK.
3) But now in the combo app - when i add all this long preparation into "Sub AppStart" before StartMessageLoop - the server started, but ABMaterial does not work.
No any error log text.

If to remove the preparation code - ABM website starts as usual OK.
But how to combine correctly ?
 

peacemaker

Expert
Licensed User
Longtime User
Thanks for suggestion.
It was a very long sub with big file list processing, without periodical Sleep(0).
Solved.
 
Upvote 0
Top