/[winpt]/trunk/Src/wptErrors.cpp
ViewVC logotype

Diff of /trunk/Src/wptErrors.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 189 by twoaday, Thu Jan 19 16:10:37 2006 UTC revision 190 by twoaday, Mon Mar 27 10:05:14 2006 UTC
# Line 1  Line 1 
1  /* wptErrors.cpp - Error management  /* wptErrors.cpp - Error management
2   *      Copyright (C) 2000-2004 Timo Schulz   *      Copyright (C) 2000-2006 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 147  winpt_errmsg (const char * name, int is_ Line 147  winpt_errmsg (const char * name, int is_
147                     MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),                     MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
148                     buf, DIM (buf)-1, NULL);                     buf, DIM (buf)-1, NULL);
149      MessageBox (NULL, buf, head, MB_OK);      MessageBox (NULL, buf, head, MB_OK);
150  } /* winpt_errmsg */  }
   
   
151    
 void  
 winpt_debug_msg( void )  
 {        
     char output[768], temp[384];  
           
     GetTempPath( sizeof temp -1, temp );  
     _snprintf( output, sizeof output - 1,  
         "The GPGME output file is gpgme.dbg\n"  
         "The WinPT output file is %swinpt.log\n", temp );  
     MessageBox( NULL, output, "WinPT now runs in DEBUG MODE", MB_INFO );  
 } /* winpt_debug_msg */  
152    
153    
154  /* Dummy function.  Not sure for what it is used. */  /* This function is used to cleanup static debug resources. */
155  void  void
156  debug_end (void)  debug_end (void)
157  {  {
     
     
158  }  }
159    
160    
# Line 247  printf_box (const char *title, int style Line 232  printf_box (const char *title, int style
232      va_end( arg_ptr );      va_end( arg_ptr );
233    
234      return id;      return id;
235  } /* log_box */  }
236    

Legend:
Removed from v.189  
changed lines
  Added in v.190

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26