Login Page - Create Account

Support Board


Date/Time: Sun, 16 Mar 2025 07:45:07 +0000



Post From: DLL makes program unstable / CPU Exception

[2021-12-13 09:26:53]
User907968 - Posts: 838
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.SetDefaults

Suggest 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.