在dev中创建dll而不是c ++ [英] create dll in dev c nd not c++

查看:81
本文介绍了在dev中创建dll而不是c ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用dev c ++ 4.9.9.2,我在控制台应用程序中创建了1个程序,对其进行了编译,运行并正常运行.
在编译和运行它,它会产生与之相关的各种支持. (例如makefile.win,gmon.out,project.exe,project.dev,main.o,main.c).

现在,在记事本中看到这些文件后,我可以轻松确定该程序已用C代码实现.
我想隐藏所有源代码文件,以便只有程序员才能知道其背后的代码.

我希望没有其他人知道编码&其他相关文件.

我希望可以通过将所有相关文件转换为dll来完成此操作.

我想知道如何将dev c的所有相关项目文件转换为dll文件(因为该dll文件无法在记事本中看到).

如果我在其中创建新的dll项目,则可以很好地进行编译,但在运行时会通过与之相关的教程(但未正确放置)给出错误.

指导我创建dll文件.

Using dev c++ 4.9.9.2, I have created 1 program in console application, compiled it, run it and it works fine.
On compiling & running it, it produces the various supported assosciated with it. (like makefile.win, gmon.out, project.exe, project.dev, main.o, main.c).

Now on seeing these files in notepad I can easily determin that program hass been implemented in c code.
I want to hide all the source code files so that only programmer can know the coding behind it.

I want nobody else to know the coding & other assosciated files.

I hope this can be done by converting all the assosciated file into dll.

I want to know how to convert all the assosciated project file of dev c into dll file, (as the dll file is unable to see in notepad).

If I create new dll project in it, it gets compiled fine but in running it gives error by going through tutorials assosciated with it, but not getting it properly placed.

Guide me to create the dll file.

推荐答案

您可能在这里误解了一些东西.项目文件和源代码不是您要公开分发的内容.将它们保存在安全的地方,您也可以将它们归档为ZIP文件,并使用密码进行保护.

该程序通常包含在.EXE文件中,这是您唯一必须提供给他人的东西.他们永远都看不到您的源代码.

首先,将这些内容放入DLL并没有多大意义,也几乎没有提供保护. DLL是一个库,通常包含编译和可执行代码以及一些嵌入式数据.可以访问图书馆,并且有比记事本更好的工具来检查其内容.
You probably misunderstood something here. Project files and sources are nothing you would distribute publically. Keep them in a safe place and you might also archive them in a ZIP file and protect them with a password.

The program usually is contained in the .EXE file and that is the only thing you have to give to others. They will never get to see your source code.

Putting those things in a DLL does not make much sense to begin with and also provides little protection. A DLL is a library, usually of compiled and executable code plus some embedded data. Libraries are made to be accessed and there are far better tools to examine their contents than notepad.


这篇关于在dev中创建dll而不是c ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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