yoyoho 发表于 2016-4-29 09:50:47

print1985 发表于 2016-4-29 09:36 static/image/common/back.gif
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:56

好东西,下来试试,多谢楼主分享

jsh2939 发表于 2016-4-29 10:32:00

感谢楼主分享!!!!

海盗曹 发表于 2016-4-29 10:34:07

64位2014,用着很爽,结构佬向楼主致敬,阿甘改名字了?

baoxiaozhong 发表于 2016-4-29 11:13:17

print1985 发表于 2016-4-29 09:48 static/image/common/back.gif
2007 替换dll 试试




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


yoyoho 发表于 2016-4-29 11:39:15

yoyoho 发表于 2016-4-29 09:50 static/image/common/back.gif
指令: NETLOAD
无法载入组合。错误详细资料: System.IO.FileLoadException: 无法载入档案或组件
'file ...

感谢 print1985 分享 cad2012 测试 o.k.

dbx511 发表于 2016-4-29 12:46:58

来看看,谢谢分享!

print1985 发表于 2016-4-29 13:05:13

baoxiaozhong 发表于 2016-4-29 11:13 static/image/common/back.gif
2007 測試正常,謝謝你的分享,2013 的附件在下面。

测试下

baoxiaozhong 发表于 2016-4-29 13:14:36

print1985 发表于 2016-4-29 13:05 static/image/common/back.gif
测试下

太感謝了,一切正常。

cfc0699 发表于 2016-4-29 14:37:07

多谢分享,下载试用.
页: 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14
查看完整版本: lisp+c#混合编程之--动态复制(动态旋转、镜像、缩放、改基点、对齐)