Click here to Skip to main content
16,006,749 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionReBar Vs. Toolbar? Pin
will138330-Jan-03 7:09
will138330-Jan-03 7:09 
AnswerRe: ReBar Vs. Toolbar? Pin
Abbas_Riazi30-Jan-03 7:20
professionalAbbas_Riazi30-Jan-03 7:20 
AnswerRe: ReBar Vs. Toolbar? Pin
Shog930-Jan-03 10:46
sitebuilderShog930-Jan-03 10:46 
QuestionReplacing A Running Executable? Pin
nde_plume30-Jan-03 6:50
nde_plume30-Jan-03 6:50 
AnswerRe: Replacing A Running Executable? Pin
Abbas_Riazi30-Jan-03 7:15
professionalAbbas_Riazi30-Jan-03 7:15 
AnswerRe: Replacing A Running Executable? Pin
Alvaro Mendez30-Jan-03 8:06
Alvaro Mendez30-Jan-03 8:06 
AnswerRe: Replacing A Running Executable? Pin
Todd Smith30-Jan-03 14:30
Todd Smith30-Jan-03 14:30 
Generalmessing with afxDump Pin
Scott H. Settlemier30-Jan-03 6:44
Scott H. Settlemier30-Jan-03 6:44 
Am I in much danger doing this? I wanted to see the TRACE
results w/o attaching a debugger, so I did this:
#ifdef _DEBUG
{
  typedef BOOL (WINAPI* ISDEBUGGERPRESENT)();
  ISDEBUGGERPRESENT pIsDebuggerPresent=(ISDEBUGGERPRESENT)GetProcAddress(GetModuleHandle("KERNEL32.DLL"),"IsDebuggerPresent");
  if (pIsDebuggerPresent && !pIsDebuggerPresent())
  { // this is a debug build with no debugger, let's set the afxDump object
    // to dump to a local file so that we can inspect the results
    ASSERT(!afxDump.m_pFile);
    CString DumpFilename;
    DumpFilename.ReleaseBuffer(::GetModuleFileName(0,DumpFilename.GetBuffer(MAX_PATH),MAX_PATH)?-1:0);
    DumpFilename+=".TRACE-DUMP.TXT";
    afxDump.m_pFile=new CFile(DumpFilename,CFile::modeWrite|CFile::modeCreate|CFile::shareDenyWrite);
  }
}
#endif

I feel uneasy about it. Besides the problem of a debugger attaching to
the process later on, it may step on other dependencies of which I am
unaware. Is there a simple tool instead that will serve to receive and
display the TRACE messages?
GeneralRe: messing with afxDump Pin
mike_corrigan30-Jan-03 7:22
mike_corrigan30-Jan-03 7:22 
GeneralA problem updating FoxPro table. Pin
iluha30-Jan-03 6:11
iluha30-Jan-03 6:11 
GeneralChange Image in CListCtrl Pin
Marc Tompkins30-Jan-03 6:10
Marc Tompkins30-Jan-03 6:10 
GeneralRe: Change Image in CListCtrl Pin
Abbas_Riazi30-Jan-03 7:03
professionalAbbas_Riazi30-Jan-03 7:03 
GeneralDialog in dll Pin
dawo30-Jan-03 5:06
dawo30-Jan-03 5:06 
GeneralRe: Dialog in dll Pin
Abbas_Riazi30-Jan-03 7:09
professionalAbbas_Riazi30-Jan-03 7:09 
GeneralRe: Dialog in dll Pin
will138330-Jan-03 7:20
will138330-Jan-03 7:20 
GeneralMessage Timers Pin
Dov Sherman30-Jan-03 5:05
Dov Sherman30-Jan-03 5:05 
GeneralRe: Message Timers Pin
Jeremy Falcon30-Jan-03 8:00
professionalJeremy Falcon30-Jan-03 8:00 
GeneralDynamic Change Between Single/Multi select i CListCtrl Pin
Michael Olsen30-Jan-03 4:32
Michael Olsen30-Jan-03 4:32 
GeneralRe: Dynamic Change Between Single/Multi select i CListCtrl Pin
Navin30-Jan-03 4:53
Navin30-Jan-03 4:53 
GeneralRe: Dynamic Change Between Single/Multi select i CListCtrl Pin
User 665830-Jan-03 5:44
User 665830-Jan-03 5:44 
GeneralRunning one function but different paths for a number of menu items Pin
ns30-Jan-03 4:27
ns30-Jan-03 4:27 
GeneralRe: Running one function but different paths for a number of menu items Pin
HENDRIK R30-Jan-03 4:47
HENDRIK R30-Jan-03 4:47 
GeneralRe: Running one function but different paths for a number of menu items Pin
ns30-Jan-03 5:04
ns30-Jan-03 5:04 
GeneralRe: Running one function but different paths for a number of menu items Pin
HENDRIK R30-Jan-03 5:12
HENDRIK R30-Jan-03 5:12 
GeneralRe: Running one function but different paths for a number of menu items Pin
ns30-Jan-03 6:02
ns30-Jan-03 6:02 

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.