G3pix AxonASP - Application Object Test
Tests Application.Lock, Application.Unlock, Application.StaticObjects and variable enumeration.
1. Basic Application Variable Storage
Counter: 10
Message: Hello from Application
2. Application.Lock and Application.Unlock
SafeCounter (locked): 5
Unlocked successfully
3. Application.StaticObjects - Enumerate All Items
Iterating through Application.StaticObjects:
Key: appobj = [NativeObject:20302]
4. Application.StaticObjects Count and Details
All items in Application:
1. appobj
Total items: 1
5. Thread-Safety Test (Lock/Unlock)
ThreadSafe Counter: 2
6. Mixed Usage (Lock, StaticObjects, and Direct Access)
During lock - direct access TestA: 100
Items via StaticObjects during lock:
Lock released