Click here to Skip to main content
15,903,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionEmbedding Copy Exe in Application Exe? Pin
Ash2021-Oct-07 23:03
Ash2021-Oct-07 23:03 
AnswerRe: Embedding Copy Exe in Application Exe? Pin
Renjith Ramachandran22-Oct-07 0:41
Renjith Ramachandran22-Oct-07 0:41 
AnswerRe: Embedding Copy Exe in Application Exe? Pin
Nibu babu thomas22-Oct-07 0:42
Nibu babu thomas22-Oct-07 0:42 
AnswerRe: Embedding Copy Exe in Application Exe? Pin
JudyL_MD22-Oct-07 3:03
JudyL_MD22-Oct-07 3:03 
Questionassert Pin
George_George21-Oct-07 22:35
George_George21-Oct-07 22:35 
AnswerRe: assert Pin
Matthew Faithfull21-Oct-07 23:08
Matthew Faithfull21-Oct-07 23:08 
GeneralRe: assert Pin
George_George22-Oct-07 0:10
George_George22-Oct-07 0:10 
GeneralRe: assert Pin
Matthew Faithfull22-Oct-07 0:46
Matthew Faithfull22-Oct-07 0:46 
The link doesn't work for me but that sounds OK. assert will be taking an int because it's in 'C' where bool doesn't exist. I would say if you're going to use the existing asserts then use the MFC version with MFC and the C Library version in plain Win32. There is certainly no need define _ASSERT and assert manually to NULL when !_DEBUG. They should already be #defin(ed) to disappear altogether in Release builds.
I understand the value of asserts but I don't personally use them. I know this is a controversial oppinion and not to be taken as advice but I think they're an incomplete or broken concept. One of these days I'm going to work out why they annoy me so much and replace them with something better.Smile | :)

Nothing is exactly what it seems but everything with seems can be unpicked.

GeneralRe: assert Pin
George_George22-Oct-07 1:52
George_George22-Oct-07 1:52 
GeneralRe: assert Pin
Stephen Hewitt22-Oct-07 15:36
Stephen Hewitt22-Oct-07 15:36 
AnswerRe: assert Pin
David Crow22-Oct-07 3:45
David Crow22-Oct-07 3:45 
GeneralRe: assert Pin
George_George22-Oct-07 19:26
George_George22-Oct-07 19:26 
GeneralRe: assert Pin
David Crow23-Oct-07 2:55
David Crow23-Oct-07 2:55 
GeneralRe: assert Pin
George_George23-Oct-07 4:41
George_George23-Oct-07 4:41 
AnswerRe: assert Pin
James R. Twine22-Oct-07 5:18
James R. Twine22-Oct-07 5:18 
GeneralRe: assert Pin
George_George22-Oct-07 18:58
George_George22-Oct-07 18:58 
QuestionHow to get text from Form? Pin
truestepper21-Oct-07 22:20
truestepper21-Oct-07 22:20 
QuestionRe: How to get text from Form? Pin
Hamid_RT21-Oct-07 22:28
Hamid_RT21-Oct-07 22:28 
AnswerRe: How to get text from Form? Pin
truestepper21-Oct-07 22:30
truestepper21-Oct-07 22:30 
GeneralRe: How to get text from Form? Pin
Hamid_RT21-Oct-07 22:41
Hamid_RT21-Oct-07 22:41 
GeneralRe: How to get text from Form? Pin
truestepper21-Oct-07 22:47
truestepper21-Oct-07 22:47 
GeneralRe: How to get text from Form? Pin
Hamid_RT22-Oct-07 1:51
Hamid_RT22-Oct-07 1:51 
QuestionCursor Disappearing Pin
pankajbhalla21-Oct-07 20:07
pankajbhalla21-Oct-07 20:07 
QuestionChanging lpDialogTemplate Pin
hxhl9521-Oct-07 19:24
hxhl9521-Oct-07 19:24 
AnswerRe: Changing lpDialogTemplate Pin
Nelek22-Oct-07 4:16
protectorNelek22-Oct-07 4:16 

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.