Click here to Skip to main content
15,908,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOnNCHitTest Pin
satkan11-Nov-10 18:09
satkan11-Nov-10 18:09 
AnswerRe: OnNCHitTest Pin
Kelly Herald11-Nov-10 18:35
Kelly Herald11-Nov-10 18:35 
QuestionEvery time I format my system, I get a different MAC address (Windows XP, VISTA and Windows7). Why I am not getting same MAC every time? Pin
Aseem Sharma11-Nov-10 11:48
Aseem Sharma11-Nov-10 11:48 
AnswerRe: Every time I format my system, I get a different MAC address (Windows XP, VISTA and Windows7). Why I am not getting same MAC every time? Pin
enhzflep11-Nov-10 15:34
enhzflep11-Nov-10 15:34 
GeneralRe: Every time I format my system, I get a different MAC address (Windows XP, VISTA and Windows7). Why I am not getting same MAC every time? Pin
Aseem Sharma11-Nov-10 19:27
Aseem Sharma11-Nov-10 19:27 
AnswerRe: Every time I format my system, I get a different MAC address (Windows XP, VISTA and Windows7). Why I am not getting same MAC every time? Pin
cp987611-Nov-10 19:52
cp987611-Nov-10 19:52 
GeneralRe: Every time I format my system, I get a different MAC address (Windows XP, VISTA and Windows7). Why I am not getting same MAC every time? Pin
Aseem Sharma12-Nov-10 5:58
Aseem Sharma12-Nov-10 5:58 
QuestionAdvice on resolving access violation exception. Pin
Chris Meech11-Nov-10 8:21
Chris Meech11-Nov-10 8:21 
When I debug a windows program, at program exit, when I attempt to step over the function ExitProcess(), the debugger catches an access violation exception. The code below is from the C run-time source.
void __cdecl __crtExitProcess (
        int status
        )
{
        __crtCorExitProcess(status);

        /*
         * Either mscoree.dll isn't loaded,
         * or CorExitProcess isn't exported from mscoree.dll,
         * or CorExitProcess returned (should never happen).
         * Just call ExitProcess.
         */

        ExitProcess(status);
}


When I build and run a release version, the program appears to end properly and no errors are reported, but code that is waiting for the process to end
dwReturnCode  =  WaitForProgramToComplete(strProgramName, strProgramParameters);

results in the dwReturnCode now having the value of C0000005 instead of the value of 0. The fact that this number corresponds to the same value for the access violation exception when I debug, makes me suspect that the exception is still being thrown and handled a little differently. Does anoyone have some ideas on how to best try to determine the cause of this problem. Thanks.
Chris Meech
I am Canadian. [heard in a local bar]

In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

AnswerRe: Advice on resolving access violation exception. Pin
Maximilien11-Nov-10 8:59
Maximilien11-Nov-10 8:59 
GeneralRe: Advice on resolving access violation exception. Pin
Chris Meech11-Nov-10 9:13
Chris Meech11-Nov-10 9:13 
Questionhelp translate the problem of network projects Pin
linhluu11-Nov-10 6:48
linhluu11-Nov-10 6:48 
AnswerRe: help translate the problem of network projects Pin
Richard MacCutchan11-Nov-10 22:19
mveRichard MacCutchan11-Nov-10 22:19 
QuestionCreating Library Modules in VS ...?? Pin
AmbiguousName11-Nov-10 1:40
AmbiguousName11-Nov-10 1:40 
AnswerRe: Creating Library Modules in VS ...?? Pin
Richard MacCutchan11-Nov-10 2:20
mveRichard MacCutchan11-Nov-10 2:20 
AnswerRe: Creating Library Modules in VS ...?? Pin
«_Superman_»11-Nov-10 6:23
professional«_Superman_»11-Nov-10 6:23 
QuestionHow to make it effective to ::SetSysColors(COLOR_SCROLLBAR...)? Pin
dancingfish11-Nov-10 0:29
dancingfish11-Nov-10 0:29 
AnswerRe: How to make it effective to ::SetSysColors(COLOR_SCROLLBAR...)? Pin
«_Superman_»11-Nov-10 6:28
professional«_Superman_»11-Nov-10 6:28 
QuestionAudio Detect from Microphone problem Pin
cougar1010-Nov-10 21:05
cougar1010-Nov-10 21:05 
QuestionHow to add Image as Object on Image? Pin
002comp10-Nov-10 16:36
002comp10-Nov-10 16:36 
AnswerRe: How to add Image as Object on Image? Pin
«_Superman_»11-Nov-10 6:35
professional«_Superman_»11-Nov-10 6:35 
GeneralRe: How to add Image as Object on Image? Pin
002comp11-Nov-10 17:14
002comp11-Nov-10 17:14 
QuestionCreate Bitmap from Memory Pin
Richard Andrew x6410-Nov-10 13:17
professionalRichard Andrew x6410-Nov-10 13:17 
AnswerRe: Create Bitmap from Memory Pin
Richard Andrew x6410-Nov-10 13:42
professionalRichard Andrew x6410-Nov-10 13:42 
QuestionIs there something like a CD/DVD GUID and how to obtain it if yes? Pin
Code-o-mat10-Nov-10 6:00
Code-o-mat10-Nov-10 6:00 
AnswerRe: Is there something like a CD/DVD GUID and how to obtain it if yes? Pin
David Crow10-Nov-10 8:29
David Crow10-Nov-10 8:29 

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.