开发者

code signing with vb6

开发者 https://www.devze.com 2023-02-02 04:34 出处:网络
How do I sign my vb6 code? What api do I use? I heard CAPICOM is no longer supported in Vista upwards.I\'m developing with vb6 and need this to work on win2000开发者_运维知识库 upwards.I\'m shelling

How do I sign my vb6 code?

What api do I use?

I heard CAPICOM is no longer supported in Vista upwards. I'm developing with vb6 and need this to work on win2000开发者_运维知识库 upwards.


I'm shelling signtool to do the job, something like this

c:>signtool.exe sign /f KeyFile.p12 /d "App description" MyApp.exe

It does requires CAPICOM 2.0 being installed.


Introducing CAPICOM

[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, Windows XP, and Windows 2000. Instead, use the .NET Framework to implement security features. For more information, see Alternatives to Using CAPICOM.]

So though CAPICOM is "deprecated" what that really means is "we want you to move to .Net" instead.

I just retested a program using a few CAPICOM functions in Win7, works fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消