Click here to Skip to main content
15,899,679 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 1:51
vikas amin11-Jan-06 1:51 
AnswerWorks for programs written in any language! Pin
Taka Muraoka11-Jan-06 1:02
Taka Muraoka11-Jan-06 1:02 
AnswerRe: How to crash my programe before main()? Pin
lemur211-Jan-06 1:41
lemur211-Jan-06 1:41 
Of the top of my head, can't think of a way in C, but in C++ you can simply use some form of static initialiser.

Be warned though, that they can cause problems if not handled correctly. I'd recommend asking yourself if you really need to do this?

Kev

GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 1:54
vikas amin11-Jan-06 1:54 
AnswerRe: How to crash my programe before main()? Pin
Rajesh R Subramanian11-Jan-06 1:47
professionalRajesh R Subramanian11-Jan-06 1:47 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 1:51
vikas amin11-Jan-06 1:51 
GeneralRe: How to crash my programe before main()? Pin
lemur211-Jan-06 1:55
lemur211-Jan-06 1:55 
GeneralRe: How to crash my programe before main()? Pin
sunit511-Jan-06 3:24
sunit511-Jan-06 3:24 
GeneralRe: How to crash my programe before main()? Pin
Rajesh R Subramanian11-Jan-06 19:37
professionalRajesh R Subramanian11-Jan-06 19:37 
AnswerRe: How to crash my programe before main()? Pin
Cedric Moonen11-Jan-06 1:59
Cedric Moonen11-Jan-06 1:59 
GeneralRe: How to crash my programe before main()? Pin
sunit511-Jan-06 3:21
sunit511-Jan-06 3:21 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 19:36
vikas amin11-Jan-06 19:36 
AnswerRe: How to crash my programe before main()? Pin
vipinasda11-Jan-06 6:41
vipinasda11-Jan-06 6:41 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 19:34
vikas amin11-Jan-06 19:34 
GeneralRe: How to crash my programe before main()? Pin
Rajesh R Subramanian11-Jan-06 19:39
professionalRajesh R Subramanian11-Jan-06 19:39 
QuestionHow to access object of a class declared in one file from another file? Pin
Amarelia11-Jan-06 0:49
Amarelia11-Jan-06 0:49 
AnswerRe: How to access object of a class declared in one file from another file? Pin
Owner drawn11-Jan-06 1:00
Owner drawn11-Jan-06 1:00 
GeneralRe: How to access object of a class declared in one file from another file? Pin
Amarelia11-Jan-06 1:23
Amarelia11-Jan-06 1:23 
GeneralRe: How to access object of a class declared in one file from another file? Pin
Owner drawn11-Jan-06 1:32
Owner drawn11-Jan-06 1:32 
GeneralRe: How to access object of a class declared in one file from another file? Pin
sunit511-Jan-06 3:31
sunit511-Jan-06 3:31 
QuestionEvent Notifications Pin
Anil_vvs11-Jan-06 0:02
Anil_vvs11-Jan-06 0:02 
AnswerRe: Event Notifications Pin
Anilkumar K V11-Jan-06 1:02
Anilkumar K V11-Jan-06 1:02 
GeneralRe: Event Notifications Pin
Anil_vvs11-Jan-06 1:29
Anil_vvs11-Jan-06 1:29 
Question(Locked Computer) GINA Pin
manojk_batra10-Jan-06 23:33
manojk_batra10-Jan-06 23:33 
AnswerRe: (Locked Computer) GINA Pin
sunit511-Jan-06 3:26
sunit511-Jan-06 3: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.