Support Board
Date/Time: Thu, 06 Nov 2025 03:55:26 +0000
Post From: DLL makes program unstable / CPU Exception
| [2021-12-13 09:26:53] |
| User907968 - Posts: 847 |
|
Which is wierd because I thought setDefaults was only supposed to be called once??
Once for each study instance, and when you press 'Add Custom Study' button - explained here - ACSIL Interface Members - Variables and Arrays: sc.SetDefaultsSuggest moving the initSound call outside of the setdefaults block, for example: ACSIL Programming Concepts: Study Initialization/Unitialization Also, maybe you could wrap the global variables into a singleton class and guarantee that they are only initialised once. |
