you must have forgot to create a reference to your activex dll project in your test application project. try to create one.