I created an Active X DLL skeleton with the Instancing property set in MultiUse, and there is only one function that does nothing but a message popup saying that it was called.
Then I created a test program and added a DLL to its links.
I added code to declare a DLL class variable Classmodule, create a new object and call a function.
In all cases, I used Intellisense code completion, so VB6, of course, is about the DLL and its class and method.
However, when I run the tester, it reports the error "error 91 object variable" or "Block block not set" when trying to create a new object.
This is a new territory for me, so I hope this is something obvious.
Update: I added a message box to the fn () DLL to say that it was called, and then went to a real life website that uses Active X to call the DLL and saw a message box - but I still get the error in the VB tester application (!?)
source
share