diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-15 14:34:26 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-15 14:34:26 +0000 |
commit | d6c87488ac1f62bc27d8eba4914a746dad510591 (patch) | |
tree | bfcdb7f7f0149f71189b87f06139e5a8d26c9660 /WindozeCE | |
parent | 62368cb4561aed69101064d8adc7cb355d35d32a (diff) | |
download | ATCD-d6c87488ac1f62bc27d8eba4914a746dad510591.tar.gz |
This commit was manufactured by cvs2svn to create tag 'TAO-0_1_22'.TAO-0_1_22
Diffstat (limited to 'WindozeCE')
-rw-r--r-- | WindozeCE/ACEApp.cpp | 17 | ||||
-rw-r--r-- | WindozeCE/ACEApp.h | 14 | ||||
-rw-r--r-- | WindozeCE/README | 35 | ||||
-rw-r--r-- | WindozeCE/StdAfx.cpp | 7 | ||||
-rw-r--r-- | WindozeCE/StdAfx.h | 26 | ||||
-rw-r--r-- | WindozeCE/WindozeCE.aps | bin | 34768 -> 0 bytes | |||
-rw-r--r-- | WindozeCE/WindozeCE.clw | 41 | ||||
-rw-r--r-- | WindozeCE/WindozeCE.cpp | 70 | ||||
-rw-r--r-- | WindozeCE/WindozeCE.dsp | 377 | ||||
-rw-r--r-- | WindozeCE/WindozeCE.h | 50 | ||||
-rw-r--r-- | WindozeCE/WindozeCE.plg | 18 | ||||
-rw-r--r-- | WindozeCE/WindozeCE.rc | 176 | ||||
-rw-r--r-- | WindozeCE/WindozeCEDlg.cpp | 156 | ||||
-rw-r--r-- | WindozeCE/WindozeCEDlg.h | 54 | ||||
-rw-r--r-- | WindozeCE/res/WindozeCE.ico | bin | 1078 -> 0 bytes | |||
-rw-r--r-- | WindozeCE/res/WindozeCE.rc2 | 13 | ||||
-rw-r--r-- | WindozeCE/resource.h | 21 |
17 files changed, 0 insertions, 1075 deletions
diff --git a/WindozeCE/ACEApp.cpp b/WindozeCE/ACEApp.cpp deleted file mode 100644 index 3d7ab6722ca..00000000000 --- a/WindozeCE/ACEApp.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// $Id$ - -#include "stdafx.h" -#include "ace/OS.h" -#include "ACEApp.h" - -#if 0 -int -main (int argc, ASYS_TCHAR *argv[]) -{ - Sleep (500); - for (int i = 0; i < argc; i++, Sleep (700)) - ACE_DEBUG ((LM_DEBUG, TEXT ("The %d command arg is \"%s\""), - i, argv [i])); - return 0; -} -#endif diff --git a/WindozeCE/ACEApp.h b/WindozeCE/ACEApp.h deleted file mode 100644 index 6d5107dedbf..00000000000 --- a/WindozeCE/ACEApp.h +++ /dev/null @@ -1,14 +0,0 @@ -// $Id$ - -#if !defined (ACE_APP_H) -#define ACE_APP_H - -#if !defined (NC_ACE_NOTIRY) -#define NC_ACE_NOTIFY 2 -#define INC_ACE_LOGMSG 0 -#endif - -#endif /* ACE_APP_H */ - - - diff --git a/WindozeCE/README b/WindozeCE/README deleted file mode 100644 index 9d5d184e3db..00000000000 --- a/WindozeCE/README +++ /dev/null @@ -1,35 +0,0 @@ - CE specific files, may not run on 95/NT. - -What is this directory: - - This directory contains a collection of files for a template - windows program. It is written with Microsoft's MFC classes. - They also demonstrate a simple method to pass ACE_Log_Msg's - output to a window program with PostMessage. - -How to use this directory: - - I was planning to make this a DLL so that we can integrate CE - project files with the current Win32 project files. However, - the CE toolkit still seems very rudimentary and, certainly, I - am not familiar with it. - - To use these files, simply include all .cpp and .rc files in - your original text-based program. Compile them with "using - Shared MFC library" set (important.) - -Running the programs: - - Start the program. Key in command line parameters in the edit - box and tap on start button. The button displays "Running.." - when the program is executing and "Stopped" after the ACE - program has finished execution. - -Future works: - - * We need to allow scrollable output. - - * Make this a DLL? - - * Get the command line automatically. (This may need to - rewrite the program using native Win32 APIs.) diff --git a/WindozeCE/StdAfx.cpp b/WindozeCE/StdAfx.cpp deleted file mode 100644 index ee3447570e6..00000000000 --- a/WindozeCE/StdAfx.cpp +++ /dev/null @@ -1,7 +0,0 @@ -// $Id$ -// stdafx.cpp : source file that includes just the standard includes -// WindozeCE.pch will be the pre-compiled header -// stdafx.obj will contain the pre-compiled type information - -#include "stdafx.h" - diff --git a/WindozeCE/StdAfx.h b/WindozeCE/StdAfx.h deleted file mode 100644 index cb29f2a1b1f..00000000000 --- a/WindozeCE/StdAfx.h +++ /dev/null @@ -1,26 +0,0 @@ -// $Id$ -// stdafx.h : include file for standard system include files, -// or project specific include files that are used frequently, but -// are changed infrequently -// - -#if !defined(AFX_STDAFX_H__37544C6D_E3BC_11D1_968E_0040054CF0F0__INCLUDED_) -#define AFX_STDAFX_H__37544C6D_E3BC_11D1_968E_0040054CF0F0__INCLUDED_ - -#if _MSC_VER >= 1000 -#pragma once -#endif // _MSC_VER >= 1000 - -#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers - -#include <afxwin.h> // MFC core and standard components -#include <afxext.h> // MFC extensions -#ifndef _AFX_NO_AFXCMN_SUPPORT -#include <afxcmn.h> // MFC support for Windows Common Controls -#endif // _AFX_NO_AFXCMN_SUPPORT - - -//{{AFX_INSERT_LOCATION}} -// Microsoft Developer Studio will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_STDAFX_H__37544C6D_E3BC_11D1_968E_0040054CF0F0__INCLUDED_) diff --git a/WindozeCE/WindozeCE.aps b/WindozeCE/WindozeCE.aps Binary files differdeleted file mode 100644 index 0f2688cf3cd..00000000000 --- a/WindozeCE/WindozeCE.aps +++ /dev/null diff --git a/WindozeCE/WindozeCE.clw b/WindozeCE/WindozeCE.clw deleted file mode 100644 index eca2fb8b2d8..00000000000 --- a/WindozeCE/WindozeCE.clw +++ /dev/null @@ -1,41 +0,0 @@ -; CLW file contains information for the MFC ClassWizard
-
-[General Info]
-Version=1
-LastClass=CWindozeCEDlg
-LastTemplate=CDialog
-NewFileInclude1=#include "stdafx.h"
-NewFileInclude2=#include "WindozeCE.h"
-
-ClassCount=2
-Class1=CWindozeCEApp
-Class2=CWindozeCEDlg
-
-ResourceCount=3
-Resource2=IDR_MAINFRAME
-Resource3=IDD_WINDOZECE_DIALOG
-
-[CLS:CWindozeCEApp]
-Type=0
-HeaderFile=WindozeCE.h
-ImplementationFile=WindozeCE.cpp
-Filter=N
-
-[CLS:CWindozeCEDlg]
-Type=0
-HeaderFile=WindozeCEDlg.h
-ImplementationFile=WindozeCEDlg.cpp
-Filter=D
-BaseClass=CDialog
-VirtualFilter=dWC
-LastObject=IDC_RUN
-
-
-[DLG:IDD_WINDOZECE_DIALOG]
-Type=1
-Class=CWindozeCEDlg
-ControlCount=3
-Control1=IDC_PROGRAM_OUTPUT,edit,1352730692
-Control2=IDC_RUN,button,1342242817
-Control3=IDC_PROGRAM_ARGUMENTS,edit,1350631552
-
diff --git a/WindozeCE/WindozeCE.cpp b/WindozeCE/WindozeCE.cpp deleted file mode 100644 index a08128041f4..00000000000 --- a/WindozeCE/WindozeCE.cpp +++ /dev/null @@ -1,70 +0,0 @@ -// $Id$ -// WindozeCE.cpp : Defines the class behaviors for the application. -// - -#include "stdafx.h" -#include "WindozeCE.h" -#include "WindozeCEDlg.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -///////////////////////////////////////////////////////////////////////////// -// CWindozeCEApp - -BEGIN_MESSAGE_MAP(CWindozeCEApp, CWinApp) - //{{AFX_MSG_MAP(CWindozeCEApp) - // NOTE - the ClassWizard will add and remove mapping macros here. - // DO NOT EDIT what you see in these blocks of generated code! - //}}AFX_MSG -END_MESSAGE_MAP() - -///////////////////////////////////////////////////////////////////////////// -// CWindozeCEApp construction - -CWindozeCEApp::CWindozeCEApp(LPCTSTR lpszAppName) - : CWinApp(lpszAppName) -{ - // TODO: add construction code here, - // Place all significant initialization in InitInstance -} - -///////////////////////////////////////////////////////////////////////////// -// The one and only CWindozeCEApp object - -// WCE MFC apps require the application name to be specified in the CWinApp -// constructor. A help contents filename may also be specified. - -CWindozeCEApp theApp(_T("WindozeCE")); - -///////////////////////////////////////////////////////////////////////////// -// CWindozeCEApp initialization - -BOOL CWindozeCEApp::InitInstance() -{ - // Standard initialization - // If you are not using these features and wish to reduce the size - // of your final executable, you should remove from the following - // the specific initialization routines you do not need. - - CWindozeCEDlg dlg; - m_pMainWnd = &dlg; - int nResponse = dlg.DoModal(); - if (nResponse == IDOK) - { - // TODO: Place code here to handle when the dialog is - // dismissed with OK - } - else if (nResponse == IDCANCEL) - { - // TODO: Place code here to handle when the dialog is - // dismissed with Cancel - } - - // Since the dialog has been closed, return FALSE so that we exit the - // application, rather than start the application's message pump. - return FALSE; -} diff --git a/WindozeCE/WindozeCE.dsp b/WindozeCE/WindozeCE.dsp deleted file mode 100644 index 6212adfb4cb..00000000000 --- a/WindozeCE/WindozeCE.dsp +++ /dev/null @@ -1,377 +0,0 @@ -# Microsoft Developer Studio Project File - Name="WindozeCE" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 5.00
-# ** DO NOT EDIT **
-
-# TARGTYPE "Win32 (WCE x86em) Application" 0x0b01
-# TARGTYPE "Win32 (WCE MIPS) Application" 0x0a01
-# TARGTYPE "Win32 (WCE SH) Application" 0x0901
-
-CFG=WindozeCE - Win32 (WCE MIPS) Debug
-!MESSAGE This is not a valid makefile. To build this project using NMAKE,
-!MESSAGE use the Export Makefile command and run
-!MESSAGE
-!MESSAGE NMAKE /f "WindozeCE.mak".
-!MESSAGE
-!MESSAGE You can specify a configuration when running NMAKE
-!MESSAGE by defining the macro CFG on the command line. For example:
-!MESSAGE
-!MESSAGE NMAKE /f "WindozeCE.mak" CFG="WindozeCE - Win32 (WCE MIPS) Debug"
-!MESSAGE
-!MESSAGE Possible choices for configuration are:
-!MESSAGE
-!MESSAGE "WindozeCE - Win32 (WCE MIPS) Release" (based on\
- "Win32 (WCE MIPS) Application")
-!MESSAGE "WindozeCE - Win32 (WCE MIPS) Debug" (based on\
- "Win32 (WCE MIPS) Application")
-!MESSAGE "WindozeCE - Win32 (WCE x86em) Release" (based on\
- "Win32 (WCE x86em) Application")
-!MESSAGE "WindozeCE - Win32 (WCE x86em) Debug" (based on\
- "Win32 (WCE x86em) Application")
-!MESSAGE "WindozeCE - Win32 (WCE SH) Release" (based on\
- "Win32 (WCE SH) Application")
-!MESSAGE "WindozeCE - Win32 (WCE SH) Debug" (based on\
- "Win32 (WCE SH) Application")
-!MESSAGE
-
-# Begin Project
-# PROP Scc_ProjName ""
-# PROP Scc_LocalPath ""
-# PROP WCE_Configuration "H/PC Ver. 2.00"
-
-!IF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Release"
-
-# PROP BASE Use_MFC 2
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "WMIPSRel"
-# PROP BASE Intermediate_Dir "WMIPSRel"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "WMIPSRel"
-# PROP Intermediate_Dir "WMIPSRel"
-# PROP Target_Dir ""
-CPP=clmips.exe
-# ADD BASE CPP /nologo /MT /W3 /GX- /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "NDEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /QMRWCE /c
-# ADD CPP /nologo /MT /W3 /GX- /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "NDEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /QMRWCE /c
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /r /d "MIPS" /d "_MIPS_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "NDEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x409 /r /d "MIPS" /d "_MIPS_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "NDEBUG" /d "_AFXDLL"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /entry:"wWinMainCRTStartup" /machine:MIPS /subsystem:$(CESubsystem)
-# SUBTRACT BASE LINK32 /pdb:none /nodefaultlib
-# ADD LINK32 /nologo /entry:"wWinMainCRTStartup" /machine:MIPS /subsystem:$(CESubsystem)
-# SUBTRACT LINK32 /pdb:none /nodefaultlib
-PFILE=pfile.exe
-# ADD BASE PFILE COPY
-# ADD PFILE COPY
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Debug"
-
-# PROP BASE Use_MFC 2
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "WMIPSDbg"
-# PROP BASE Intermediate_Dir "WMIPSDbg"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "WMIPSDbg"
-# PROP Intermediate_Dir "WMIPSDbg"
-# PROP Target_Dir ""
-CPP=clmips.exe
-# ADD BASE CPP /nologo /MTd /W3 /GX- /Zi /Od /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /QMRWCE /c
-# ADD CPP /nologo /MTd /W3 /GX- /Zi /Od /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "DEBUG" /D "MIPS" /D "_MIPS_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /QMRWCE /c
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /r /d "MIPS" /d "_MIPS_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "DEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x409 /r /d "MIPS" /d "_MIPS_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "DEBUG" /d "_AFXDLL"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /entry:"wWinMainCRTStartup" /debug /machine:MIPS /subsystem:$(CESubsystem)
-# SUBTRACT BASE LINK32 /pdb:none /nodefaultlib
-# ADD LINK32 /nologo /entry:"wWinMainCRTStartup" /debug /machine:MIPS /subsystem:$(CESubsystem)
-# SUBTRACT LINK32 /pdb:none /nodefaultlib
-PFILE=pfile.exe
-# ADD BASE PFILE COPY
-# ADD PFILE COPY
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Release"
-
-# PROP BASE Use_MFC 2
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "x86emRel"
-# PROP BASE Intermediate_Dir "x86emRel"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "x86emRel"
-# PROP Intermediate_Dir "x86emRel"
-# PROP Target_Dir ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /MT /W3 /GX- /O2 /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "NDEBUG" /D "x86" /D "i486" /D "_x86_" /D "_AFXDLL" /Yu"stdafx.h" /c
-# ADD CPP /nologo /MT /W3 /GX- /O2 /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "NDEBUG" /D "x86" /D "i486" /D "_x86_" /D "_AFXDLL" /Yu"stdafx.h" /c
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "NDEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "NDEBUG" /d "_AFXDLL"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /machine:I386 /windowsce:emulation
-# ADD LINK32 /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /machine:I386 /windowsce:emulation
-EMPFILE=empfile.exe
-# ADD BASE EMPFILE -COPY
-# ADD EMPFILE -COPY
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Debug"
-
-# PROP BASE Use_MFC 2
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "x86emDbg"
-# PROP BASE Intermediate_Dir "x86emDbg"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "x86emDbg"
-# PROP Intermediate_Dir "x86emDbg"
-# PROP Target_Dir ""
-CPP=cl.exe
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX- /Zi /Od /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D "_AFXDLL" /Yu"stdafx.h" /c
-# ADD CPP /nologo /MTd /W3 /Gm /GX- /Zi /Od /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D "_AFXDLL" /Yu"stdafx.h" /c
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_" /d "_AFXDLL"
-# ADD RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_" /d "_AFXDLL"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /debug /machine:I386 /windowsce:emulation
-# ADD LINK32 /nologo /entry:"wWinMainCRTStartup" /subsystem:windows /debug /machine:I386 /windowsce:emulation
-EMPFILE=empfile.exe
-# ADD BASE EMPFILE -COPY
-# ADD EMPFILE -COPY
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Release"
-
-# PROP BASE Use_MFC 2
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "WCESHRel"
-# PROP BASE Intermediate_Dir "WCESHRel"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "WCESHRel"
-# PROP Intermediate_Dir "WCESHRel"
-# PROP Target_Dir ""
-CPP=shcl.exe
-# ADD BASE CPP /nologo /MT /W3 /GX- /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "NDEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /c
-# ADD CPP /nologo /MT /W3 /GX- /O2 /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "NDEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /c
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "NDEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "NDEBUG" /d "_AFXDLL"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /entry:"wWinMainCRTStartup" /machine:SH3 /subsystem:$(CESubsystem)
-# SUBTRACT BASE LINK32 /pdb:none /nodefaultlib
-# ADD LINK32 /nologo /entry:"wWinMainCRTStartup" /machine:SH3 /subsystem:$(CESubsystem)
-# SUBTRACT LINK32 /pdb:none /nodefaultlib
-PFILE=pfile.exe
-# ADD BASE PFILE COPY
-# ADD PFILE COPY
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Debug"
-
-# PROP BASE Use_MFC 2
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "WCESHDbg"
-# PROP BASE Intermediate_Dir "WCESHDbg"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "WCESHDbg"
-# PROP Intermediate_Dir "WCESHDbg"
-# PROP Target_Dir ""
-CPP=shcl.exe
-# ADD BASE CPP /nologo /MTd /W3 /GX- /Zi /Od /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /c
-# ADD CPP /nologo /MTd /W3 /GX- /Zi /Od /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "DEBUG" /D "SHx" /D "SH3" /D "_SH3_" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_AFXDLL" /Yu"stdafx.h" /c
-RSC=rc.exe
-# ADD BASE RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "DEBUG" /d "_AFXDLL"
-# ADD RSC /l 0x409 /r /d "SHx" /d "SH3" /d "_SH3_" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "UNICODE" /d "DEBUG" /d "_AFXDLL"
-MTL=midl.exe
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 /nologo /entry:"wWinMainCRTStartup" /debug /machine:SH3 /subsystem:$(CESubsystem)
-# SUBTRACT BASE LINK32 /pdb:none /nodefaultlib
-# ADD LINK32 /nologo /entry:"wWinMainCRTStartup" /debug /machine:SH3 /subsystem:$(CESubsystem)
-# SUBTRACT LINK32 /pdb:none /nodefaultlib
-PFILE=pfile.exe
-# ADD BASE PFILE COPY
-# ADD PFILE COPY
-
-!ENDIF
-
-# Begin Target
-
-# Name "WindozeCE - Win32 (WCE MIPS) Release"
-# Name "WindozeCE - Win32 (WCE MIPS) Debug"
-# Name "WindozeCE - Win32 (WCE x86em) Release"
-# Name "WindozeCE - Win32 (WCE x86em) Debug"
-# Name "WindozeCE - Win32 (WCE SH) Release"
-# Name "WindozeCE - Win32 (WCE SH) Debug"
-# Begin Group "Source Files"
-
-# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-# Begin Source File
-
-SOURCE=.\StdAfx.cpp
-
-!IF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Release"
-
-# ADD CPP /Yc"stdafx.h"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Debug"
-
-# ADD CPP /Yc"stdafx.h"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Release"
-
-# ADD CPP /Yc"stdafx.h"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Debug"
-
-# ADD CPP /Yc"stdafx.h"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Release"
-
-# ADD CPP /Yc"stdafx.h"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Debug"
-
-# ADD CPP /Yc"stdafx.h"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\WindozeCE.cpp
-
-!IF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Debug"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Debug"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Debug"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\WindozeCE.rc
-
-!IF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Debug"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Debug"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Debug"
-
-!ENDIF
-
-# End Source File
-# Begin Source File
-
-SOURCE=.\WindozeCEDlg.cpp
-
-!IF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE MIPS) Debug"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE x86em) Debug"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Release"
-
-!ELSEIF "$(CFG)" == "WindozeCE - Win32 (WCE SH) Debug"
-
-!ENDIF
-
-# End Source File
-# End Group
-# Begin Group "Header Files"
-
-# PROP Default_Filter "h;hpp;hxx;hm;inl"
-# Begin Source File
-
-SOURCE=.\Resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\StdAfx.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\WindozeCE.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\WindozeCEDlg.h
-# End Source File
-# End Group
-# Begin Group "Resource Files"
-
-# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe"
-# Begin Source File
-
-SOURCE=.\res\WindozeCE.ico
-# End Source File
-# Begin Source File
-
-SOURCE=.\res\WindozeCE.rc2
-# PROP Exclude_From_Scan -1
-# PROP BASE Exclude_From_Build 1
-# PROP Exclude_From_Build 1
-# End Source File
-# End Group
-# Begin Source File
-
-SOURCE=.\ReadMe.txt
-# End Source File
-# End Target
-# End Project
diff --git a/WindozeCE/WindozeCE.h b/WindozeCE/WindozeCE.h deleted file mode 100644 index 0252c250b3e..00000000000 --- a/WindozeCE/WindozeCE.h +++ /dev/null @@ -1,50 +0,0 @@ -// $Id$ -// WindozeCE.h : main header file for the WINDOZECE application -// - -#if !defined(AFX_WINDOZECE_H__37544C69_E3BC_11D1_968E_0040054CF0F0__INCLUDED_) -#define AFX_WINDOZECE_H__37544C69_E3BC_11D1_968E_0040054CF0F0__INCLUDED_ - -#if _MSC_VER >= 1000 -#pragma once -#endif // _MSC_VER >= 1000 - -#ifndef __AFXWIN_H__ - #error include 'stdafx.h' before including this file for PCH -#endif - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CWindozeCEApp: -// See WindozeCE.cpp for the implementation of this class -// - -class CWindozeCEApp : public CWinApp -{ -public: - CWindozeCEApp(LPCTSTR lpszAppName); - -// Overrides - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CWindozeCEApp) - public: - virtual BOOL InitInstance(); - //}}AFX_VIRTUAL - -// Implementation - - //{{AFX_MSG(CWindozeCEApp) - // NOTE - the ClassWizard will add and remove member functions here. - // DO NOT EDIT what you see in these blocks of generated code ! - //}}AFX_MSG - DECLARE_MESSAGE_MAP() -}; - - -///////////////////////////////////////////////////////////////////////////// - -//{{AFX_INSERT_LOCATION}} -// Microsoft Developer Studio will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_WINDOZECE_H__37544C69_E3BC_11D1_968E_0040054CF0F0__INCLUDED_) diff --git a/WindozeCE/WindozeCE.plg b/WindozeCE/WindozeCE.plg deleted file mode 100644 index 5eec2c4acbd..00000000000 --- a/WindozeCE/WindozeCE.plg +++ /dev/null @@ -1,18 +0,0 @@ ---------------------Configuration: WindozeCE - Win32 (WCE x86em) Debug--------------------
-Begining build with project "C:\Nanbor\WinCE\WindozeCE\WindozeCE.dsp", at root.
-Active configuration is Win32 (WCE x86em) Application (based on Win32 (WCE x86em) Application)
-
-Project's tools are:
- "32-bit C/C++ Compiler for 80x86em" with flags "/nologo /MTd /W3 /Gm /Zi /Od /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "WIN32" /D "STRICT" /D _WIN32_WCE=$(CEVersion) /D "$(CEConfigName)" /D "_WIN32_WCE_EMULATION" /D "INTERNATIONAL" /D "USA" /D "INTLMSG_CODEPAGE" /D "_DEBUG" /D "x86" /D "i486" /D "_x86_" /D "_AFXDLL" /Fp"x86emDbg/WindozeCE.pch" /Yu"stdafx.h" /Fo"x86emDbg/" /Fd"x86emDbg/" /c "
- "Win32 Resource Compiler" with flags "/l 0x409 /fo"x86emDbg/WindozeCE.res" /d UNDER_CE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "WIN32" /d "STRICT" /d _WIN32_WCE=$(CEVersion) /d "$(CEConfigName)" /d "_WIN32_WCE_EMULATION" /d "INTERNATIONAL" /d "USA" /d "INTLMSG_CODEPAGE" /d "_DEBUG" /d "x86" /d "i486" /d "_x86_" /d "_AFXDLL" "
- "OLE Type Library Maker" with flags "/nologo /D "_DEBUG" /mktyplib203 /o NUL /win32 "
- "Browser Database Maker" with flags "/nologo /o"x86emDbg/WindozeCE.bsc" "
- "COFF Linker for 80x86em" with flags "/nologo /entry:"wWinMainCRTStartup" /subsystem:windows /incremental:yes /pdb:"x86emDbg/WindozeCE.pdb" /debug /machine:I386 /out:"x86emDbg/WindozeCE.exe" /windowsce:emulation "
- "Empfile Utility" with flags "-COPY "
- "Custom Build" with flags ""
- "<Component 0xa>" with flags ""
-
-
-
-
-WindozeCE.exe - 0 error(s), 0 warning(s)
diff --git a/WindozeCE/WindozeCE.rc b/WindozeCE/WindozeCE.rc deleted file mode 100644 index ff78591cb9c..00000000000 --- a/WindozeCE/WindozeCE.rc +++ /dev/null @@ -1,176 +0,0 @@ -//Microsoft Developer Studio generated resource script. -// -#include "resource.h" - -#define APSTUDIO_READONLY_SYMBOLS -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 2 resource. -// -#include "afxres.h" - -///////////////////////////////////////////////////////////////////////////// -#undef APSTUDIO_READONLY_SYMBOLS - -///////////////////////////////////////////////////////////////////////////// -// English (U.S.) resources - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US -#pragma code_page(1252) -#endif //_WIN32 - -#ifdef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// TEXTINCLUDE -// - -1 TEXTINCLUDE DISCARDABLE -BEGIN - "resource.h\0" -END - -2 TEXTINCLUDE DISCARDABLE -BEGIN - "#include ""afxres.h""\r\n" - "\0" -END - -3 TEXTINCLUDE DISCARDABLE -BEGIN - "#define _AFX_NO_SPLITTER_RESOURCES\r\n" - "#define _AFX_NO_OLE_RESOURCES\r\n" - "#define _AFX_NO_TRACKER_RESOURCES\r\n" - "#define _AFX_NO_PROPERTY_RESOURCES\r\n" - "\r\n" - "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n" - "#ifdef _WIN32\r\n" - "LANGUAGE 9, 1\r\n" - "#pragma code_page(1252)\r\n" - "#endif\r\n" - "#include ""res\\WindozeCE.rc2"" // non-Microsoft Visual C++ edited resources\r\n" - "#include ""afxres.rc"" // Standard components\r\n" - "#include ""wceres.rc"" // WCE-specific components\r\n" - "#endif\0" -END - -#endif // APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDR_MAINFRAME ICON DISCARDABLE "res\\WindozeCE.ico" - -///////////////////////////////////////////////////////////////////////////// -// -// Dialog -// - -IDD_WINDOZECE_DIALOG DIALOGEX 0, 0, 285, 111 -STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -EXSTYLE WS_EX_APPWINDOW | WS_EX_CAPTIONOKBTN -CAPTION "WindozeCE" -FONT 8, "Tahoma" -BEGIN - EDITTEXT IDC_PROGRAM_OUTPUT,7,7,271,79,ES_MULTILINE | - ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL - DEFPUSHBUTTON "Run",IDC_RUN,7,90,50,14 - EDITTEXT IDC_PROGRAM_ARGUMENTS,61,90,217,14,ES_AUTOHSCROLL -END - - -#ifndef _MAC -///////////////////////////////////////////////////////////////////////////// -// -// Version -// - -VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,0,0,1 - PRODUCTVERSION 1,0,0,1 - FILEFLAGSMASK 0x3fL -#ifdef _DEBUG - FILEFLAGS 0x1L -#else - FILEFLAGS 0x0L -#endif - FILEOS 0x4L - FILETYPE 0x1L - FILESUBTYPE 0x0L -BEGIN - BLOCK "StringFileInfo" - BEGIN - BLOCK "040904B0" - BEGIN - VALUE "CompanyName", "\0" - VALUE "FileDescription", "WindozeCE WCE MFC Application\0" - VALUE "FileVersion", "1, 0, 0, 1\0" - VALUE "InternalName", "WindozeCE\0" - VALUE "LegalCopyright", "Copyright (C) 1998\0" - VALUE "LegalTrademarks", "\0" - VALUE "OriginalFilename", "WindozeCE.EXE\0" - VALUE "ProductName", "WindozeCE Application\0" - VALUE "ProductVersion", "1, 0, 0, 1\0" - END - END - BLOCK "VarFileInfo" - BEGIN - VALUE "Translation", 0x409, 1200 - END -END - -#endif // !_MAC - - -///////////////////////////////////////////////////////////////////////////// -// -// DESIGNINFO -// - -#ifdef APSTUDIO_INVOKED -GUIDELINES DESIGNINFO DISCARDABLE -BEGIN - IDD_WINDOZECE_DIALOG, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 278 - TOPMARGIN, 7 - BOTTOMMARGIN, 104 - END -END -#endif // APSTUDIO_INVOKED - -#endif // English (U.S.) resources -///////////////////////////////////////////////////////////////////////////// - - - -#ifndef APSTUDIO_INVOKED -///////////////////////////////////////////////////////////////////////////// -// -// Generated from the TEXTINCLUDE 3 resource. -// -#define _AFX_NO_SPLITTER_RESOURCES -#define _AFX_NO_OLE_RESOURCES -#define _AFX_NO_TRACKER_RESOURCES -#define _AFX_NO_PROPERTY_RESOURCES - -#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) -#ifdef _WIN32 -LANGUAGE 9, 1 -#pragma code_page(1252) -#endif -#include "res\WindozeCE.rc2" // non-Microsoft Visual C++ edited resources -#include "afxres.rc" // Standard components -#include "wceres.rc" // WCE-specific components -#endif -///////////////////////////////////////////////////////////////////////////// -#endif // not APSTUDIO_INVOKED - diff --git a/WindozeCE/WindozeCEDlg.cpp b/WindozeCE/WindozeCEDlg.cpp deleted file mode 100644 index 63489881d79..00000000000 --- a/WindozeCE/WindozeCEDlg.cpp +++ /dev/null @@ -1,156 +0,0 @@ -// $Id$ -// WindozeCEDlg.cpp : implementation file -// - -#include "stdafx.h" -#include "WindozeCE.h" -#include "WindozeCEDlg.h" -#include "ace/ARGV.h" -#include "ACEApp.h" - -#ifdef _DEBUG -#define new DEBUG_NEW -#undef THIS_FILE -static char THIS_FILE[] = __FILE__; -#endif - -static CWnd *host_window_ = 0; - -UINT worker (void * arg) -{ - ACE_ARGV cmd_line ((TCHAR *) arg); - extern int ace_ce_main (int, ASYS_TCHAR *[]); - - int retv = ace_ce_main (cmd_line.argc (), cmd_line.argv ()); - host_window_->SetDlgItemText (IDC_RUN, TEXT ("Stopped")); - - return retv; - - // Sleep (500); - // for (size_t i = 0; i < cmd_line.argc (); i++, Sleep (500)) - // ACE_DEBUG ((LM_DEBUG, TEXT ("The %d command arg is \"%s\""), - // i, cmd_line.argv ()[i])); - - // return 0; - // CString *msg = 0; - // while (1) - // { - // Sleep (500); - // msg = new CString; - // SYSTEMTIME curtime; - // GetLocalTime (&curtime); - // msg->Format (TEXT ("Time: %02d:%02d:%02d.%03d"), curtime.wHour, - // curtime.wMinute, curtime.wSecond, - // curtime.wMilliseconds); - // ACE_DEBUG ((LM_DEBUG, TEXT ("(%P|%t) Test logging: %s\n"), *msg)); - // delete msg; - // } - // return 0; -} - - -///////////////////////////////////////////////////////////////////////////// -// CWindozeCEDlg dialog - -CWindozeCEDlg::CWindozeCEDlg(CWnd* pParent /*=NULL*/) - : CDialog(CWindozeCEDlg::IDD, pParent) -{ - //{{AFX_DATA_INIT(CWindozeCEDlg) - // NOTE: the ClassWizard will add member initialization here - //}}AFX_DATA_INIT - // Note that LoadIcon does not require a subsequent DestroyIcon in Win32 - m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME); -} - -void CWindozeCEDlg::DoDataExchange(CDataExchange* pDX) -{ - CDialog::DoDataExchange(pDX); - //{{AFX_DATA_MAP(CWindozeCEDlg) - // NOTE: the ClassWizard will add DDX and DDV calls here - //}}AFX_DATA_MAP -} - -BEGIN_MESSAGE_MAP(CWindozeCEDlg, CDialog) - //{{AFX_MSG_MAP(CWindozeCEDlg) - ON_WM_TIMER() - ON_BN_CLICKED(IDC_RUN, OnStart) - //}}AFX_MSG_MAP - END_MESSAGE_MAP() - - ///////////////////////////////////////////////////////////////////////////// - // CWindozeCEDlg message handlers - - BOOL CWindozeCEDlg::OnInitDialog() -{ - CDialog::OnInitDialog(); - - // Set the icon for this dialog. The framework does this automatically - // when the application's main window is not a dialog - SetIcon(m_hIcon, TRUE); // Set big icon - SetIcon(m_hIcon, FALSE); // Set small icon - - this->SetDlgItemText (IDC_PROGRAM_OUTPUT, - TEXT ("Fill in the command line arguments you want to pass to the program below:")); - CenterWindow(GetDesktopWindow()); // center to the hpc screen - - this->ace.set_window (this, NC_ACE_NOTIFY, INC_ACE_LOGMSG); - this->ace.set_self_default (); - host_window_ = this; - return TRUE; // return TRUE unless you set the focus to a control -} - -BOOL CWindozeCEDlg::OnCommand(WPARAM wParam, LPARAM lParam) -{ - static BOOL got_cmd = FALSE; - int notify = HIBYTE (wParam); - int id = LOBYTE (wParam); - - if (notify == NC_ACE_NOTIFY && id == INC_ACE_LOGMSG) - { - CString *msg = (CString *) lParam ; - LPTSTR head = (LPTSTR) ((LPCTSTR) *msg); - CString newbuf; - - LPTSTR newline; - - while ((newline = ACE_OS::strchr (head, '\n')) != NULL) - { - *newline = 0; - newbuf += head; - newbuf += "\r\n"; - head = newline+1; - } - - newbuf += head; - - CEdit *editor = (CEdit *) GetDlgItem (IDC_PROGRAM_OUTPUT); - editor -> ReplaceSel (newbuf); - - delete msg; - return TRUE; - } - return CDialog::OnCommand(wParam, lParam); -} - -void CWindozeCEDlg::OnTimer(UINT nIDEvent) -{ - // CWnd *text = this->GetDlgItem (IDC_TEXT_DISP); - // text->ModifyStyle (WS_VISIBLE, SS_CENTER, 0); - // this->UpdateWindow (); - - CDialog::OnTimer(nIDEvent); -} - -void CWindozeCEDlg::OnStart() -{ - static BOOL once = FALSE; - - if (! once) - { - CString cmdline; - this->GetDlgItemText (IDC_PROGRAM_ARGUMENTS, cmdline); - AfxBeginThread (worker, (void *) (LPCTSTR) cmdline); - this->SetDlgItemText (IDC_RUN, TEXT ("Running...")); - once = TRUE; - } -} diff --git a/WindozeCE/WindozeCEDlg.h b/WindozeCE/WindozeCEDlg.h deleted file mode 100644 index d141e218117..00000000000 --- a/WindozeCE/WindozeCEDlg.h +++ /dev/null @@ -1,54 +0,0 @@ -// $Id$ -// WindozeCEDlg.h : header file -// - -#include "ace/OS.h" - -#if !defined(AFX_WINDOZECEDLG_H__37544C6B_E3BC_11D1_968E_0040054CF0F0__INCLUDED_) -#define AFX_WINDOZECEDLG_H__37544C6B_E3BC_11D1_968E_0040054CF0F0__INCLUDED_ - -#if _MSC_VER >= 1000 -#pragma once -#endif // _MSC_VER >= 1000 - -///////////////////////////////////////////////////////////////////////////// -// CWindozeCEDlg dialog - -class CWindozeCEDlg : public CDialog -{ - // Construction -public: - CWindozeCEDlg(CWnd* pParent = NULL); // standard constructor - - // Dialog Data - //{{AFX_DATA(CWindozeCEDlg) - enum { IDD = IDD_WINDOZECE_DIALOG }; - // NOTE: the ClassWizard will add data members here - //}}AFX_DATA - - // ClassWizard generated virtual function overrides - //{{AFX_VIRTUAL(CWindozeCEDlg) -protected: - virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support - virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); - //}}AFX_VIRTUAL - -// Implementation -protected: - HICON m_hIcon; - - ACE_CE_Bridge ace; - - // Generated message map functions - //{{AFX_MSG(CWindozeCEDlg) - virtual BOOL OnInitDialog(); - afx_msg void OnTimer(UINT nIDEvent); - afx_msg void OnStart(); - //}}AFX_MSG - DECLARE_MESSAGE_MAP() - }; - -//{{AFX_INSERT_LOCATION}} -// Microsoft Developer Studio will insert additional declarations immediately before the previous line. - -#endif // !defined(AFX_WINDOZECEDLG_H__37544C6B_E3BC_11D1_968E_0040054CF0F0__INCLUDED_) diff --git a/WindozeCE/res/WindozeCE.ico b/WindozeCE/res/WindozeCE.ico Binary files differdeleted file mode 100644 index b9204c1c06d..00000000000 --- a/WindozeCE/res/WindozeCE.ico +++ /dev/null diff --git a/WindozeCE/res/WindozeCE.rc2 b/WindozeCE/res/WindozeCE.rc2 deleted file mode 100644 index 65f376ac843..00000000000 --- a/WindozeCE/res/WindozeCE.rc2 +++ /dev/null @@ -1,13 +0,0 @@ -// $Id$ -// WindozeCE.RC2 - resources Microsoft Visual C++ does not edit directly -// - -#ifdef APSTUDIO_INVOKED - #error this file is not editable by Microsoft Visual C++ -#endif //APSTUDIO_INVOKED - - -///////////////////////////////////////////////////////////////////////////// -// Add manually edited resources here... - -///////////////////////////////////////////////////////////////////////////// diff --git a/WindozeCE/resource.h b/WindozeCE/resource.h deleted file mode 100644 index 174cf16aba9..00000000000 --- a/WindozeCE/resource.h +++ /dev/null @@ -1,21 +0,0 @@ -// $Id$ -//{{NO_DEPENDENCIES}} -// Microsoft Developer Studio generated include file. -// Used by WindozeCE.rc -// -#define IDD_WINDOZECE_DIALOG 102 -#define IDR_MAINFRAME 128 -#define IDC_PROGRAM_OUTPUT 1001 -#define IDC_RUN 1003 -#define IDC_PROGRAM_ARGUMENTS 1004 - -// Next default values for new objects -// -#ifdef APSTUDIO_INVOKED -#ifndef APSTUDIO_READONLY_SYMBOLS -#define _APS_NEXT_RESOURCE_VALUE 129 -#define _APS_NEXT_COMMAND_VALUE 32771 -#define _APS_NEXT_CONTROL_VALUE 1005 -#define _APS_NEXT_SYMED_VALUE 101 -#endif -#endif |