[BACK]Return to asir32guiview.cpp CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / windows / asir32gui

Diff for /OpenXM_contrib2/windows/asir32gui/asir32guiview.cpp between version 1.16 and 1.19

version 1.16, 2006/12/05 01:41:43 version 1.19, 2009/02/07 11:01:25
Line 17  static char THIS_FILE[] = __FILE__;
Line 17  static char THIS_FILE[] = __FILE__;
 #endif  #endif
   
 // const TextBufferSize     = 32768;  // const TextBufferSize     = 32768;
 const TextBufferSize     = 16384;  const int TextBufferSize     = 16384;
   
 CAsir32guiView *theView;  CAsir32guiView *theView;
   
Line 724  BOOL CAsir32guiView::Create(LPCTSTR lpszClassName, LPC
Line 724  BOOL CAsir32guiView::Create(LPCTSTR lpszClassName, LPC
   
         BOOL ret = CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);          BOOL ret = CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
         FILE *fp = fopen("asirgui.hnd","w");          FILE *fp = fopen("asirgui.hnd","w");
         fprintf(fp,"%d",(unsigned int)theView->m_hWnd);          char *temp;
         fclose(fp);  
           if ( fp ) {
                   fprintf(fp,"%d",(unsigned int)theView->m_hWnd);
                   fclose(fp);
                   if ( temp = getenv("TEMP") ) {
                           int len;
                           char *name;
   
                           len = strlen(temp);
                           name = (char *)malloc(len+BUFSIZ);
                           sprintf(name,"%s\\asirgui.hnd",temp);
                           fopen(name,"w");
                           fprintf(fp,"%d",(unsigned int)theView->m_hWnd);
                           fclose(fp);
                   }
           }
         return ret;          return ret;
 }  }

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.19

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>