version 1.16, 2006/12/05 01:41:43 |
version 1.17, 2007/02/13 09:20:44 |
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"); |
|
char *temp; |
|
|
fprintf(fp,"%d",(unsigned int)theView->m_hWnd); |
fprintf(fp,"%d",(unsigned int)theView->m_hWnd); |
fclose(fp); |
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; |
} |
} |