I created an ActiveX DLL application by using Books Online Demo as example. I put MsgBox in both Module - Main() also Class Module - MyFunction(). I used another VB EXE application to test the AxtiveX DLL. The MsgBox in Main() was running but the MsgBox in MyFunction() didn't appear. Both MsgBox didn't come out when I used VC application to test.

I'm very new to ActiveX and don't know what to do to check out the problem. Can anybody tell what's wrong of my program?

Thanks