Click here to Skip to main content
15,919,245 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hook the WM_PRINTCLIENT evenet Pin
micutzu8-Apr-08 0:27
micutzu8-Apr-08 0:27 
GeneralSystem Shutdwon Pin
john56327-Apr-08 23:58
john56327-Apr-08 23:58 
AnswerRe: System Shutdwon Pin
Rajesh R Subramanian8-Apr-08 3:43
professionalRajesh R Subramanian8-Apr-08 3:43 
QuestionRe: System Shutdwon Pin
David Crow8-Apr-08 3:58
David Crow8-Apr-08 3:58 
GeneralRe: System Shutdwon Pin
Hamid_RT8-Apr-08 22:05
Hamid_RT8-Apr-08 22:05 
Generalglobal and static object Pin
George_George7-Apr-08 23:40
George_George7-Apr-08 23:40 
GeneralRe: global and static object [modified] Pin
Matthew Faithfull8-Apr-08 0:23
Matthew Faithfull8-Apr-08 0:23 
GeneralRe: global and static object Pin
George_George8-Apr-08 4:21
George_George8-Apr-08 4:21 
Thanks Matthew,


To my surprise, when set a break point to the assignment line, when execute the program, the break point will automatically moved to the beginning of main. Any ideas?

//.h
class CSomeclass
{
public:
static int MyMember;
};

//.cpp
//PLACE A BREAKPOINT ON THE LINE BELOW
int CSomeclass::MyMember = 42;

int main()
{
	return 0;
}



regards,
George
GeneralRe: global and static object Pin
Matthew Faithfull8-Apr-08 4:39
Matthew Faithfull8-Apr-08 4:39 
GeneralRe: global and static object Pin
George_George8-Apr-08 22:10
George_George8-Apr-08 22:10 
GeneralRe: global and static object Pin
Matthew Faithfull9-Apr-08 3:07
Matthew Faithfull9-Apr-08 3:07 
GeneralRe: global and static object Pin
George_George9-Apr-08 3:43
George_George9-Apr-08 3:43 
GeneralRe: global and static object Pin
Matthew Faithfull9-Apr-08 3:59
Matthew Faithfull9-Apr-08 3:59 
GeneralRe: global and static object Pin
George_George9-Apr-08 15:19
George_George9-Apr-08 15:19 
GeneralRe: global and static object Pin
Matthew Faithfull10-Apr-08 6:21
Matthew Faithfull10-Apr-08 6:21 
GeneralRe: global and static object Pin
George_George10-Apr-08 15:40
George_George10-Apr-08 15:40 
AnswerRe: global and static object Pin
Matthew Faithfull10-Apr-08 23:52
Matthew Faithfull10-Apr-08 23:52 
GeneralRe: global and static object Pin
George_George11-Apr-08 22:40
George_George11-Apr-08 22:40 
GeneralPassing Continous Values between dialogs Pin
Chandrasekharan P7-Apr-08 23:26
Chandrasekharan P7-Apr-08 23:26 
GeneralRe: Passing Continous Values between dialogs Pin
Iain Clarke, Warrior Programmer7-Apr-08 23:29
Iain Clarke, Warrior Programmer7-Apr-08 23:29 
GeneralRe: Passing Continous Values between dialogs Pin
Hamid_RT8-Apr-08 22:00
Hamid_RT8-Apr-08 22:00 
GeneralProblem of resizing control. Pin
Le@rner7-Apr-08 21:37
Le@rner7-Apr-08 21:37 
GeneralRe: Problem of resizing control. Pin
Iain Clarke, Warrior Programmer7-Apr-08 23:01
Iain Clarke, Warrior Programmer7-Apr-08 23:01 
GeneralRe: Problem of resizing control. Pin
Hamid_RT8-Apr-08 21:58
Hamid_RT8-Apr-08 21:58 
QuestionMFC Architecture....!!!!??? Pin
nisha000007-Apr-08 20:26
nisha000007-Apr-08 20:26 

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.