зеркало из https://github.com/mozilla/pjs.git
xptcall windows ce tests for arm. submitted by john wolfe <wolfe@lobo.us>
This commit is contained in:
Родитель
79e3d323c9
Коммит
3f03338c64
|
@ -0,0 +1,64 @@
|
|||
#
|
||||
# ***** BEGIN LICENSE BLOCK *****
|
||||
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
#
|
||||
# The contents of this file are subject to the Mozilla Public License Version
|
||||
# 1.1 (the "License"); you may not use this file except in compliance with
|
||||
# the License. You may obtain a copy of the License at
|
||||
# http://www.mozilla.org/MPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS IS" basis,
|
||||
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
# for the specific language governing rights and limitations under the
|
||||
# License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is
|
||||
# Netscape Communications Corporation.
|
||||
# Portions created by the Initial Developer are Copyright (C) 1998
|
||||
# the Initial Developer. All Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
#
|
||||
# Alternatively, the contents of this file may be used under the terms of
|
||||
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
# in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
# of those above. If you wish to allow use of your version of this file only
|
||||
# under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
# use your version of this file under the terms of the MPL, indicate your
|
||||
# decision by deleting the provisions above and replace them with the notice
|
||||
# and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
# the provisions above, a recipient may use your version of this file under
|
||||
# the terms of any one of the MPL, the GPL or the LGPL.
|
||||
#
|
||||
# ***** END LICENSE BLOCK *****
|
||||
|
||||
DEPTH = ../../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE = TestXPTC
|
||||
SIMPLE_PROGRAMS = TestXPTCInvoke$(BIN_SUFFIX)
|
||||
REQUIRES = xpcom \
|
||||
$(NULL)
|
||||
|
||||
CPPSRCS = TestXPTCInvoke.cpp
|
||||
|
||||
LIBS = \
|
||||
$(XPCOM_LIBS) \
|
||||
$(NSPR_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# For _write().
|
||||
ifeq ($(OS_ARCH),BSD_OS)
|
||||
OS_LIBS += -lgcc
|
||||
endif
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
// stdafx.cpp : source file that includes just the standard includes
|
||||
// XPTCInvoke_Testing.pch will be the pre-compiled header
|
||||
// stdafx.obj will contain the pre-compiled type information
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
// TODO: reference any additional headers you need in STDAFX.H
|
||||
// and not in this file
|
|
@ -0,0 +1,31 @@
|
|||
// 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__B8B182B3_2D2B_404C_A7E2_C8FAED541358__INCLUDED_)
|
||||
#define AFX_STDAFX_H__B8B182B3_2D2B_404C_A7E2_C8FAED541358__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#if (_WIN32_WCE <= 211)
|
||||
#error This project can not be built for H/PC Pro 2.11 or earlier platforms.
|
||||
#endif
|
||||
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
#endif
|
||||
|
||||
// Windows Header Files:
|
||||
#include <windows.h>
|
||||
|
||||
// Local Header Files
|
||||
|
||||
// TODO: reference additional headers your program requires here
|
||||
|
||||
//{{AFX_INSERT_LOCATION}}
|
||||
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
|
||||
|
||||
#endif // !defined(AFX_STDAFX_H__B8B182B3_2D2B_404C_A7E2_C8FAED541358__INCLUDED_)
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,325 @@
|
|||
// XPTCInvoke_Testing.cpp : Defines the entry point for the application.
|
||||
//
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "XPTCInvoke_Testing.h"
|
||||
#include <commctrl.h>
|
||||
#include <aygshell.h>
|
||||
#include <sipapi.h>
|
||||
|
||||
#define MAX_LOADSTRING 100
|
||||
|
||||
// Global Variables:
|
||||
HINSTANCE g_hInst; // The current instance
|
||||
HWND g_hwndCB; // The command bar handle
|
||||
|
||||
static SHACTIVATEINFO s_sai;
|
||||
|
||||
// Forward declarations of functions included in this code module:
|
||||
ATOM MyRegisterClass (HINSTANCE, LPTSTR);
|
||||
BOOL InitInstance (HINSTANCE, int);
|
||||
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);
|
||||
LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM);
|
||||
HWND CreateRpCommandBar(HWND);
|
||||
|
||||
|
||||
VOID
|
||||
WINAPI
|
||||
OutputDebugStringW(
|
||||
LPCWSTR lpOutputString
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
int main();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int WINAPI WinMain( HINSTANCE hInstance,
|
||||
HINSTANCE hPrevInstance,
|
||||
LPTSTR lpCmdLine,
|
||||
int nCmdShow)
|
||||
{
|
||||
MSG msg;
|
||||
HACCEL hAccelTable;
|
||||
|
||||
// Perform application initialization:
|
||||
if (!InitInstance (hInstance, nCmdShow))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
hAccelTable = LoadAccelerators(hInstance, (LPCTSTR)IDC_XPTCINVOKE_TESTING);
|
||||
|
||||
// Main message loop:
|
||||
while (GetMessage(&msg, NULL, 0, 0))
|
||||
{
|
||||
if (!TranslateAccelerator(msg.hwnd, hAccelTable, &msg))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
}
|
||||
|
||||
return msg.wParam;
|
||||
}
|
||||
|
||||
//
|
||||
// FUNCTION: MyRegisterClass()
|
||||
//
|
||||
// PURPOSE: Registers the window class.
|
||||
//
|
||||
// COMMENTS:
|
||||
//
|
||||
// It is important to call this function so that the application
|
||||
// will get 'well formed' small icons associated with it.
|
||||
//
|
||||
ATOM MyRegisterClass(HINSTANCE hInstance, LPTSTR szWindowClass)
|
||||
{
|
||||
WNDCLASS wc;
|
||||
|
||||
wc.style = CS_HREDRAW | CS_VREDRAW;
|
||||
wc.lpfnWndProc = (WNDPROC) WndProc;
|
||||
wc.cbClsExtra = 0;
|
||||
wc.cbWndExtra = 0;
|
||||
wc.hInstance = hInstance;
|
||||
wc.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_XPTCINVOKE_TESTING));
|
||||
wc.hCursor = 0;
|
||||
wc.hbrBackground = (HBRUSH) GetStockObject(WHITE_BRUSH);
|
||||
wc.lpszMenuName = 0;
|
||||
wc.lpszClassName = szWindowClass;
|
||||
|
||||
return RegisterClass(&wc);
|
||||
}
|
||||
|
||||
//
|
||||
// FUNCTION: InitInstance(HANDLE, int)
|
||||
//
|
||||
// PURPOSE: Saves instance handle and creates main window
|
||||
//
|
||||
// COMMENTS:
|
||||
//
|
||||
// In this function, we save the instance handle in a global variable and
|
||||
// create and display the main program window.
|
||||
//
|
||||
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||
{
|
||||
HWND hWnd = NULL;
|
||||
TCHAR szTitle[MAX_LOADSTRING]; // The title bar text
|
||||
TCHAR szWindowClass[MAX_LOADSTRING]; // The window class name
|
||||
|
||||
g_hInst = hInstance; // Store instance handle in our global variable
|
||||
// Initialize global strings
|
||||
LoadString(hInstance, IDC_XPTCINVOKE_TESTING, szWindowClass, MAX_LOADSTRING);
|
||||
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
|
||||
|
||||
//If it is already running, then focus on the window
|
||||
hWnd = FindWindow(szWindowClass, szTitle);
|
||||
if (hWnd)
|
||||
{
|
||||
// set focus to foremost child window
|
||||
// The "| 0x01" is used to bring any owned windows to the foreground and
|
||||
// activate them.
|
||||
SetForegroundWindow((HWND)((ULONG) hWnd | 0x00000001));
|
||||
return 0;
|
||||
}
|
||||
|
||||
MyRegisterClass(hInstance, szWindowClass);
|
||||
|
||||
hWnd = CreateWindow(szWindowClass, szTitle, WS_VISIBLE,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, NULL, hInstance, NULL);
|
||||
if (!hWnd)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
//When the main window is created using CW_USEDEFAULT the height of the menubar (if one
|
||||
// is created is not taken into account). So we resize the window after creating it
|
||||
// if a menubar is present
|
||||
if (g_hwndCB)
|
||||
{
|
||||
RECT rc;
|
||||
RECT rcMenuBar;
|
||||
|
||||
GetWindowRect(hWnd, &rc);
|
||||
GetWindowRect(g_hwndCB, &rcMenuBar);
|
||||
rc.bottom -= (rcMenuBar.bottom - rcMenuBar.top);
|
||||
|
||||
MoveWindow(hWnd, rc.left, rc.top, rc.right-rc.left, rc.bottom-rc.top, FALSE);
|
||||
}
|
||||
|
||||
|
||||
ShowWindow(hWnd, nCmdShow);
|
||||
UpdateWindow(hWnd);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
//
|
||||
// FUNCTION: WndProc(HWND, unsigned, WORD, LONG)
|
||||
//
|
||||
// PURPOSE: Processes messages for the main window.
|
||||
//
|
||||
// WM_COMMAND - process the application menu
|
||||
// WM_PAINT - Paint the main window
|
||||
// WM_DESTROY - post a quit message and return
|
||||
//
|
||||
//
|
||||
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
HDC hdc;
|
||||
int wmId, wmEvent;
|
||||
PAINTSTRUCT ps;
|
||||
TCHAR szHello[MAX_LOADSTRING];
|
||||
|
||||
TCHAR szMsgDbg[1000];
|
||||
|
||||
wsprintf(szMsgDbg, TEXT("rcvd msg #%d (0x%04X)\n"), message, message);
|
||||
OutputDebugStringW(szMsgDbg);
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_COMMAND:
|
||||
wmId = LOWORD(wParam);
|
||||
wmEvent = HIWORD(wParam);
|
||||
// Parse the menu selections:
|
||||
switch (wmId)
|
||||
{
|
||||
case IDM_HELP_ABOUT:
|
||||
DialogBox(g_hInst, (LPCTSTR)IDD_ABOUTBOX, hWnd, (DLGPROC)About);
|
||||
break;
|
||||
case IDM_TEST:
|
||||
main();
|
||||
break;
|
||||
case IDOK:
|
||||
SendMessage (hWnd, WM_CLOSE, 0, 0);
|
||||
break;
|
||||
default:
|
||||
return DefWindowProc(hWnd, message, wParam, lParam);
|
||||
}
|
||||
break;
|
||||
case WM_KILLFOCUS:
|
||||
SendMessage (hWnd, WM_CLOSE, 0, 0);
|
||||
break;
|
||||
case WM_CREATE:
|
||||
g_hwndCB = CreateRpCommandBar(hWnd);
|
||||
// Initialize the shell activate info structure
|
||||
memset (&s_sai, 0, sizeof (s_sai));
|
||||
s_sai.cbSize = sizeof (s_sai);
|
||||
break;
|
||||
case WM_PAINT:
|
||||
RECT rt;
|
||||
hdc = BeginPaint(hWnd, &ps);
|
||||
GetClientRect(hWnd, &rt);
|
||||
LoadString(g_hInst, IDS_HELLO, szHello, MAX_LOADSTRING);
|
||||
DrawText(hdc, szHello, _tcslen(szHello), &rt,
|
||||
DT_SINGLELINE | DT_VCENTER | DT_CENTER);
|
||||
EndPaint(hWnd, &ps);
|
||||
break;
|
||||
case WM_DESTROY:
|
||||
CommandBar_Destroy(g_hwndCB);
|
||||
PostQuitMessage(0);
|
||||
break;
|
||||
case WM_CLOSE:
|
||||
DestroyWindow(hWnd);
|
||||
break;
|
||||
case WM_ACTIVATE:
|
||||
// Notify shell of our activate message
|
||||
SHHandleWMActivate(hWnd, wParam, lParam, &s_sai, FALSE);
|
||||
break;
|
||||
case WM_SETTINGCHANGE:
|
||||
SHHandleWMSettingChange(hWnd, wParam, lParam, &s_sai);
|
||||
break;
|
||||
default:
|
||||
return DefWindowProc(hWnd, message, wParam, lParam);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
HWND CreateRpCommandBar(HWND hwnd)
|
||||
{
|
||||
SHMENUBARINFO mbi;
|
||||
|
||||
memset(&mbi, 0, sizeof(SHMENUBARINFO));
|
||||
mbi.cbSize = sizeof(SHMENUBARINFO);
|
||||
mbi.hwndParent = hwnd;
|
||||
mbi.nToolBarId = IDM_MENU;
|
||||
mbi.hInstRes = g_hInst;
|
||||
mbi.nBmpId = 0;
|
||||
mbi.cBmpImages = 0;
|
||||
|
||||
if (!SHCreateMenuBar(&mbi))
|
||||
return NULL;
|
||||
|
||||
return mbi.hwndMB;
|
||||
}
|
||||
|
||||
// Mesage handler for the About box.
|
||||
LRESULT CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
SHINITDLGINFO shidi;
|
||||
|
||||
switch (message)
|
||||
{
|
||||
case WM_INITDIALOG:
|
||||
// Create a Done button and size it.
|
||||
shidi.dwMask = SHIDIM_FLAGS;
|
||||
shidi.dwFlags = SHIDIF_DONEBUTTON | SHIDIF_SIPDOWN | SHIDIF_SIZEDLGFULLSCREEN;
|
||||
shidi.hDlg = hDlg;
|
||||
SHInitDialog(&shidi);
|
||||
return TRUE;
|
||||
|
||||
case WM_COMMAND:
|
||||
if (LOWORD(wParam) == IDOK)
|
||||
{
|
||||
EndDialog(hDlg, LOWORD(wParam));
|
||||
return TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define MAX_CHARS_IN_VARIABLE_STRING 5120
|
||||
|
||||
|
||||
|
||||
void MyOutputFunction(const char *str, ...)
|
||||
{
|
||||
char buf[MAX_CHARS_IN_VARIABLE_STRING];
|
||||
|
||||
TCHAR tBuf[MAX_CHARS_IN_VARIABLE_STRING];
|
||||
|
||||
va_list ptr;
|
||||
va_start(ptr,str);
|
||||
vsprintf(buf,str,ptr);
|
||||
|
||||
mbstowcs(tBuf, buf, MAX_CHARS_IN_VARIABLE_STRING);
|
||||
|
||||
OutputDebugString(tBuf);
|
||||
}
|
||||
|
||||
|
||||
|
||||
int printf(const char *str, ...)
|
||||
{
|
||||
char buf[MAX_CHARS_IN_VARIABLE_STRING];
|
||||
|
||||
TCHAR tBuf[MAX_CHARS_IN_VARIABLE_STRING];
|
||||
|
||||
va_list ptr;
|
||||
va_start(ptr,str);
|
||||
vsprintf(buf,str,ptr);
|
||||
|
||||
mbstowcs(tBuf, buf, MAX_CHARS_IN_VARIABLE_STRING);
|
||||
|
||||
OutputDebugString(tBuf);
|
||||
|
||||
return 1;
|
||||
}
|
|
@ -0,0 +1,250 @@
|
|||
# eMbedded Visual C++ Dependency File, included by XPTCInvoke_Testing.vcn
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
.\StdAfx.cpp : \
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
.\StdAfx.cpp : \
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
.\StdAfx.cpp : \
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
.\StdAfx.cpp : \
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
.\TestXPTCInvoke.cpp : \
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
.\TestXPTCInvoke.cpp : \
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
.\TestXPTCInvoke.cpp : \
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
.\TestXPTCInvoke.cpp : \
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
".\StdAfx.h"\
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
.\XPTCInvoke_Testing.cpp : \
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\aygshell.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\sipapi.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\winuserm.h"\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
.\XPTCInvoke_Testing.cpp : \
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\aygshell.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\sipapi.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\winuserm.h"\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
.\XPTCInvoke_Testing.cpp : \
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
.\XPTCInvoke_Testing.cpp : \
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\aygshell.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\sipapi.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\winuserm.h"\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
.\XPTCInvoke_Testing.rc : \
|
||||
".\newres.h"\
|
||||
".\XPTCInvoke_Testing.ico"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
.\XPTCInvoke_Testing.rc : \
|
||||
".\newres.h"\
|
||||
".\XPTCInvoke_Testing.ico"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
.\XPTCInvoke_Testing.rc : \
|
||||
".\newres.h"\
|
||||
".\XPTCInvoke_Testing.ico"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
.\XPTCInvoke_Testing.rc : \
|
||||
".\newres.h"\
|
||||
".\XPTCInvoke_Testing.ico"\
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
#if !defined(AFX_XPTCINVOKE_TESTING_H__3305EA3C_BEBC_43DD_B644_E977106463B5__INCLUDED_)
|
||||
#define AFX_XPTCINVOKE_TESTING_H__3305EA3C_BEBC_43DD_B644_E977106463B5__INCLUDED_
|
||||
|
||||
#if _MSC_VER > 1000
|
||||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#endif // !defined(AFX_XPTCINVOKE_TESTING_H__3305EA3C_BEBC_43DD_B644_E977106463B5__INCLUDED_)
|
Двоичный файл не отображается.
После Ширина: | Высота: | Размер: 1.1 KiB |
|
@ -0,0 +1,181 @@
|
|||
//Microsoft eMbedded Visual C++ generated resource script.
|
||||
//
|
||||
#include "resource.h"
|
||||
|
||||
#define APSTUDIO_READONLY_SYMBOLS
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 2 resource.
|
||||
//
|
||||
#include "newres.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
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Icon
|
||||
//
|
||||
|
||||
// Icon with lowest ID value placed first to ensure application icon
|
||||
// remains consistent on all systems.
|
||||
IDI_XPTCINVOKE_TESTING ICON DISCARDABLE "XPTCInvoke_Testing.ICO"
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// TEXTINCLUDE
|
||||
//
|
||||
|
||||
1 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
2 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"#include ""newres.h""\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
3 TEXTINCLUDE DISCARDABLE
|
||||
BEGIN
|
||||
"\r\n"
|
||||
"\0"
|
||||
END
|
||||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Data
|
||||
//
|
||||
|
||||
IDM_MENU SHMENUBAR MOVEABLE PURE
|
||||
BEGIN
|
||||
IDM_MENU, 2,
|
||||
I_IMAGENONE, IDM_MAIN_COMMAND1, TBSTATE_ENABLED,
|
||||
TBSTYLE_DROPDOWN | TBSTYLE_AUTOSIZE, IDS_HELP, 0, 0,
|
||||
I_IMAGENONE, IDOK, TBSTATE_ENABLED, TBSTYLE_AUTOSIZE, IDS_CAP_EXIT, IDOK,
|
||||
NOMENU,
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Menubar
|
||||
//
|
||||
|
||||
IDM_MENU MENU DISCARDABLE
|
||||
BEGIN
|
||||
POPUP "Tools"
|
||||
BEGIN
|
||||
MENUITEM "Test", IDM_TEST
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "About", IDM_HELP_ABOUT
|
||||
END
|
||||
MENUITEM "Exit", IDOK
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Dialog
|
||||
//
|
||||
|
||||
IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 140, 57
|
||||
STYLE WS_POPUP | WS_CAPTION
|
||||
EXSTYLE 0x80000000L
|
||||
CAPTION "About XPTCInvoke_Testing"
|
||||
FONT 8, "System"
|
||||
BEGIN
|
||||
ICON IDI_XPTCINVOKE_TESTING,IDC_STATIC,11,17,20,20
|
||||
LTEXT "XPTCInvoke_Testing Version 1.0",IDC_STATIC,40,10,70,8,
|
||||
SS_NOPREFIX
|
||||
LTEXT "Copyright (C) 2005",IDC_STATIC,40,25,70,8
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Accelerator
|
||||
//
|
||||
|
||||
IDC_XPTCINVOKE_TESTING ACCELERATORS DISCARDABLE
|
||||
BEGIN
|
||||
"A", IDM_HELP_ABOUT, VIRTKEY, CONTROL, NOINVERT
|
||||
"Q", IDOK, VIRTKEY, CONTROL, NOINVERT
|
||||
END
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// DESIGNINFO
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
GUIDELINES DESIGNINFO DISCARDABLE
|
||||
BEGIN
|
||||
IDD_ABOUTBOX, DIALOG
|
||||
BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 133
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 50
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// String Table
|
||||
//
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_APP_TITLE "XPTCInvoke_Testing"
|
||||
IDS_HELLO "Hello World!"
|
||||
IDC_XPTCINVOKE_TESTING "XPTCINVOKE_TESTING"
|
||||
END
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_HELP "Tools"
|
||||
END
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_COMMAND1 "Done "
|
||||
END
|
||||
|
||||
STRINGTABLE DISCARDABLE
|
||||
BEGIN
|
||||
IDS_CAP_EXIT "Exit"
|
||||
END
|
||||
|
||||
#endif // English (U.S.) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
||||
#ifndef APSTUDIO_INVOKED
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Generated from the TEXTINCLUDE 3 resource.
|
||||
//
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
#endif // not APSTUDIO_INVOKED
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
//
|
||||
// XPTCINVOKE_TESTING.RC2 - resources Microsoft eMbedded Visual C++ does not edit directly
|
||||
//
|
||||
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#error this file is not editable by Microsoft eMbedded Visual C++
|
||||
#endif //APSTUDIO_INVOKED
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Add manually edited resources here...
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
|
@ -0,0 +1,521 @@
|
|||
# Microsoft eMbedded Visual Tools Generated NMAKE File, Based on XPTCInvoke_Testing.vcp
|
||||
!IF "$(CFG)" == ""
|
||||
CFG=XPTCInvoke_Testing - Win32 (WCE emulator) Debug
|
||||
!MESSAGE No configuration specified. Defaulting to XPTCInvoke_Testing - Win32 (WCE emulator) Debug.
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CESubsystem)" == ""
|
||||
CESubsystem=windowsce,2.0
|
||||
!MESSAGE Variable CESubsystem not specified. Defaulting to windowsce,2.11
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CEVersion)" == ""
|
||||
CEVersion=200
|
||||
!MESSAGE Variable CEVersion not specified. Defaulting to 211
|
||||
!ENDIF
|
||||
|
||||
!IF $(CEVersion) < 201
|
||||
CECrt=L
|
||||
CECrtDebug=Ld
|
||||
CECrtMT=T
|
||||
CECrtMTDebug=Td
|
||||
CENoDefaultLib=corelibc.lib
|
||||
CEx86Corelibc=
|
||||
!ELSE
|
||||
CECrt=C
|
||||
CECrtDebug=C
|
||||
CECrtMT=C
|
||||
CECrtMTDebug=C
|
||||
CENoDefaultLib=libc.lib /nodefaultlib:libcd.lib /nodefaultlib:libcmt.lib /nodefaultlib:libcmtd.lib /nodefaultlib:msvcrt.lib /nodefaultlib:msvcrtd.lib
|
||||
CEx86Corelibc=corelibc.lib
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CE_PLATFORM)"==""
|
||||
CePlatform=WIN32_PLATFORM_UNKNOWN
|
||||
!ELSE
|
||||
CePlatform=$(CE_PLATFORM)
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" != "XPTCInvoke_Testing - Win32 (WCE emulator) Release" && "$(CFG)" != "XPTCInvoke_Testing - Win32 (WCE emulator) Debug" && "$(CFG)" != "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release" && "$(CFG)" != "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
!MESSAGE Invalid configuration "$(CFG)" specified.
|
||||
!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 "XPTCInvoke_Testing.vcn" CFG="XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application")
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application")
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application")
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application")
|
||||
!MESSAGE
|
||||
!ERROR An invalid configuration is specified.
|
||||
!ENDIF
|
||||
|
||||
!IF "$(OS)" == "Windows_NT"
|
||||
NULL=
|
||||
!ELSE
|
||||
NULL=nul
|
||||
!ENDIF
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
OUTDIR=.\emulatorRel
|
||||
INTDIR=.\emulatorRel
|
||||
# Begin Custom Macros
|
||||
OutDir=.\emulatorRel
|
||||
# End Custom Macros
|
||||
|
||||
ALL : "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\StdAfx.obj"
|
||||
-@erase "$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.obj"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.res"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
RSC=rc.exe
|
||||
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\XPTCInvoke_Testing.res" /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
|
||||
CPP=cl.exe
|
||||
CPP_PROJ=/nologo /W3 /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /D "NDEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Gs8192 /GF /O2 /c
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
MTL=midl.exe
|
||||
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\XPTCInvoke_Testing.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /incremental:no /pdb:"$(OUTDIR)\XPTCInvoke_Testing.pdb" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /out:"$(OUTDIR)\XPTCInvoke_Testing.exe" /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\StdAfx.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" \
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
|
||||
"$(OUTDIR)\XPTCInvoke_Testing.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
OUTDIR=.\emulatorDbg
|
||||
INTDIR=.\emulatorDbg
|
||||
# Begin Custom Macros
|
||||
OutDir=.\emulatorDbg
|
||||
# End Custom Macros
|
||||
|
||||
ALL : "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\StdAfx.obj"
|
||||
-@erase "$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
-@erase "$(INTDIR)\vc60.pdb"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.obj"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.res"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.ilk"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.pdb"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
RSC=rc.exe
|
||||
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\XPTCInvoke_Testing.res" /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r
|
||||
CPP=cl.exe
|
||||
CPP_PROJ=/nologo /W3 /Zi /Od /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /Gs8192 /GF /c
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
MTL=midl.exe
|
||||
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\XPTCInvoke_Testing.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /incremental:yes /pdb:"$(OUTDIR)\XPTCInvoke_Testing.pdb" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /out:"$(OUTDIR)\XPTCInvoke_Testing.exe" /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\StdAfx.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" \
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
|
||||
"$(OUTDIR)\XPTCInvoke_Testing.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
OUTDIR=.\ARMV4Rel
|
||||
INTDIR=.\ARMV4Rel
|
||||
# Begin Custom Macros
|
||||
OutDir=.\ARMV4Rel
|
||||
# End Custom Macros
|
||||
|
||||
ALL : "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\StdAfx.obj"
|
||||
-@erase "$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.obj"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.res"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
RSC=rc.exe
|
||||
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\XPTCInvoke_Testing.res" /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r
|
||||
CPP=clarm.exe
|
||||
CPP_PROJ=/nologo /W3 /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /O2 /M$(CECrtMT) /c
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
MTL=midl.exe
|
||||
MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\XPTCInvoke_Testing.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=commctrl.lib coredll.lib aygshell.lib xpcom_core.lib nspr4.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /incremental:no /pdb:"$(OUTDIR)\XPTCInvoke_Testing.pdb" /nodefaultlib:"$(CENoDefaultLib)" /out:"$(OUTDIR)\XPTCInvoke_Testing.exe" /libpath:"..\..\..\..\..\arm_ppc\dist\lib" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\StdAfx.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" \
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
|
||||
"$(OUTDIR)\XPTCInvoke_Testing.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
OUTDIR=.\ARMV4Dbg
|
||||
INTDIR=.\ARMV4Dbg
|
||||
# Begin Custom Macros
|
||||
OutDir=.\ARMV4Dbg
|
||||
# End Custom Macros
|
||||
|
||||
ALL : "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
|
||||
|
||||
CLEAN :
|
||||
-@erase "$(INTDIR)\StdAfx.obj"
|
||||
-@erase "$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
-@erase "$(INTDIR)\vc60.pdb"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.obj"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
-@erase "$(INTDIR)\XPTCInvoke_Testing.res"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.exe"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.ilk"
|
||||
-@erase "$(OUTDIR)\XPTCInvoke_Testing.pdb"
|
||||
|
||||
"$(OUTDIR)" :
|
||||
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||
|
||||
RSC=rc.exe
|
||||
RSC_PROJ=/l 0x409 /fo"$(INTDIR)\XPTCInvoke_Testing.res" /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r
|
||||
CPP=clarm.exe
|
||||
CPP_PROJ=/nologo /W3 /Zi /Od /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /D "$(CePlatform)" /D "ARM" /D "ARMV4" /D CANT_RESOLVE_CPP_CONST_AMBIGUITY=1 /D CROSS_COMPILE=1 /D "DEBUG" /D "DEBUG_dougt" /D D_INO=d_ino /D gid_t=int /D HAVE_COMPAT_H=1 /D HAVE_GETOPT_H=1 /D HAVE_GNU_LIBC_VERSION_H=1 /D HAVE_LIBM=1 /D HAVE_MALLOC_H=1 /D HAVE_MEMMOVE=1 /D HAVE_MEMORY_H=1 /D HAVE_MMINTRIN_H=1 /D HAVE_NL_TYPES_H=1 /D HAVE_SNPRINTF=1 /D HAVE_SYS_BITYPES_H=1 /D HAVE_SYS_STATFS_H=1 /D HAVE_SYS_STATVFS_H=1 /D HAVE_UINT=1 /D HAVE_UNISTD_H=1 /D HAVE_X11_XKBLIB_H=1 /D HW_THREADS=1 /D IBMBIDI=1 /D JS_THREADSAFE=1 /D mode_t=int /D "MOZILLA_CLIENT" /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D MOZILLA_VERSION=\"1.8b2\" /D MOZ_APP_NAME=\"mozilla\" /D MOZ_BUILD_APP=suite /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D MOZ_ENABLE_COREXFONTS=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_V1_STRING_ABI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D\
|
||||
NEED_CPP_DERIVED_TEMPLATE_OPERATORS=1 /D NEED_CPP_TEMPLATE_CAST_TO_BASE=1 /D NO_MINUS_C_MINUS_O=1 /D NO_X11=1 /D NSCAP_DONT_PROVIDE_NONCONST_OPEQ=1 /D NS_DISABLE_LOGGING=1 /D NS_PRINTING=1 /D NS_PRINT_PREVIEW=1 /D off_t=long /D OJI=1 /D OSARCH=\"WINCE\" /D OSTYPE=\"WINCE420\" /D pid_t=int /D size_t=unsigned /D STDC_HEADERS=1 /D "TRACING" /D "TRIMMED" /D uid_t=int /D UNDER_CE=$(CEVersion) /D "UNICODE" /D UNIX_ASYNC_DNS=1 /D WIN32=1 /D WIN32_LEAN_AND_MEAN=1 /D XP_WIN32=1 /D XP_WIN=1 /D X_DISPLAY_MISSING=1 /D "_ARM_" /D "_DEBUG" /D "_IMPL_NS_GFX" /D "_IMPL_NS_MSG_BASE" /D "_IMPL_NS_WIDGET" /D "_MOZILLA_CONFIG_H_" /D "_UNICODE" /D _WIN32=1 /D _WIN32_WCE=$(CEVersion) /D _WINDOWS=1 /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yu"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /M$(CECrtMTDebug) /c
|
||||
|
||||
.c{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.obj::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.c{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cpp{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
.cxx{$(INTDIR)}.sbr::
|
||||
$(CPP) @<<
|
||||
$(CPP_PROJ) $<
|
||||
<<
|
||||
|
||||
MTL=midl.exe
|
||||
MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
|
||||
BSC32=bscmake.exe
|
||||
BSC32_FLAGS=/nologo /o"$(OUTDIR)\XPTCInvoke_Testing.bsc"
|
||||
BSC32_SBRS= \
|
||||
|
||||
LINK32=link.exe
|
||||
LINK32_FLAGS=commctrl.lib coredll.lib aygshell.lib xpcom_core.lib nspr4.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /incremental:yes /pdb:"$(OUTDIR)\XPTCInvoke_Testing.pdb" /debug /nodefaultlib:"$(CENoDefaultLib)" /out:"$(OUTDIR)\XPTCInvoke_Testing.exe" /libpath:"..\..\..\..\..\arm_ppc\dist\lib" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
LINK32_OBJS= \
|
||||
"$(INTDIR)\StdAfx.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" \
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" \
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj"
|
||||
|
||||
"$(OUTDIR)\XPTCInvoke_Testing.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
|
||||
$(LINK32) @<<
|
||||
$(LINK32_FLAGS) $(LINK32_OBJS)
|
||||
<<
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
||||
!IF "$(NO_EXTERNAL_DEPS)" != "1"
|
||||
!IF EXISTS("XPTCInvoke_Testing.dep")
|
||||
!INCLUDE "XPTCInvoke_Testing.dep"
|
||||
!ELSE
|
||||
!MESSAGE Warning: cannot find "XPTCInvoke_Testing.dep"
|
||||
!ENDIF
|
||||
!ENDIF
|
||||
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release" || "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug" || "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release" || "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
SOURCE=.\StdAfx.cpp
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
CPP_SWITCHES=/nologo /W3 /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /D "NDEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Gs8192 /GF /O2 /c
|
||||
|
||||
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\XPTCInvoke_Testing.pch" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) @<<
|
||||
$(CPP_SWITCHES) $(SOURCE)
|
||||
<<
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
CPP_SWITCHES=/nologo /W3 /Zi /Od /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /Gs8192 /GF /c
|
||||
|
||||
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\XPTCInvoke_Testing.pch" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) @<<
|
||||
$(CPP_SWITCHES) $(SOURCE)
|
||||
<<
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
CPP_SWITCHES=/nologo /W3 /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /O2 /M$(CECrtMT) /c
|
||||
|
||||
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\XPTCInvoke_Testing.pch" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) @<<
|
||||
$(CPP_SWITCHES) $(SOURCE)
|
||||
<<
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
CPP_SWITCHES=/nologo /W3 /Zi /Od /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /D "$(CePlatform)" /D "ARM" /D "ARMV4" /D CANT_RESOLVE_CPP_CONST_AMBIGUITY=1 /D CROSS_COMPILE=1 /D "DEBUG" /D "DEBUG_dougt" /D D_INO=d_ino /D gid_t=int /D HAVE_COMPAT_H=1 /D HAVE_GETOPT_H=1 /D HAVE_GNU_LIBC_VERSION_H=1 /D HAVE_LIBM=1 /D HAVE_MALLOC_H=1 /D HAVE_MEMMOVE=1 /D HAVE_MEMORY_H=1 /D HAVE_MMINTRIN_H=1 /D HAVE_NL_TYPES_H=1 /D HAVE_SNPRINTF=1 /D HAVE_SYS_BITYPES_H=1 /D HAVE_SYS_STATFS_H=1 /D HAVE_SYS_STATVFS_H=1 /D HAVE_UINT=1 /D HAVE_UNISTD_H=1 /D HAVE_X11_XKBLIB_H=1 /D HW_THREADS=1 /D IBMBIDI=1 /D JS_THREADSAFE=1 /D mode_t=int /D "MOZILLA_CLIENT" /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D MOZILLA_VERSION=\"1.8b2\" /D MOZ_APP_NAME=\"mozilla\" /D MOZ_BUILD_APP=suite /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D MOZ_ENABLE_COREXFONTS=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_V1_STRING_ABI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1\
|
||||
/D NEED_CPP_DERIVED_TEMPLATE_OPERATORS=1 /D NEED_CPP_TEMPLATE_CAST_TO_BASE=1 /D NO_MINUS_C_MINUS_O=1 /D NO_X11=1 /D NSCAP_DONT_PROVIDE_NONCONST_OPEQ=1 /D NS_DISABLE_LOGGING=1 /D NS_PRINTING=1 /D NS_PRINT_PREVIEW=1 /D off_t=long /D OJI=1 /D OSARCH=\"WINCE\" /D OSTYPE=\"WINCE420\" /D pid_t=int /D size_t=unsigned /D STDC_HEADERS=1 /D "TRACING" /D "TRIMMED" /D uid_t=int /D UNDER_CE=$(CEVersion) /D "UNICODE" /D UNIX_ASYNC_DNS=1 /D WIN32=1 /D WIN32_LEAN_AND_MEAN=1 /D XP_WIN32=1 /D XP_WIN=1 /D X_DISPLAY_MISSING=1 /D "_ARM_" /D "_DEBUG" /D "_IMPL_NS_GFX" /D "_IMPL_NS_MSG_BASE" /D "_IMPL_NS_WIDGET" /D "_MOZILLA_CONFIG_H_" /D "_UNICODE" /D _WIN32=1 /D _WIN32_WCE=$(CEVersion) /D _WINDOWS=1 /Fp"$(INTDIR)\XPTCInvoke_Testing.pch" /Yc"stdafx.h" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /M$(CECrtMTDebug) /c
|
||||
|
||||
"$(INTDIR)\StdAfx.obj" "$(INTDIR)\XPTCInvoke_Testing.pch" : $(SOURCE) "$(INTDIR)"
|
||||
$(CPP) @<<
|
||||
$(CPP_SWITCHES) $(SOURCE)
|
||||
<<
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\TestXPTCInvokeInIDE.cpp
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\TestXPTCInvokeInIDE.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\XPTCInvoke_Testing.cpp
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.obj" : $(SOURCE) "$(INTDIR)" "$(INTDIR)\XPTCInvoke_Testing.pch"
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
SOURCE=.\XPTCInvoke_Testing.rc
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) $(RSC_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) $(RSC_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) $(RSC_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
|
||||
"$(INTDIR)\XPTCInvoke_Testing.res" : $(SOURCE) "$(INTDIR)"
|
||||
$(RSC) $(RSC_PROJ) $(SOURCE)
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
|
@ -0,0 +1,482 @@
|
|||
# Microsoft eMbedded Visual Tools Project File - Name="XPTCInvoke_Testing" - Package Owner=<4>
|
||||
# Microsoft eMbedded Visual Tools Generated Build File, Format Version 6.02
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (WCE ARMV4) Application" 0xa301
|
||||
# TARGTYPE "Win32 (WCE emulator) Application" 0xa601
|
||||
|
||||
CFG=XPTCInvoke_Testing - Win32 (WCE emulator) 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 "XPTCInvoke_Testing.vcn".
|
||||
!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 "XPTCInvoke_Testing.vcn" CFG="XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE emulator) Release" (based on "Win32 (WCE emulator) Application")
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE emulator) Debug" (based on "Win32 (WCE emulator) Application")
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release" (based on "Win32 (WCE ARMV4) Application")
|
||||
!MESSAGE "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug" (based on "Win32 (WCE ARMV4) Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
# PROP ATL_Project 2
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "emulatorRel"
|
||||
# PROP BASE Intermediate_Dir "emulatorRel"
|
||||
# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
|
||||
# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "emulatorRel"
|
||||
# PROP Intermediate_Dir "emulatorRel"
|
||||
# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
|
||||
# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
|
||||
# ADD RSC /l 0x409 /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "NDEBUG" /d "$(CePlatform)" /d "_X86_" /d "x86" /d "_i386_" /r
|
||||
CPP=cl.exe
|
||||
# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "_i386_" /D UNDER_CE=$(CEVersion) /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "NDEBUG" /Yu"stdafx.h" /Gs8192 /GF /O2 /c
|
||||
# ADD CPP /nologo /W3 /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /D "NDEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Yu"stdafx.h" /Gs8192 /GF /O2 /c
|
||||
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 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "emulatorDbg"
|
||||
# PROP BASE Intermediate_Dir "emulatorDbg"
|
||||
# PROP BASE CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
|
||||
# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "emulatorDbg"
|
||||
# PROP Intermediate_Dir "emulatorDbg"
|
||||
# PROP CPU_ID "{32E52003-403E-442D-BE48-DE10F8C6131D}"
|
||||
# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE RSC /l 0x409 /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r
|
||||
# ADD RSC /l 0x409 /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /d "$(CePlatform)" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "_X86_" /d "x86" /d "_i386_" /r
|
||||
CPP=cl.exe
|
||||
# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /Yu"stdafx.h" /Gs8192 /GF /c
|
||||
# ADD CPP /nologo /W3 /Zi /Od /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator" /D "DEBUG" /D "_i386_" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "i_386_" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Yu"stdafx.h" /Gs8192 /GF /c
|
||||
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 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
# ADD LINK32 commctrl.lib coredll.lib $(CEx86Corelibc) aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"OLDNAMES.lib" /nodefaultlib:$(CENoDefaultLib) /subsystem:$(CESubsystem) /MACHINE:IX86
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "ARMV4Rel"
|
||||
# PROP BASE Intermediate_Dir "ARMV4Rel"
|
||||
# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}"
|
||||
# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "ARMV4Rel"
|
||||
# PROP Intermediate_Dir "ARMV4Rel"
|
||||
# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}"
|
||||
# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r
|
||||
# ADD RSC /l 0x409 /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "NDEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r
|
||||
CPP=clarm.exe
|
||||
# ADD BASE CPP /nologo /W3 /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D "UNICODE" /D "_UNICODE" /D "NDEBUG" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c
|
||||
# ADD CPP /nologo /W3 /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /D "NDEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /D "TRIMMED" /D CROSS_COMPILE=1 /D HAVE_MMINTRIN_H=1 /D X_DISPLAY_MISSING=1 /D MOZILLA_VERSION=\"1.8b2\" /D HAVE_SNPRINTF=1 /D _WINDOWS=1 /D _WIN32=1 /D WIN32=1 /D XP_WIN=1 /D XP_WIN32=1 /D HW_THREADS=1 /D STDC_HEADERS=1 /D WIN32_LEAN_AND_MEAN=1 /D D_INO=d_ino /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_BUILD_APP=suite /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D OJI=1 /D IBMBIDI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NS_DISABLE_LOGGING=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D JS_THREADSAFE=1 /D NS_PRINT_PREVIEW=1 /D NS_PRINTING=1 /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D "_MOZILLA_CONFIG_H_" /D "MOZILLA_CLIENT" /Yu"stdafx.h" /O2 /M$(CECrtMT) /c
|
||||
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 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib aygshell.lib xpcom_core.lib nspr4.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /nodefaultlib:"$(CENoDefaultLib)" /libpath:"..\..\..\..\..\arm_ppc\dist\lib" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "ARMV4Dbg"
|
||||
# PROP BASE Intermediate_Dir "ARMV4Dbg"
|
||||
# PROP BASE CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}"
|
||||
# PROP BASE Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "ARMV4Dbg"
|
||||
# PROP Intermediate_Dir "ARMV4Dbg"
|
||||
# PROP CPU_ID "{ECBEA43D-CD7B-4852-AD55-D4227B5D624B}"
|
||||
# PROP Platform_ID "{8A9A2F80-6887-11D3-842E-005004848CBA}"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
RSC=rc.exe
|
||||
# ADD BASE RSC /l 0x409 /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r
|
||||
# ADD RSC /l 0x409 /i "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /d UNDER_CE=$(CEVersion) /d _WIN32_WCE=$(CEVersion) /d "DEBUG" /d "UNICODE" /d "_UNICODE" /d "$(CePlatform)" /d "ARM" /d "_ARM_" /d "ARMV4" /r
|
||||
CPP=clarm.exe
|
||||
# ADD BASE CPP /nologo /W3 /Zi /Od /D "DEBUG" /D "ARM" /D "_ARM_" /D "ARMV4" /D UNDER_CE=$(CEVersion) /D _WIN32_WCE=$(CEVersion) /D "$(CePlatform)" /D "UNICODE" /D "_UNICODE" /Yu"stdafx.h" /M$(CECrtMTDebug) /c
|
||||
# ADD CPP /nologo /W3 /Zi /Od /I "..\..\..\..\..\arm_ppc\dist\include" /I "..\..\..\..\..\arm_ppc\dist\include\xpcom" /I "..\..\..\..\..\arm_ppc\dist\sdk\include" /I "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4" /D "$(CePlatform)" /D "ARM" /D "ARMV4" /D CANT_RESOLVE_CPP_CONST_AMBIGUITY=1 /D CROSS_COMPILE=1 /D "DEBUG" /D "DEBUG_dougt" /D D_INO=d_ino /D gid_t=int /D HAVE_COMPAT_H=1 /D HAVE_GETOPT_H=1 /D HAVE_GNU_LIBC_VERSION_H=1 /D HAVE_LIBM=1 /D HAVE_MALLOC_H=1 /D HAVE_MEMMOVE=1 /D HAVE_MEMORY_H=1 /D HAVE_MMINTRIN_H=1 /D HAVE_NL_TYPES_H=1 /D HAVE_SNPRINTF=1 /D HAVE_SYS_BITYPES_H=1 /D HAVE_SYS_STATFS_H=1 /D HAVE_SYS_STATVFS_H=1 /D HAVE_UINT=1 /D HAVE_UNISTD_H=1 /D HAVE_X11_XKBLIB_H=1 /D HW_THREADS=1 /D IBMBIDI=1 /D JS_THREADSAFE=1 /D mode_t=int /D "MOZILLA_CLIENT" /D MOZILLA_LOCALE_VERSION=\"1.8b2\" /D MOZILLA_REGION_VERSION=\"1.8b2\" /D MOZILLA_SKIN_VERSION=\"1.5\" /D MOZILLA_VERSION=\"1.8b2\" /D MOZ_APP_NAME=\"mozilla\" /D MOZ_BUILD_APP=suite /D MOZ_DEFAULT_TOOLKIT=\"windows\" /D MOZ_DISTRIBUTION_ID=\"org.mozilla\" /D MOZ_DLL_SUFFIX=\".dll\" /D MOZ_ENABLE_COREXFONTS=1 /D MOZ_USER_DIR=\"Mozilla\" /D MOZ_V1_STRING_ABI=1 /D MOZ_VIEW_SOURCE=1 /D MOZ_XTF=1 /D NEED_CPP_DERIVED_TEMPLATE_OPERATORS=1 /D NEED_CPP_TEMPLATE_CAST_TO_BASE=1 /D NO_MINUS_C_MINUS_O=1 /D NO_X11=1 /D NSCAP_DONT_PROVIDE_NONCONST_OPEQ=1 /D NS_DISABLE_LOGGING=1 /D NS_PRINTING=1 /D NS_PRINT_PREVIEW=1 /D off_t=long /D OJI=1 /D OSARCH=\"WINCE\" /D OSTYPE=\"WINCE420\" /D pid_t=int /D size_t=unsigned /D STDC_HEADERS=1 /D "TRACING" /D "TRIMMED" /D uid_t=int /D UNDER_CE=$(CEVersion) /D "UNICODE" /D UNIX_ASYNC_DNS=1 /D WIN32=1 /D WIN32_LEAN_AND_MEAN=1 /D XP_WIN32=1 /D XP_WIN=1 /D X_DISPLAY_MISSING=1 /D "_ARM_" /D "_DEBUG" /D "_IMPL_NS_GFX" /D "_IMPL_NS_MSG_BASE" /D "_IMPL_NS_WIDGET" /D "_MOZILLA_CONFIG_H_" /D "_UNICODE" /D _WIN32=1 /D _WIN32_WCE=$(CEVersion) /D _WINDOWS=1 /Yu"stdafx.h" /M$(CECrtMTDebug) /c
|
||||
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 commctrl.lib coredll.lib aygshell.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
# ADD LINK32 commctrl.lib coredll.lib aygshell.lib xpcom_core.lib nspr4.lib /nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"WinMainCRTStartup" /debug /nodefaultlib:"$(CENoDefaultLib)" /libpath:"..\..\..\..\..\arm_ppc\dist\lib" /subsystem:$(CESubsystem) /align:"4096" /MACHINE:ARM
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
# Name "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
# Name "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
# Name "XPTCInvoke_Testing - Win32 (WCE ARMV4) 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)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
DEP_CPP_STDAF=\
|
||||
".\StdAfx.h"\
|
||||
|
||||
# ADD CPP /Yc"stdafx.h"
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
DEP_CPP_STDAF=\
|
||||
".\StdAfx.h"\
|
||||
|
||||
# ADD CPP /Yc"stdafx.h"
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
DEP_CPP_STDAF=\
|
||||
".\StdAfx.h"\
|
||||
|
||||
# ADD CPP /Yc"stdafx.h"
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
DEP_CPP_STDAF=\
|
||||
".\StdAfx.h"\
|
||||
|
||||
# ADD CPP /Yc"stdafx.h"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\TestXPTCInvokeInIDE.cpp
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
DEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
|
||||
NODEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\protypes.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
DEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
|
||||
NODEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\protypes.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
DEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
|
||||
NODEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\protypes.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
DEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nscore.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsDebug.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsError.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIClassInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIInterfaceInfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsIProgrammingLanguage.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupports.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsBase.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsImpl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsISupportsUtils.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsMemory.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsrootidl.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsTraceRefcnt.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOM.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\nsXPCOMCID.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpcom-config.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_arena.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xpt_struct.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcall.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptcstubsdecl.inc"\
|
||||
"..\..\..\..\..\arm_ppc\dist\include\xpcom\xptinfo.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\obsolete\protypes.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\pratom.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prcpucfg.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prinrval.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlock.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prlong.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prthread.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtime.h"\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\prtypes.h"\
|
||||
".\StdAfx.h"\
|
||||
|
||||
NODEP_CPP_TESTX=\
|
||||
"..\..\..\..\..\arm_ppc\dist\sdk\include\protypes.h"\
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\XPTCInvoke_Testing.cpp
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
DEP_CPP_XPTCI=\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\aygshell.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\sipapi.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\winuserm.h"\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
NODEP_CPP_XPTCI=\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\vibrate.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
DEP_CPP_XPTCI=\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\aygshell.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\sipapi.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\winuserm.h"\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
NODEP_CPP_XPTCI=\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator\vibrate.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
DEP_CPP_XPTCI=\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
NODEP_CPP_XPTCI=\
|
||||
".\ipapi.h"\
|
||||
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
DEP_CPP_XPTCI=\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\aygshell.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\sipapi.h"\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\winuserm.h"\
|
||||
".\StdAfx.h"\
|
||||
".\XPTCInvoke_Testing.h"\
|
||||
|
||||
NODEP_CPP_XPTCI=\
|
||||
"..\..\..\..\..\..\..\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4\vibrate.h"\
|
||||
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\XPTCInvoke_Testing.rc
|
||||
|
||||
!IF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Release"
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE emulator) Debug"
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Release"
|
||||
|
||||
!ELSEIF "$(CFG)" == "XPTCInvoke_Testing - Win32 (WCE ARMV4) Debug"
|
||||
|
||||
!ENDIF
|
||||
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\newres.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\resource.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\StdAfx.h
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\XPTCInvoke_Testing.h
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\XPTCInvoke_Testing.ico
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\ReadMe.txt
|
||||
# End Source File
|
||||
# End Target
|
||||
# End Project
|
|
@ -0,0 +1,29 @@
|
|||
Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "XPTCInvoke_Testing"=.\XPTCInvoke_Testing.vcp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Global:
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<3>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -0,0 +1,97 @@
|
|||
#include "stdafx.h"
|
||||
|
||||
//#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <io.h>
|
||||
|
||||
//#include <iostream>
|
||||
|
||||
//#include <fstream>
|
||||
|
||||
//#ifndef _USE_OLD_IOSTREAMS
|
||||
//using namespace std;
|
||||
//#endif
|
||||
|
||||
// maximum mumber of lines the output console should have
|
||||
|
||||
static const WORD MAX_CONSOLE_LINES = 500;
|
||||
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
||||
|
||||
void RedirectIOToConsole()
|
||||
|
||||
{
|
||||
|
||||
int hConHandle;
|
||||
|
||||
long lStdHandle;
|
||||
|
||||
CONSOLE_SCREEN_BUFFER_INFO coninfo;
|
||||
|
||||
FILE *fp;
|
||||
|
||||
// allocate a console for this app
|
||||
|
||||
AllocConsole();
|
||||
|
||||
// set the screen buffer to be big enough to let us scroll text
|
||||
|
||||
GetConsoleScreenBufferInfo(GetStdHandle(STD_OUTPUT_HANDLE), &coninfo);
|
||||
|
||||
coninfo.dwSize.Y = MAX_CONSOLE_LINES;
|
||||
|
||||
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE), coninfo.dwSize);
|
||||
|
||||
// redirect unbuffered STDOUT to the console
|
||||
|
||||
lStdHandle = (long)GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
|
||||
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
|
||||
|
||||
fp = _fdopen( hConHandle, "w" );
|
||||
|
||||
*stdout = *fp;
|
||||
|
||||
setvbuf( stdout, NULL, _IONBF, 0 );
|
||||
|
||||
// redirect unbuffered STDIN to the console
|
||||
|
||||
lStdHandle = (long)GetStdHandle(STD_INPUT_HANDLE);
|
||||
|
||||
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
|
||||
|
||||
fp = _fdopen( hConHandle, "r" );
|
||||
|
||||
*stdin = *fp;
|
||||
|
||||
setvbuf( stdin, NULL, _IONBF, 0 );
|
||||
|
||||
// redirect unbuffered STDERR to the console
|
||||
|
||||
lStdHandle = (long)GetStdHandle(STD_ERROR_HANDLE);
|
||||
|
||||
hConHandle = _open_osfhandle(lStdHandle, _O_TEXT);
|
||||
|
||||
fp = _fdopen( hConHandle, "w" );
|
||||
|
||||
*stderr = *fp;
|
||||
|
||||
setvbuf( stderr, NULL, _IONBF, 0 );
|
||||
|
||||
|
||||
// make cout, wcout, cin, wcin, wcerr, cerr, wclog and clog
|
||||
// point to console as well
|
||||
|
||||
//ios::sync_with_stdio();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//End of File
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef __GUICON_H__
|
||||
#define __GUICON_H__
|
||||
|
||||
#ifdef _DEBUG
|
||||
|
||||
void RedirectIOToConsole();
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* End of File */
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
#ifndef __NEWRES_H__
|
||||
#define __NEWRES_H__
|
||||
|
||||
#if !defined(UNDER_CE)
|
||||
#define UNDER_CE _WIN32_WCE
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32_WCE)
|
||||
#if !defined(WCEOLE_ENABLE_DIALOGEX)
|
||||
#define DIALOGEX DIALOG DISCARDABLE
|
||||
#endif
|
||||
#include <commctrl.h>
|
||||
#define SHMENUBAR RCDATA
|
||||
#if defined(WIN32_PLATFORM_PSPC) && (_WIN32_WCE >= 300)
|
||||
#include <aygshell.h>
|
||||
#define AFXCE_IDR_SCRATCH_SHMENU 28700
|
||||
#else
|
||||
#define I_IMAGENONE (-2)
|
||||
#define NOMENU 0xFFFF
|
||||
#define IDS_SHNEW 1
|
||||
|
||||
#define IDM_SHAREDNEW 10
|
||||
#define IDM_SHAREDNEWDEFAULT 11
|
||||
#endif // _WIN32_WCE_PSPC
|
||||
#define AFXCE_IDD_SAVEMODIFIEDDLG 28701
|
||||
#endif // _WIN32_WCE
|
||||
|
||||
#ifdef RC_INVOKED
|
||||
#ifndef _INC_WINDOWS
|
||||
#define _INC_WINDOWS
|
||||
#include "winuser.h" // extract from windows header
|
||||
#include "winver.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef IDC_STATIC
|
||||
#undef IDC_STATIC
|
||||
#endif
|
||||
#define IDC_STATIC (-1)
|
||||
|
||||
#endif //__NEWRES_H__
|
|
@ -0,0 +1,27 @@
|
|||
//{{NO_DEPENDENCIES}}
|
||||
// Microsoft eMbedded Visual C++ generated include file.
|
||||
// Used by XPTCInvoke_Testing.rc
|
||||
//
|
||||
#define IDS_APP_TITLE 1
|
||||
#define IDS_HELLO 2
|
||||
#define IDC_XPTCINVOKE_TESTING 3
|
||||
#define IDI_XPTCINVOKE_TESTING 101
|
||||
#define IDM_MENU 102
|
||||
#define IDD_ABOUTBOX 103
|
||||
#define IDS_HELP 104
|
||||
#define IDS_COMMAND1 301
|
||||
#define IDM_MAIN_COMMAND1 40001
|
||||
#define IDM_HELP_ABOUT 40003
|
||||
#define IDM_TEST 40004
|
||||
#define IDS_CAP_EXIT 40006
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 104
|
||||
#define _APS_NEXT_COMMAND_VALUE 40007
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
Загрузка…
Ссылка в новой задаче