标题: 二次开发高手过来看看 [打印本页] 作者: 昆山人 时间: 2006-10-8 10:21 标题: 二次开发高手过来看看 帮我看看下面一些英文是什么意思?应该怎样做
=========
Signing a library is a two step process:
Embedding the NX resource file in a DLL or application.
Running the NX signing tool.
The following sections explain each step.
1. Embedding the NX Resource File
To embed the NX resource file, add the NXSigningResource.res file to an application when compiling it. Use the "/resource": compiler directive. For example:
VB
vbc /libpath:%UGII_ROOT_DIR%\managed /t:library /r:NXOpen.dll /r:NXOpen.Utilities.dll /resource:%UGII_BASE_DIR%\ugopen\NXSigningResource.res MyApp.vb.
C#
csc /resource:NXSigningResource.res /t:library MyApp.cs
When using a Visual Studio session to compile an application, make sure that after you add the NXSigningResource.res file to a project, set the Compile property on the resource file to Embedded Resource.
2. Running the NX Signing Tool
Once you have embedded the resource, sign it using the SignLibrary utility. For example:
SignLibrary MyApp.dll
You can find the SignLibrary utility in the UGII kit directory on the NX installation. You can only run this utility when a .NET authoring license is available.
Verification
To verify that a library or application has been correctly signed, use the -verify option. For example:
SignLibrary -verify MyApp.dll
This displays a message confirming whether the file has been correctly signed or not.作者: vodka 时间: 2006-10-9 02:27
it's about license issue
before deploying to end user, you need to sign up the dll file to remove development license requirement