Jump to content

[help] Usar o MFC


joao.palma
 Share

Recommended Posts

Passaram-me um projecto k usa o MFC mas da-me erro ao incluir as livrarias de MFC e eu não sei como usar o MFC.... diz k não consegue abrir este ficheiro <afxwin.h>

#if !defined(AFX_STDAFX_H__34D85CE8_AD8A_4F2F_B913_5172FF415578__INCLUDED_)
#define AFX_STDAFX_H__34D85CE8_AD8A_4F2F_B913_5172FF415578__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#ifndef _AFX_NO_OLE_SUPPORT
#include <afxole.h>         // MFC OLE classes
#include <afxodlgs.h>       // MFC OLE dialog classes
#include <afxdisp.h>        // MFC Automation classes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.