Home | History | Annotate | Download | only in DLLX
      1 /* -*- Mode: C; tab-width: 4 -*-
      2  *
      3  * Copyright (c) 2009 Apple Computer, Inc. All rights reserved.
      4  *
      5  * Licensed under the Apache License, Version 2.0 (the "License");
      6  * you may not use this file except in compliance with the License.
      7  * You may obtain a copy of the License at
      8  *
      9  *     http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  * Unless required by applicable law or agreed to in writing, software
     12  * distributed under the License is distributed on an "AS IS" BASIS,
     13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  * See the License for the specific language governing permissions and
     15  * limitations under the License.
     16  */
     17 
     18 
     19 
     20 #pragma once
     21 
     22 
     23 
     24 #ifndef STRICT
     25 
     26 #define STRICT
     27 
     28 #endif
     29 
     30 
     31 
     32 // Modify the following defines if you have to target a platform prior to the ones specified below.
     33 
     34 // Refer to MSDN for the latest info on corresponding values for different platforms.
     35 
     36 #ifndef WINVER				// Allow use of features specific to Windows XP or later.
     37 
     38 #define WINVER 0x0501		// Change this to the appropriate value to target other versions of Windows.
     39 
     40 #endif
     41 
     42 
     43 
     44 #ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.
     45 
     46 #define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
     47 
     48 #endif
     49 
     50 
     51 
     52 #ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.
     53 
     54 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
     55 
     56 #endif
     57 
     58 
     59 
     60 #ifndef _WIN32_IE			// Allow use of features specific to IE 6.0 or later.
     61 
     62 #define _WIN32_IE 0x0600	// Change this to the appropriate value to target other versions of IE.
     63 
     64 #endif
     65 
     66 
     67 
     68 #define _ATL_APARTMENT_THREADED
     69 
     70 #define _ATL_NO_AUTOMATIC_NAMESPACE
     71 
     72 
     73 
     74 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS	// some CString constructors will be explicit
     75 
     76 
     77 
     78 
     79 
     80 #include "resource.h"
     81 
     82 #include <atlbase.h>
     83 
     84 #include <atlcom.h>
     85 
     86 
     87 
     88 using namespace ATL;