查了帮助文档。要用SIgncpp,但是我是OPEN API & MFC dll环境开发的,在很多地方加了NXSigningResource.cpp,签名时总是提示 NX signing resource is empty.
* m3 @ c: Y8 c0 \: z' x3 N g------------------------------------------------------5 o$ w% Q0 \3 N. {
0 H+ e0 W5 e& I4 T" W! S/ e
NX Open for C++
) w# t( ?. A, ^7 DThe 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 E6 J$ x" _. g5 }
% S+ ?3 O1 u% z- e" m3 j. u
1 C9 S7 Q/ @+ r$ K, i$ V6 B. [# _5 N7 ?3 P5 c2 A
|