查了帮助文档。要用SIgncpp,但是我是OPEN API & MFC dll环境开发的,在很多地方加了NXSigningResource.cpp,签名时总是提示 NX signing resource is empty.
* \5 X$ {' r8 v------------------------------------------------------8 W0 z2 {9 K* A5 O1 t7 k% C$ o$ O
5 ?+ q; O: m3 U4 l
NX Open for C++
3 [6 @% W7 C6 @8 ?5 L. \3 ZThe 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
/ {3 @6 C( j! T1 F% N- G
7 l# u @9 A1 a! u: o/ l7 W+ ~9 x
% N( ]' A. ?: O: V8 r# a- N$ R' z& |9 e$ y9 D
|