Click here to Skip to main content
15,914,488 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralInterface default constructor Error Pin
half-life12-Feb-08 20:08
half-life12-Feb-08 20:08 
GeneralRe: Interface default constructor Error Pin
Cedric Moonen12-Feb-08 20:21
Cedric Moonen12-Feb-08 20:21 
GeneralRe: Interface default constructor Error Pin
half-life12-Feb-08 20:39
half-life12-Feb-08 20:39 
GeneralRe: Interface default constructor Error Pin
jhwurmbach13-Feb-08 0:52
jhwurmbach13-Feb-08 0:52 
GeneralDebug Assertion Error Occurs while making the Static Linked Dll Pin
nitin_pro12-Feb-08 20:03
nitin_pro12-Feb-08 20:03 
QuestionRelease Mode not running Pin
vethathiri12-Feb-08 19:57
vethathiri12-Feb-08 19:57 
GeneralRe: Release Mode not running Pin
Rajesh R Subramanian12-Feb-08 20:22
professionalRajesh R Subramanian12-Feb-08 20:22 
GeneralRe: Release Mode not running Pin
Iain Clarke, Warrior Programmer13-Feb-08 0:14
Iain Clarke, Warrior Programmer13-Feb-08 0:14 
Certainly - just include this function call at the start of your program:

invoke_psychic_and_magic_wand (17)


Didn't they teach you anything at the programmer's initiation ceremony?

More seriously, you have a bug in your code. The solution is to fix it.

You can run release code under the debugger to find out how it's crashing. Or use depends.exe to find out why it doesn't even run to start with.

The big thing that caught me was a stack overflow. I tracked it down to using a wrong signature for a message function.

I had:

ON_COMMAND(IDC_1234, OnButton1234)

then
void CMyDialog::OnButton1234 (UINT nID)
instead of
void CMyDialog::OnButton1234 (UINT nID)

This will take you some time to track down - but the error didn't manifest in debug mode.

I'm sure there are lots more examples.

And yes, I have more meaningful names in my code than 1234 and CMyDialog!

Good luck,

Iain.

Iain Clarke appearing in spite of being begged not to by CPallini.

QuestionRe: Release Mode not running Pin
David Crow13-Feb-08 3:25
David Crow13-Feb-08 3:25 
Generalwhile debugging not able see the source code [modified] Pin
VC_RYK12-Feb-08 19:55
VC_RYK12-Feb-08 19:55 
GeneralRe: while debugging not able see the source code Pin
Cedric Moonen12-Feb-08 20:24
Cedric Moonen12-Feb-08 20:24 
QuestionHow to create 3D vector? Pin
TooShy2Talk12-Feb-08 19:52
TooShy2Talk12-Feb-08 19:52 
GeneralRe: How to create 3D vector? Pin
BadKarma12-Feb-08 20:50
BadKarma12-Feb-08 20:50 
Generalhide and unhide panes created by CSplitterWnd class Pin
preeti sharma12-Feb-08 19:17
preeti sharma12-Feb-08 19:17 
GeneralRe: hide and unhide panes created by CSplitterWnd class Pin
Iain Clarke, Warrior Programmer13-Feb-08 4:05
Iain Clarke, Warrior Programmer13-Feb-08 4:05 
GeneralGet a string from char pointer Pin
CodingLover12-Feb-08 19:10
CodingLover12-Feb-08 19:10 
GeneralRe: Get a string from char pointer Pin
ShilpiP12-Feb-08 19:42
ShilpiP12-Feb-08 19:42 
GeneralRe: Get a string from char pointer Pin
CodingLover12-Feb-08 19:47
CodingLover12-Feb-08 19:47 
GeneralRe: Get a string from char pointer Pin
ShilpiP12-Feb-08 20:09
ShilpiP12-Feb-08 20:09 
GeneralRe: Get a string from char pointer Pin
CodingLover12-Feb-08 20:44
CodingLover12-Feb-08 20:44 
GeneralRe: Get a string from char pointer Pin
flip12-Feb-08 19:42
flip12-Feb-08 19:42 
GeneralRe: Get a string from char pointer Pin
CodingLover12-Feb-08 19:56
CodingLover12-Feb-08 19:56 
GeneralRe: Get a string from char pointer Pin
David Crow13-Feb-08 3:28
David Crow13-Feb-08 3:28 
GeneralRe: Get a string from char pointer Pin
CodingLover13-Feb-08 15:20
CodingLover13-Feb-08 15:20 
GeneralRe: Get a string from char pointer Pin
Iain Clarke, Warrior Programmer13-Feb-08 0:38
Iain Clarke, Warrior Programmer13-Feb-08 0:38 

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.