看MSDN帮助,很简单
要想DLL通用,要在工程属性的部件页选择二进制兼容
注册要用Windows的工具,路径为\Windows\System32\regsvr32.exe