如何在Visual Studio 2012中编辑此项目? [英] How do I Edit this project in Visual Studio 2012?

查看:104
本文介绍了如何在Visual Studio 2012中编辑此项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好代码项目的人,这个网站太棒了,我总是找到有趣的信息。



我真的需要编辑这个项目:HexEdit - 窗口二进制文件编辑器 [ ^ ]



版本将用于教育目的,它包括以下几个方面:



1)编辑主屏幕并添加新的语言包。

2)编辑主窗体。



由于这个项目不是用Visual Basic编写的,我找不到主窗体,任何人都可以帮我吗?



我已经知道Hed编辑有一个网站,我已经在那里发布了相同的问题所以请不要将此作为解决方案参考。



我最诚挚的问候,我将等待您的回复。解决方案

嗯,这是错误的论坛,但我看到你在文章下发了同样的问题。



与C#或VB.NET相比,MFC(和C ++)是一种不同的动物。

对话框(表单)的代码通常位于四个文件中。例如:

 MyDialog.h  //  包含方法原型和定义 
MyDialog.cpp // 包含方法实现
resource.h // 包含对话框中使用的ID的定义
MyProject。 rc // 包含控件的x,y位置,颜色等



最后的文件通常都是整个项目的常用文件。



因此,如果我们看看这个特定的项目,我们会发现这些文件:

 MainFrm.h  //  应该给你小费了关闭: - ) 
MainFrm.cpp
resource.h
HexEdit.rc





在解决方案资源管理器中,您必须添加选项卡资源并查找对话框以查看可视化表单。

现在唯一的问题是学习C ++和MFC以便翻译代码使用另一种语言。


不要在快速答案下发布 - 如果您从文章中获得了代码,那么底部会有一个添加评论或问题按钮文章,它会将电子邮件发送给作者。然后他们会被告知你希望与他们交谈。

在这里发布这个依赖于他们匆匆而过并意识到这是为了他们。



或者,要么用你理解的语言找到一个类似的项目,要么学习C ++ ......


这个应用程序是用C ++ / MFC编写的,所以它是一个与VB完全不同的架构基于.NET表单的应用程序除非您对Win32,C ++和MFC有很好的了解,否则您不太可能进行所需的更改。


Hello code project people, this site is awesome, I have always found interesting information.

I do really need to edit this project: HexEdit - Window Binary File Editor[^]

The edition will be intended for educational purposes, it consist in several things like:

1) Edit the main screen and adding a new language pack.
2) Edit the main form.

Since this project is not written in Visual Basic I cannot find the main form, Can anyone help me with it?

I already know that Hed edit has a website, I already posted the same question there so please do not refer at this as a solution.

My best regards, I Will be waiting for your reply.

解决方案

Well, this is the wrong forum, but I see that you have posted the same question under the article.

MFC (and C++ for that matter) is a different animal compared to C# or VB.NET.
The code for a dialog (form) is usually located in four files. For example:

MyDialog.h            // Contains method prototypes and definitions
MyDialog.cpp          // Contains the method implementation
resource.h            // contains definitions for the ID's used in the dialog
MyProject.rc          // contains the x,y position, color etc of controls


Both the last files are usually common for the whole project.

So if we take a look at this specific project we find these files:

MainFrm.h      // The should have tipped you off :-)
MainFrm.cpp
resource.h
HexEdit.rc



In a solution explorer you have to add the tab Resources and look for dialog in order to see the visual form.
Now the only problem is to learn C++ and MFC in order to translate the code into another language.


Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.

Alternatively, either find a similar project in a language you do understand, or learn C++...


This application is written in C++/MFC so is a totally different architecture from VB.NET form based applications. Unless you have a good knowledge of Win32, C++ and MFC it is unlikely that you will be able to make the changes you want.


这篇关于如何在Visual Studio 2012中编辑此项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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