[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.29 and 1.31

version 1.29, 2013/08/30 18:18:11 version 1.31, 2014/05/10 08:23:33
Line 734  BOOL CAsir32guiView::Create(LPCTSTR lpszClassName, LPC
Line 734  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 = NULL;          FILE *fp = NULL;
         char *temp;          char *temp;
         char rootdir[BUFSIZ], errmsg[BUFSIZ], hndname[_MAX_PATH];          char hndname[_MAX_PATH];
   
         if (get_rootdir(rootdir, BUFSIZ, errmsg)) {          if ( asirgui_kind == ASIRGUI_MAIN ) {
                 sprintf(hndname, "%s\\bin\\asirgui.hnd", rootdir);                  if ( temp = getenv("TEMP") ) {
                 fp = fopen(hndname,"w");                          sprintf(hndname,"%s\\asirgui.hnd", temp);
                 if ( fp ) {                          fp = fopen(hndname,"w");
                         fprintf(fp,"%d",(unsigned int)theView->m_hWnd);                          if ( fp ) {
                         fclose(fp);                                  fprintf(fp,"%d",(unsigned int)theView->m_hWnd);
                 }                                  fclose(fp);
         }                          }
         if ( temp = getenv("TEMP") ) {  
                 sprintf(hndname,"%s\\asirgui.hnd", temp);  
                 fp = fopen(hndname,"w");  
                 if ( fp ) {  
                         fprintf(fp,"%d",(unsigned int)theView->m_hWnd);  
                         fclose(fp);  
                 }                  }
         }          }
         return ret;          return ret;

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.31

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