- Код: Выделить всё
Private Declare Sub Zombie_Release Lib "msvbvm60.dll" (ByVal nClass As Any)
Private Declare Sub Zombie_AddRef Lib "msvbvm60.dll" (ByVal nClass As Any)
Private Sub Form_Load()
Dim nC As New Class1
nC.Var1 = "10"
Zombie_AddRef nC
Zombie_Release nC
Set nC = Nothing
Stop
End Sub
Собственно, их назначение очевидно.