Click here to Skip to main content
15,910,211 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to set breakpoint in MFC Pin
Jose Lamas Rios15-Aug-05 12:32
Jose Lamas Rios15-Aug-05 12:32 
Generalcool, it works!!! Pin
valerie9916-Aug-05 5:55
valerie9916-Aug-05 5:55 
GeneralRe: cool, it works!!! Pin
Jose Lamas Rios17-Aug-05 4:28
Jose Lamas Rios17-Aug-05 4:28 
Generalerror C2065/error C3861: 'm_nBackStyle': identifier not found, even.... Pin
vic1200015-Aug-05 11:10
vic1200015-Aug-05 11:10 
GeneralRe: error C2065/error C3861: 'm_nBackStyle': identifier not found, even.... Pin
Christian Graus15-Aug-05 13:22
protectorChristian Graus15-Aug-05 13:22 
GeneralRe: error C2065/error C3861: 'm_nBackStyle': identifier not found, even.... Pin
vic1200015-Aug-05 13:52
vic1200015-Aug-05 13:52 
GeneralRe: error C2065/error C3861: 'm_nBackStyle': identifier not found, even.... Pin
Christian Graus15-Aug-05 14:13
protectorChristian Graus15-Aug-05 14:13 
GeneralRe: error C2065/error C3861: 'm_nBackStyle': identifier not found, even.... Pin
vic1200016-Aug-05 13:56
vic1200016-Aug-05 13:56 
> Dear Experts,
>
> I need to compile an old project (built with VC++) in Visual Studio .Net
> 2003.
> The project is going to build a DLL. When i try to compile the project, i
> got the following errors:
>
> c:\thepath\aaa.cpp(890): error C2065: 'm_nBackStyle' : undeclared identifier
> c:\thepath\aaa.cpp(890): error C3861: 'm_nBackStyle': identifier not found,
> even with argument-dependent lookup
> c:\thepath\aaa.cpp(891): error C3861: 'm_nBackStyle': identifier not found,
> even with argument-dependent lookup
> c:\thepath\aaa.cpp(892): error C3861: 'm_nBackStyle': identifier not found,
> even with argument-dependent lookup
>
> in aaa.cpp, 'm_nBackStyle' are used as the following:
> // Set up background mode.
> 890: if(m_nBackStyle != 1 && m_nBackStyle != 2)
> 891: m_nBackStyle = 2;
> 892: SetBkMode(di.hdcDraw, m_nBackStyle);
>
> in aaa.h, i have:
> #include <atlctl.h>
> and aaa.h is already included in aaa.cpp.
>
> I found the following declaration in ddd.h, which is in another project (the
> solution has sevreal projects):
> LONG m_nBackStyle;
--------------------------------
Hi Christian,

Thanks a lot!
You are right, m_nBackStyle is in atlctl.h.
Please see the info about m_nBackStyle at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceatl/htm/cccontrl_72.asp

m_nBackStyle is defined in ddd.h, in another class, in another project, in the same solution. There are several projects in the same solution.
If it is because the projects dependence info was lost after i transfer the projects to VS .NET, how can i figure out the dependence relationship between the projects and recover that quickly?

Thanks for your valuable suggestion!

Vic
GeneralRe: error C2065/error C3861: 'm_nBackStyle': identifier not found, even.... Pin
Christian Graus16-Aug-05 14:02
protectorChristian Graus16-Aug-05 14:02 
GeneralChanging TAPI modem modes Pin
andy18015-Aug-05 10:56
andy18015-Aug-05 10:56 
QuestionCString::GetLength(), what does it in fact return? Pin
misterbear15-Aug-05 7:54
misterbear15-Aug-05 7:54 
AnswerRe: CString::GetLength(), what does it in fact return? Pin
David Crow15-Aug-05 8:46
David Crow15-Aug-05 8:46 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
Graham Bradshaw15-Aug-05 9:08
Graham Bradshaw15-Aug-05 9:08 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
David Crow15-Aug-05 9:27
David Crow15-Aug-05 9:27 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
Jose Lamas Rios15-Aug-05 9:11
Jose Lamas Rios15-Aug-05 9:11 
AnswerRe: CString::GetLength(), what does it in fact return? Pin
Tim Smith15-Aug-05 13:30
Tim Smith15-Aug-05 13:30 
GeneralRe: CString::GetLength(), what does it in fact return? Pin
misterbear15-Aug-05 20:05
misterbear15-Aug-05 20:05 
Generalfirewall by-passing Pin
avi-wildthing15-Aug-05 7:02
avi-wildthing15-Aug-05 7:02 
GeneralRe: firewall by-passing Pin
Rage15-Aug-05 7:04
professionalRage15-Aug-05 7:04 
GeneralRe: firewall by-passing Pin
avi-wildthing15-Aug-05 7:40
avi-wildthing15-Aug-05 7:40 
GeneralRe: firewall by-passing Pin
Bob Stanneveld15-Aug-05 10:23
Bob Stanneveld15-Aug-05 10:23 
GeneralRe: firewall by-passing Pin
avi-wildthing15-Aug-05 15:53
avi-wildthing15-Aug-05 15:53 
GeneralRe: firewall by-passing Pin
ThatsAlok15-Aug-05 18:27
ThatsAlok15-Aug-05 18:27 
GeneralRe: firewall by-passing Pin
fat_boy19-Aug-05 4:42
fat_boy19-Aug-05 4:42 
GeneralHooking Pin
celllllllll15-Aug-05 6:27
celllllllll15-Aug-05 6:27 

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.