Runtime error 91 not raised: VB6 object variable silently auto-instantiates on member access
Observed behavior In a VB6 Standard EXE project, I have a class module with a default property (marked via the VB_UserMemId attribute). In form code, a variable is declared as Dim obj As MyClass and a member is accessed immediately, without any Set obj = New MyClass . Instead of raising runtime error 91 ("Object variable or With block variable not set"), an