00001 /* 00002 * Copyright (C) 2006-2007 Funambol, Inc. 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License version 2 as 00006 * published by the Free Software Foundation. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY, TITLE, NONINFRINGEMENT or FITNESS FOR A PARTICULAR 00011 * PURPOSE. See the GNU General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; if not, write to the Free Software 00015 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 00016 * 02111-1307 USA 00017 */ 00018 00019 00020 // stdafx.h : include file for standard system include files, 00021 // or project specific include files that are used frequently, 00022 // but are changed infrequently 00023 00024 #if !defined(AFX_STDAFX_H__0FE99A0F_E50B_4FF2_9F55_85C581DF38F7__INCLUDED_) 00025 #define AFX_STDAFX_H__0FE99A0F_E50B_4FF2_9F55_85C581DF38F7__INCLUDED_ 00026 00027 #if _MSC_VER > 1000 00028 #pragma once 00029 #endif // _MSC_VER > 1000 00030 00031 #define STRICT 00032 #ifndef _WIN32_WINNT 00033 #define _WIN32_WINNT 0x0400 00034 #endif 00035 #define _ATL_APARTMENT_THREADED 00036 00037 #include <atlbase.h> 00038 //You may derive a class from CComModule and use it if you want to override 00039 //something, but do not change the name of _Module 00040 extern CComModule _Module; 00041 #include <atlcom.h> 00042 00043 00044 00045 // Import libraries: Outlook Object Model and Redemption. 00046 // -------------------------------------------------------- 00047 // Type Libraries are referenced by their unique LIBIDs. 00048 // Note: 00049 // LIBRARIES MUST BE REGISTERED IN THE SYSTEM. 00050 // mso.dll, msoutl.olb, msaddndr.dll: are registered during Microsoft Outlook installation 00051 00052 // This is LIBID for 'mso.dll' 00053 #import "libid:2DF8D04C-5BFA-101B-BDE5-00AA0044DE52" rename_namespace("Office") named_guids \ 00054 rename("DocumentProperties", "OlDocumentProperties") \ 00055 rename("RGB", "OlRGB") 00056 00057 // This is LIBID for 'msoutl.olb' 00058 #import "libid:00062FFF-0000-0000-C000-000000000046" rename_namespace("Outlook") \ 00059 raw_interfaces_only, named_guids \ 00060 rename("CopyFile", "OlCopyFile") 00061 00062 // This is LIBID for 'MSADDNDR.DLL' 00063 #import "libid:AC0714F2-3D04-11D1-AE7D-00A0C90F26F4" raw_interfaces_only, \ 00064 raw_native_types, no_namespace, named_guids 00065 00066 using namespace Office; 00067 using namespace Outlook; 00068 00069 00070 00071 //{{AFX_INSERT_LOCATION}} 00072 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00073 00074 #endif // !defined(AFX_STDAFX_H__0FE99A0F_E50B_4FF2_9F55_85C581DF38F7__INCLUDED)