Click here to Skip to main content
16,010,544 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionconnect to database with Visual C++ 6.0 Pin
PhuLove11-Sep-05 17:31
PhuLove11-Sep-05 17:31 
AnswerRe: connect to database with Visual C++ 6.0 Pin
prasad_som11-Sep-05 19:57
prasad_som11-Sep-05 19:57 
AnswerRe: connect to database with Visual C++ 6.0 Pin
PravinSingh11-Sep-05 21:26
PravinSingh11-Sep-05 21:26 
QuestionFindFirstFileEx and _WIN32_WINNT Pin
Chintoo72311-Sep-05 17:19
Chintoo72311-Sep-05 17:19 
AnswerRe: FindFirstFileEx and _WIN32_WINNT Pin
David Crow12-Sep-05 4:11
David Crow12-Sep-05 4:11 
GeneralRe: FindFirstFileEx and _WIN32_WINNT Pin
Chintoo72312-Sep-05 4:38
Chintoo72312-Sep-05 4:38 
GeneralRe: FindFirstFileEx and _WIN32_WINNT Pin
David Crow12-Sep-05 4:50
David Crow12-Sep-05 4:50 
Question#pragma warning(disable: 4786) Pin
LiYS11-Sep-05 16:57
LiYS11-Sep-05 16:57 
To let the debugger not generating the error message like:
": identifier was truncated to '255' characters in the debug information"

I add the
#pragma warning(disable: 4786)


int stdafx.h
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
   
#if !defined(AFX_STDAFX_H__077D2F6E_ABD0_4A35_9103_5D360AEF8B93__INCLUDED_)
#define AFX_STDAFX_H__077D2F6E_ABD0_4A35_9103_5D360AEF8B93__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
#endif // _AFX_NO_OLE_SUPPORT


#ifndef _AFX_NO_DB_SUPPORT
#include <afxdb.h>			// MFC ODBC database classes
#endif // _AFX_NO_DB_SUPPORT

#ifndef _AFX_NO_DAO_SUPPORT
#include <afxdao.h>			// MFC DAO database classes
#endif // _AFX_NO_DAO_SUPPORT

#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#pragma warning(disable: 4786)
#include <algorithm>
#include <functional>
#include <memory>
#include <list>
#include <map>
#include <set>
#include <vector>
#include <string>
#include <utility>
#include <deque>

#include "Resource.h"
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STDAFX_H__077D2F6E_ABD0_4A35_9103_5D360AEF8B93__INCLUDED_)


But this error message still pops out?D'Oh! | :doh:



AnswerRe: #pragma warning(disable: 4786) Pin
Christian Graus11-Sep-05 17:11
protectorChristian Graus11-Sep-05 17:11 
GeneralRe: #pragma warning(disable: 4786) Pin
LiYS11-Sep-05 17:45
LiYS11-Sep-05 17:45 
AnswerRe: #pragma warning(disable: 4786) Pin
PJ Arends11-Sep-05 19:34
professionalPJ Arends11-Sep-05 19:34 
QuestionVC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 13:24
Lord Kixdemp11-Sep-05 13:24 
AnswerRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Christian Graus11-Sep-05 14:13
protectorChristian Graus11-Sep-05 14:13 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 14:25
Lord Kixdemp11-Sep-05 14:25 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Christian Graus11-Sep-05 14:33
protectorChristian Graus11-Sep-05 14:33 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 15:38
Lord Kixdemp11-Sep-05 15:38 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Christian Graus11-Sep-05 15:39
protectorChristian Graus11-Sep-05 15:39 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 15:54
Lord Kixdemp11-Sep-05 15:54 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Christian Graus11-Sep-05 15:58
protectorChristian Graus11-Sep-05 15:58 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 16:33
Lord Kixdemp11-Sep-05 16:33 
AnswerRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Anonymous11-Sep-05 16:13
Anonymous11-Sep-05 16:13 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 17:41
Lord Kixdemp11-Sep-05 17:41 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp11-Sep-05 17:47
Lord Kixdemp11-Sep-05 17:47 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Christian Graus11-Sep-05 18:46
protectorChristian Graus11-Sep-05 18:46 
GeneralRe: VC++ 2005 Express Beta with Windows Platform SDK? Pin
Lord Kixdemp12-Sep-05 10:13
Lord Kixdemp12-Sep-05 10:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.