Play-Engine FAQ

 

Q: The Play-Engine team provided me with an alternate PlayInEngine.exe file, to replace the original one. After replacing it, when trying to open any GUI application I get Error 430.

A: Go to the Play-Engine install directory, unregister and then reregister the msxml3.dll

(regsvr32 /u msxml3.dll followed by regsvr32 msxml3.dll)

 

Q: I built my own project manually or with the GUIEdit, but when trying to load the GUI application into the Play-Engine I get Error 429 and a system crash.

A: Make sure that the name of the dll you are creating matches the project name; otherwise the Play-Engine will try to create the wrong object and will crash.  

 

Q: When transferring a project from computer to computer, it does not load at all or does not load correctly.

A: When performing such a transfer one has to abide by the following rules:

1.       The GUI dll must be registered on the new computer.

a.      If the dll was built in Visual Basic, open the project and build the dll again. If the project contains special user controls, make sure they are also built anew.

b.     The dll can be registered manually using the "regsvr32" command.

2.     If the project contains function libraries, chances are that they will not be loaded correctly (since their respective paths will be different). Unload any function libraries that were not imported successfully (blank function library name), and reload them from their correct paths. If they have been imported to the new computer as well, they have to be made/registered as well.

 

Q: In GUIEdit, opening a project and then trying to load the application (xml) file immediately from the GUIEdit toolbar results in Run-time Error 91.

A: The frmMain form is probably closed. Try opening the form and only then loading the application (xml) file. This should solve the problem.  

 

Q: I'm playing (in or out) a GUI object's property mapped to the "visible" property of the relevant control. During play-in, how can I continue to play the object once it becomes invisible? 

A: The above mentioned property has its "Based on a GUI property" checked. Uncheck it during play-in; this will cause the Play-Engine to handle that property without accessing the GUI, thus keeping the object visible (although the property will be set to false). Before play-out make sure to check it again so the object will actually disappear.