Click here to Skip to main content
15,890,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Create a program Pin
Victor Nijegorodov3-Jan-17 22:04
Victor Nijegorodov3-Jan-17 22:04 
GeneralRe: Create a program Pin
Richard MacCutchan3-Jan-17 23:26
mveRichard MacCutchan3-Jan-17 23:26 
QuestionRe: Create a program Pin
David Crow4-Jan-17 2:57
David Crow4-Jan-17 2:57 
GeneralRe: Create a program Pin
NotPolitcallyCorrect4-Jan-17 5:08
NotPolitcallyCorrect4-Jan-17 5:08 
QuestionMigrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman30-Dec-16 6:20
SP Chapman30-Dec-16 6:20 
AnswerRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
Richard MacCutchan30-Dec-16 20:59
mveRichard MacCutchan30-Dec-16 20:59 
AnswerRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
leon de boer31-Dec-16 3:04
leon de boer31-Dec-16 3:04 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman3-Jan-17 6:06
SP Chapman3-Jan-17 6:06 
I did, indeed, find "#pragma comment(lib, "mfc" _MFC_FILENAME_VER "d.lib")" in Afx.h under C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include\afx.h. However, _MFC_FILENAME_VER is declared by:

#ifndef _MFC_FILENAME_VER
#define _MFC_FILENAME_VER "140"
#endif

in afxver.h.

I tried adding the declaration explicitly to the project StdAfx.h file but it made no change to the linker error. "#pragma comment" is not found anywhere in the project itself. There are no explicit references to MFC 80 in the linker settings.

Once I get a few beginning of the year things cleaned up, I am going to try a release build.

As for DAO, I am no longer targeting XP or Vista. I will need to fight that battle once I win this one.

Thanks for your advice. I will continue to tilt at this as I may, but I may be stuck with VS2005 compilations for some time.

Happy New Year to you.

FF
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
leon de boer8-Jan-17 3:47
leon de boer8-Jan-17 3:47 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman9-Jan-17 5:44
SP Chapman9-Jan-17 5:44 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
Stefan_Lang27-Jan-17 2:31
Stefan_Lang27-Jan-17 2:31 
GeneralRe: Migrating from Visual Studio 2005 to Visual Studio 2015 Still Tries to Link MFC 8 Pin
SP Chapman27-Jan-17 5:26
SP Chapman27-Jan-17 5:26 
QuestionWM_SHOWWINDOW not called Pin
_Flaviu29-Dec-16 9:56
_Flaviu29-Dec-16 9:56 
AnswerRe: WM_SHOWWINDOW not called Pin
Richard MacCutchan29-Dec-16 21:38
mveRichard MacCutchan29-Dec-16 21:38 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu29-Dec-16 21:58
_Flaviu29-Dec-16 21:58 
GeneralRe: WM_SHOWWINDOW not called Pin
leon de boer29-Dec-16 22:33
leon de boer29-Dec-16 22:33 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu29-Dec-16 23:36
_Flaviu29-Dec-16 23:36 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu29-Dec-16 23:37
_Flaviu29-Dec-16 23:37 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu30-Dec-16 1:07
_Flaviu30-Dec-16 1:07 
GeneralRe: WM_SHOWWINDOW not called Pin
leon de boer30-Dec-16 3:15
leon de boer30-Dec-16 3:15 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu30-Dec-16 3:18
_Flaviu30-Dec-16 3:18 
GeneralRe: WM_SHOWWINDOW not called Pin
leon de boer30-Dec-16 3:38
leon de boer30-Dec-16 3:38 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu31-Dec-16 11:49
_Flaviu31-Dec-16 11:49 
GeneralRe: WM_SHOWWINDOW not called Pin
leon de boer5-Jan-17 22:05
leon de boer5-Jan-17 22:05 
GeneralRe: WM_SHOWWINDOW not called Pin
_Flaviu8-Jan-17 20:39
_Flaviu8-Jan-17 20:39 

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.