是否可以将类编译成对象以分别保存在文件中以备后用? [英] Is there any such thing that classes can be compiled into objects to save in files seperately to use later ?

查看:86
本文介绍了是否可以将类编译成对象以分别保存在文件中以备后用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否存在可以将类编译为对象以分别保存在文件中以便以后在必要时使用或将其散布为第三方(无法读取源代码)的事情?如果是这样,这项技术的名称是什么?

感谢您的时间.

Is there any such thing that classes can be compiled into objects to save in files seperately to use later when necessary, or, to distrubete them as third party not being able to read the source code ? If so, what's the name of this technology ?

Thanks for the time.

推荐答案

您可以创建
You can create a Dynamic Link Library (DLL) containigg your classes, and distribute that.  They can be loaded at runtime, later, if necessary, and do not require source code for usage, as they're already compiled.


这篇关于是否可以将类编译成对象以分别保存在文件中以备后用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆