查了帮助文档。要用SIgncpp,但是我是OPEN API & MFC dll环境开发的,在很多地方加了NXSigningResource.cpp,签名时总是提示 NX signing resource is empty.+ g/ i) z$ y5 B) {! _
------------------------------------------------------! f4 m( q9 C) `7 U+ C5 _
) I; _' h. O' s8 u/ L7 g
NX Open for C++. Y/ r5 \% u: c V9 N' L: i4 p
The C++ resource file and signing utility are found in <NX install directory>\UGOPEN\ Resource File | NXSigningResource.cpp | Signing Utility | signcpp |
Note | NXSigningResource.cpp does not require a C++ compiler. You may need to change the file extension to match the requirements of your compiler. |
To embed the resource file compile and link it with the executable. To sign an executable run signcpp at a command line prompt and provide the name of the executable. For example: signcpp myApplication.exe To verify that an executable has been signed use the -verify option. For example: signcpp -verify myApplication.exe Valid file extensions are: dll, so, sl and exe
4 ~2 r, e4 U+ L8 _
# {0 a2 d1 t: v7 R! h2 _% s0 k. p0 X Z0 J, `5 R5 v
3 c9 K( X# N' ?( u$ C/ e q, ?
|