第一次做com的dll,请教
我选择dll向导创建一个dll的cpp文件,在这个cpp文件中写了几个函数。
然后选择菜单中的新建里面的other\activex页中的com object,随便起了个名字,比如叫comdata,然后在默认生成的接口Icomdata中新建了两个方法,在try{}中也就调用了刚才dll的cpp中的那几个函数。
之后编译通过,生成了一个dll文件。但是我用"regsvr32 c:\dll1.dll"注册的时候,出现对话框:"c:\dll1.dll was loaded,but the DllRegisterServer entry point was not found. DllRegisterServer may not be exported, or a corrupt version of c:\dll1.dll may be in memory.Consider using Pview to detect and remove it."
请问这是什么意思?是不是我制作com的流程有问题?