MFC Interfaces - Part 1 of 2 - Creating Simple Hand-crafted (hacked) MFC Interfaces for C++ Programs

preview_player
Показать описание
MFC Interfaces - Part 1 of 2 - Creating Simple Hand-crafted (hacked) MFC Interfaces for C++ Programs

MFC Source and Apps
----------------------------------------------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

If you are facing error related to no entry point defined then change the project configuration using following
1. Project properties. -> Linker->System->Subsystem
select Windows(/SUBSYSTEM:WINDOWS).


Thanks and nice video.

ganeshdharme
Автор

Wow. I am absolutely new to Visual C++ environment and novice to C++ programming. When I try to create a MFC project and saw the tons of files, I thought, I am navigating in the minefield. But, this video really helped me to understand MFC and mechanics behind it.

Thanks a lot.

NimishP
Автор

Fantastic tutorial.

I was looking for a general introduction to how these libraries work in 20 minutes~. Very effective, well explained. Thank you.

bennood
Автор

This is a great MFC tutorial. Thanks for sharing.

billwaddy
Автор

Since the website is down, here is the code from this video:



#include <afxwin.h> //MFC core and standard components
#include "resource.h" //main symbols

//Globals
//CEdit* TEST;
class GAME_FORM : public CDialog
{
public:
GAME_FORM(CWnd* pParent = NULL) : CDialog(GAME_FORM::IDD, pParent) {};
//Dialog data, name of dialog here
enum{IDD = IDD_INTERFACE1};

protected:
virtual void DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); };
//Called right after constructor. Initialize things here
virtual BOOL OnInitDialog()
{
CDialog::OnInitDialog();
//TEST = (CEdit*)GetDlgItem(IDC_TEST);

return true;
}

public:
DECLARE_MESSAGE_MAP()
};

//Actural App
class TheGame : public CWinApp
{
public:
TheGame() {};
virtual BOOL InitInstance()
{
CWinApp::InitInstance();

GAME_FORM dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
return false;
}
};


//Need a Message Map Macro for both CDialog and CWinApp
BEGIN_MESSAGE_MAP(GAME_FORM, CDialog)
END_MESSAGE_MAP()


//Start application
TheGame theApp;

fschutt
Автор

It's a great video for learning MFC. Thanks a lot!

HOLYsahar
Автор

Could you please provide the viewers with a link to a file containing the introduced sized down code? The website (as seen in the movie) doesn't seem to work... It would be a great if you could paste the link in the description - thanks a lot in advance!

przemysawwozniak
Автор

That was very useful, man. Thanks a lot !

djalexandrei
Автор

really great video..(y)
saved me big time from one hell of a stupid mfc project...Thanks a lot..:)

psychotictendency
Автор

I ended up typing the code but I get a Linker error: unresolved external symbol _Main in function "int __cdecl invoke_Main(void)"

claudioabado
Автор

You should add a link to that website to get the boiler plate into your video description.

fetch
Автор

I'm getting a linker error, telling me the entry point must be defined. If i add a main function, the window opens then closes quickly. What should i do?

thagraypinhead
Автор

2016 and i start a new project with MFC.
Thumbs up for me please. I'm brave.
Thumbs down for MS please. They failed to offer a modern framework.

llothar
Автор

You have document for single document int MFC/C++ ? can you help me?

MinhVu-ymtk
Автор

This dude's site is dead. Was there a backup to everything by any chance?

RudeOfTheTurks
Автор

friend is to pass video to Portuguese I really want this hacker help me I buy it

adrianosantos
Автор

friend I want a hacker just me or I'm not getting lower because you want to make an offer you should create a premium site paying for més am vip this offer business and boring ever did offer and the download was not released

adrianosantos
Автор

Why on earth? C++ is the ugliest code that exists. I'd rather do LSP. Thank you MS for C#.

matthewrichardson
visit shbcf.ru