When I build my application and run it, it crashes as soon as it reaches an event that creates a sub-application. It only does this if it is built; when I run it within MMF, it works perfectly fine. I have tested as many things as I could come up with but have reached no solution. Perhaps some of the following information will allow someone out there to help me:
-If I uncheck "Compress the runtime" under the application's properties (Build Options), I get the following message when I build and run the application:
"EDIF SDK - Error
Function.json not found!"
I do not get this message if I compress the runtime, however, and re-installing the Function object had no apparent effect. (I used ExtentionView to install it.)
-The sub-applications are all frames from the application (they are not separate applications)
-The Function object (which I assume is the subject of the error mentioned above) is not present on Frame 1 or the frame of the sub-application causing the crash.
-There are various sub-applications in this application, and they all cause the crash. I tested this by adding an event that created a sub-application "Upon pressing 'Space bar'"; the program invariably crashed when I hit the space bar, no matter which frame the sub-application ran or which sub-application object I created. The only exception to this is if I made the sub-application frame "Frame 1" (the same frame that creates the sub-application), in which case the application doesn't crash and actually goes on to complete the event "Application [Sub-Application] is finished." (It may be inherent in the sub-application object to not run if it tries to run the frame that created it, I'm not sure. I was getting desperate!)
-In fact, if I have the sub-application "Create at start" (under Properties>RunTime Options), the application doesn't even run when I hit "build and run." It shows the progress bar that indicates it being built, but then nothing happens when it is finished. If I just build the program as an Application and then double-click on it to run it, nothing happens then either.
Let me know if you need any other details or attachments. If I find anything else out, I'll be sure to post it as well.