明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: print1985

[资源] lisp+c#混合编程之--动态复制(动态旋转、镜像、缩放、改基点、对齐)

  [复制链接]
发表于 2016-4-29 09:50 | 显示全部楼层
print1985 发表于 2016-4-29 09:36
dll文件没加载成功 按照说明加载
32位用上面那个dll文件测试下

指令: NETLOAD
无法载入组合。错误详细资料: System.IO.FileLoadException: 无法载入档案或组件
'file:///C:\R12\LISP1\DrawJigCopy.dll' 或其相依性的其中之一。 不支援作业。 (发生例外状况于 HRESULT:
0x80131515)
档案名称: 'file:///C:\R12\LISP1\DrawJigCopy.dll' ---> System.NotSupportedException:
尝试从在旧版 .NET Framework 中会导致以沙箱处理组件的网路位置载入组件。这个版本的 .NET Framework 预设为不启用 CAS
原则,所以这种载入可能会有危险。如果这项载入原意并非要以沙箱处理组件,请启用 loadFromRemoteSources 参数。如需详细资讯,请参阅
http://go.microsoft.com/fwlink/?LinkId=155569
   于 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean suppressSecurityChecks)
   于 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean suppressSecurityChecks)
   于 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection, Boolean suppressSecurityChecks)
   于 System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile,
Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm
hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks,
StackCrawlMark& stackMark)
   于 System.Reflection.Assembly.LoadFrom(String assemblyFile)
   于 Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
   于 loadmgd()


指令:
NETLOAD 无法载入组合。错误详细资料: System.IO.FileLoadException: 无法载入档案或组件
'file:///C:\R12\LISP1\Interop.IWshRuntimeLibrary.dll' 或其相依性的其中之一。 不支援作业。
(发生例外状况于 HRESULT: 0x80131515)
档案名称: 'file:///C:\R12\LISP1\Interop.IWshRuntimeLibrary.dll' --->
System.NotSupportedException: 尝试从在旧版 .NET Framework 中会导致以沙箱处理组件的网路位置载入组件。这个版本的
.NET Framework 预设为不启用 CAS 原则,所以这种载入可能会有危险。如果这项载入原意并非要以沙箱处理组件,请启用
loadFromRemoteSources 参数。如需详细资讯,请参阅
http://go.microsoft.com/fwlink/?LinkId=155569
   于 System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean suppressSecurityChecks)
   于 System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean suppressSecurityChecks)
   于 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection, Boolean suppressSecurityChecks)
   于 System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile,
Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm
hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks,
StackCrawlMark& stackMark)
   于 System.Reflection.Assembly.LoadFrom(String assemblyFile)
   于 Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
   于 loadmgd()
发表于 2016-4-29 10:20 | 显示全部楼层
好东西,下来试试,多谢楼主分享
发表于 2016-4-29 10:32 | 显示全部楼层
感谢楼主分享!!!!
发表于 2016-4-29 10:34 | 显示全部楼层
64位2014,用着很爽,结构佬向楼主致敬,阿甘改名字了?
发表于 2016-4-29 11:13 | 显示全部楼层
print1985 发表于 2016-4-29 09:48
2007 替换dll 试试

2007 測試正常,謝謝你的分享,2013 的附件在下面。


本帖子中包含更多资源

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

x
发表于 2016-4-29 11:39 | 显示全部楼层
yoyoho 发表于 2016-4-29 09:50
指令: NETLOAD
无法载入组合。错误详细资料: System.IO.FileLoadException: 无法载入档案或组件
'file ...

感谢 print1985 分享 cad2012 测试 o.k.
发表于 2016-4-29 12:46 | 显示全部楼层
来看看,谢谢分享!
 楼主| 发表于 2016-4-29 13:05 | 显示全部楼层
baoxiaozhong 发表于 2016-4-29 11:13
2007 測試正常,謝謝你的分享,2013 的附件在下面。

测试下

本帖子中包含更多资源

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

x
发表于 2016-4-29 13:14 | 显示全部楼层
print1985 发表于 2016-4-29 13:05
测试下

太感謝了,一切正常。
发表于 2016-4-29 14:37 | 显示全部楼层
多谢分享,下载试用.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-5-2 13:54 , Processed in 0.280395 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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