bcb开发的ActiveX控件,路径不能带中文。否则会出现很多问题。开发路径不能带中文,这是最重要的。要不然,有一些诡异的问题,很难处理!!!
首先准备makecert.exe和signcode.exe、cert2spc.exe工具,然后将makecert.exe和signcode.exe、cert2spc.exe是工具,将其放在同一目录下。
1.制作ActFrmProj1.inf
2.写一个批处理ActFrmProj1.bat,运行即可。
makecert /sv "ActFrmProj1.PVK" /n "CN=suntek,E=email,O=dkj" ActFrmProj1.cer
cert2spc ActFrmProj1.cer ActFrmProj1.spc
signcode
1)
2)
3)
4)
5)