我有一个MFC扩展DLL,如下: 
class myclass 

   private: 
      int   num;    public: 
      AFX_EXT_CLASS void  OnInit(int t); 

.cpp文件: 
myclass::OnInit(int t) 

    num = t; 

在def文件中添加:
OnInit ◎1
后在VB中调用正常,在VC中不知道怎样调用。
在VC应用程序中怎样调用啊?使用了多种方式始终告诉我函数没有定义我引用了类的头文件.h文件,本人现还没有积分先谢谢了,以后奉上。