Click here to Skip to main content
15,927,514 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Funny Error Pin
25-Nov-00 12:21
suss25-Nov-00 12:21 
GeneralRe: Funny Error Pin
Tim Deveaux25-Nov-00 13:10
Tim Deveaux25-Nov-00 13:10 
GeneralRe: Funny Error Pin
25-Nov-00 13:28
suss25-Nov-00 13:28 
GeneralRe: Funny Error Pin
25-Nov-00 12:29
suss25-Nov-00 12:29 
GeneralRe: Funny Error Pin
25-Nov-00 13:21
suss25-Nov-00 13:21 
GeneralRe: Funny Error Pin
25-Nov-00 13:21
suss25-Nov-00 13:21 
GeneralError Again! Pin
24-Nov-00 20:51
suss24-Nov-00 20:51 
GeneralRe: Error Again! Pin
Rick Benish24-Nov-00 23:25
Rick Benish24-Nov-00 23:25 
Your explaination seems a little vaige but here are some ideas. First of all the warning C4715 indicates that you are not returning a value for at least one control path. This means you are not setting the return value in some logical case.
More than likley something like:

BOOL APIENTRY SavingDlgProc(HWND hDlg, UINT message, WPARAM wParam,
LPARAM lParam)
{

BOOL bRet;
if(something)
{
bRet = true;
return bRet;
}
else
{
//not setting bRet here as a return value
}
} \\ here is the error .

Since this is only a warning from the compiler I doubt its causing an error. I will however for arguments sake assume that when you state "here is the error". That you mean you are getting an error during debugging on the last line of this function. This line of code is were the function goes out of scope and cleans up anything allocated by this function. So I would guess that somewhere in this function you are overwritting something on the stack, that is currupting the computers memory stack. Check any NEW allocations!!

If you want more help with this please supply more info thanks!!
GeneralEye Candy Idea needed Pin
ColinDavies24-Nov-00 15:32
ColinDavies24-Nov-00 15:32 
GeneralRe: Eye Candy Idea needed Pin
Wolfram Steinke24-Nov-00 21:47
Wolfram Steinke24-Nov-00 21:47 
GeneralRe: Eye Candy Idea needed Pin
ColinDavies25-Nov-00 19:25
ColinDavies25-Nov-00 19:25 
GeneralRe: Eye Candy Idea needed Pin
26-Nov-00 4:23
suss26-Nov-00 4:23 
GeneralRe: Eye Candy Idea needed Pin
30-Nov-00 3:32
suss30-Nov-00 3:32 
GeneralRe: Eye Candy Idea needed Pin
NormDroid30-Nov-00 4:54
professionalNormDroid30-Nov-00 4:54 
Generalstream to and from a rich edit control Pin
24-Nov-00 13:27
suss24-Nov-00 13:27 
GeneralRe: stream to and from a rich edit control Pin
27-Nov-00 7:11
suss27-Nov-00 7:11 
GeneralAbout inheritance Pin
24-Nov-00 12:46
suss24-Nov-00 12:46 
GeneralRe: About inheritance Pin
24-Nov-00 16:13
suss24-Nov-00 16:13 
GeneralRe: About inheritance Pin
Michael Dunn24-Nov-00 20:34
sitebuilderMichael Dunn24-Nov-00 20:34 
GeneralAbout declaration Pin
24-Nov-00 12:42
suss24-Nov-00 12:42 
GeneralRe: About declaration Pin
Tim Deveaux25-Nov-00 5:50
Tim Deveaux25-Nov-00 5:50 
Questionwhat is diff between the following two c++ statements? Pin
24-Nov-00 10:48
suss24-Nov-00 10:48 
AnswerRe: what is diff between the following two c++ statements? Pin
Tim Deveaux24-Nov-00 11:06
Tim Deveaux24-Nov-00 11:06 
GeneralRe: what is diff between the following two c++ statements? Pin
Suha Aktan27-Nov-00 8:54
Suha Aktan27-Nov-00 8:54 
AnswerRe: what is diff between the following two c++ statements? Pin
27-Nov-00 5:09
suss27-Nov-00 5:09 

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.