iCAx开思工具箱

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 24471|回复: 1
打印 上一主题 下一主题

二次开发高手过来看看

[复制链接]
跳转到指定楼层
楼主
发表于 2006-10-8 10:21:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
帮我看看下面一些英文是什么意思?应该怎样做
=========
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.
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 支持支持
沙发
发表于 2006-10-9 02:27:53 | 只看该作者

马上注册登录,享用更多网站功能!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手板模型制作,在线3D打印服务

QQ|小黑屋|手机版|开思工具箱 CAD工具箱_CAM工具箱  

GMT+8, 2024-11-17 06:47 , Processed in 0.010816 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.3

© 2002-2024 www.iCAx.org

快速回复 返回顶部 返回列表