添加项目文件。
This commit is contained in:
parent
3c6a5c695c
commit
3e489efdcf
91
MobsetWeb.cpp
Normal file
91
MobsetWeb.cpp
Normal file
@ -0,0 +1,91 @@
|
||||
// MobsetWeb.cpp : DLL 导出的实现。
|
||||
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "resource.h"
|
||||
#include "MobsetWeb_i.h"
|
||||
#include "dllmain.h"
|
||||
#include "xdlldata.h"
|
||||
|
||||
|
||||
// 用于确定 DLL 是否可由 OLE 卸载。
|
||||
STDAPI DllCanUnloadNow(void)
|
||||
{
|
||||
#ifdef _MERGE_PROXYSTUB
|
||||
HRESULT hr = PrxDllCanUnloadNow();
|
||||
if (hr != S_OK)
|
||||
return hr;
|
||||
#endif
|
||||
AFX_MANAGE_STATE(AfxGetStaticModuleState());
|
||||
return (AfxDllCanUnloadNow()==S_OK && _AtlModule.GetLockCount()==0) ? S_OK : S_FALSE;
|
||||
}
|
||||
|
||||
// 返回一个类工厂以创建所请求类型的对象。
|
||||
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
|
||||
{
|
||||
#ifdef _MERGE_PROXYSTUB
|
||||
if (PrxDllGetClassObject(rclsid, riid, ppv) == S_OK)
|
||||
return S_OK;
|
||||
#endif
|
||||
return _AtlModule.DllGetClassObject(rclsid, riid, ppv);
|
||||
}
|
||||
|
||||
// DllRegisterServer - 在系统注册表中添加项。
|
||||
STDAPI DllRegisterServer(void)
|
||||
{
|
||||
// 注册对象、类型库和类型库中的所有接口
|
||||
HRESULT hr = _AtlModule.DllRegisterServer();
|
||||
#ifdef _MERGE_PROXYSTUB
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
hr = PrxDllRegisterServer();
|
||||
#endif
|
||||
return hr;
|
||||
}
|
||||
|
||||
// DllUnregisterServer - 在系统注册表中移除项。
|
||||
STDAPI DllUnregisterServer(void)
|
||||
{
|
||||
HRESULT hr = _AtlModule.DllUnregisterServer();
|
||||
#ifdef _MERGE_PROXYSTUB
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
hr = PrxDllRegisterServer();
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
hr = PrxDllUnregisterServer();
|
||||
#endif
|
||||
return hr;
|
||||
}
|
||||
|
||||
// DllInstall - 按用户和计算机在系统注册表中逐一添加/移除项。
|
||||
STDAPI DllInstall(BOOL bInstall, LPCWSTR pszCmdLine)
|
||||
{
|
||||
HRESULT hr = E_FAIL;
|
||||
static const wchar_t szUserSwitch[] = L"user";
|
||||
|
||||
if (pszCmdLine != NULL)
|
||||
{
|
||||
if (_wcsnicmp(pszCmdLine, szUserSwitch, _countof(szUserSwitch)) == 0)
|
||||
{
|
||||
ATL::AtlSetPerUserRegistration(true);
|
||||
}
|
||||
}
|
||||
|
||||
if (bInstall)
|
||||
{
|
||||
hr = DllRegisterServer();
|
||||
if (FAILED(hr))
|
||||
{
|
||||
DllUnregisterServer();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
hr = DllUnregisterServer();
|
||||
}
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
10
MobsetWeb.def
Normal file
10
MobsetWeb.def
Normal file
@ -0,0 +1,10 @@
|
||||
; MobsetWeb.def : 定义模块参数。
|
||||
|
||||
LIBRARY
|
||||
|
||||
EXPORTS
|
||||
DllCanUnloadNow PRIVATE
|
||||
DllGetClassObject PRIVATE
|
||||
DllRegisterServer PRIVATE
|
||||
DllUnregisterServer PRIVATE
|
||||
DllInstall PRIVATE
|
47
MobsetWeb.idl
Normal file
47
MobsetWeb.idl
Normal file
@ -0,0 +1,47 @@
|
||||
// MobsetWeb.idl : MobsetWeb 的 IDL 源
|
||||
//
|
||||
|
||||
// 此文件将由 MIDL 工具处理以
|
||||
// 产生类型库(MobsetWeb.tlb)和封送处理代码。
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(5672C687-21CF-4CBE-9E1C-E1460799B581),
|
||||
dual,
|
||||
nonextensible,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ISms : IDispatch{
|
||||
[id(1)] HRESULT CheckPasswd([in] BSTR User, [in] BSTR Passwd, [in] BSTR Encrypt, [in] LONG Purview, [out,retval] LONG* pRet);
|
||||
[id(11)] HRESULT CheckPasswd2([in] LONG CorpID , [in] BSTR User, [in] BSTR Passwd, [in] BSTR TimeStamp, [in] BSTR Encrypt, [in] LONG Purview, [out, retval] LONG* pRet);
|
||||
[id(2)] HRESULT GetPasswd([in] BSTR User, [in] BSTR Passwd, [out,retval] BSTR* pRet);
|
||||
[id(3)] HRESULT EncSPMS([in] BSTR Key, [in] BSTR Src, [out,retval] BSTR* pRet);
|
||||
[id(4)] HRESULT GetPurview([in] LONG PurviewType, [out,retval] LONG* pRet);
|
||||
[id(5)] HRESULT HasSWTPre([in] LONG lSDK, [out,retval] LONG* pRet);
|
||||
[id(6)] HRESULT isHasPurview([in] LONG Purview, [in] LONG AllPurview, [out,retval] LONG* pRet);
|
||||
[id(7)] HRESULT SendSms([in] IDispatch* pAdoConnect, [in] LONG lCorpID, [in] LONG lUserID, [in] LONG lLongSms,[in] LONG lFD, [in] BSTR Timer, [in] BSTR IP, [in] BSTR AddNum, [in] BSTR Recver,[in] BSTR Mobiles, [in] BSTR Msg, [out,retval] LONG* pSendCount);
|
||||
[propget, id(8)] HRESULT SendRet([out, retval] BSTR* pVal);
|
||||
[propput, id(8)] HRESULT SendRet([in] BSTR newVal);
|
||||
[id(9)] HRESULT SendSms_Excel([in] IDispatch* pAdoConnect, [in] LONG lCorpID, [in] LONG lUserID, [in] LONG lLongSms,[in] LONG lFD, [in] BSTR Timer2, [in] BSTR IP, [in] BSTR ExcelFileName, [out,retval] LONG* lSendCount);
|
||||
[id(10)] HRESULT CorpSmsHttpReq([in] BSTR pReq, [in] BSTR pIPAddr, [in] BSTR pReqVer, [out,retval] BSTR* pRet);
|
||||
[id(12)] HRESULT CheckPasswd3([in] LONG CorpID, [in] BSTR User, [in] BSTR Passwd, [in] BSTR TimeStamp, [in] BSTR Encrypt, [in] LONG Purview, [out, retval] BSTR* pRet);
|
||||
};
|
||||
[
|
||||
uuid(926542BC-66DD-4977-8850-E29198DDE624),
|
||||
version(1.0),
|
||||
]
|
||||
library MobsetWebLib
|
||||
{
|
||||
importlib("stdole2.tlb");
|
||||
[
|
||||
uuid(A42502DF-7605-4D99-9F32-FFE224DF5571)
|
||||
]
|
||||
coclass Sms
|
||||
{
|
||||
[default] interface ISms;
|
||||
};
|
||||
};
|
||||
|
BIN
MobsetWeb.rc
Normal file
BIN
MobsetWeb.rc
Normal file
Binary file not shown.
3
MobsetWeb.rgs
Normal file
3
MobsetWeb.rgs
Normal file
@ -0,0 +1,3 @@
|
||||
HKCR
|
||||
{
|
||||
}
|
26
MobsetWeb.sln
Normal file
26
MobsetWeb.sln
Normal file
@ -0,0 +1,26 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MobsetWeb", "MobsetWeb.vcxproj", "{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Win32 = Debug|Win32
|
||||
Debug|x64 = Debug|x64
|
||||
Release|Win32 = Release|Win32
|
||||
Release|x64 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Debug|x64.Build.0 = Debug|x64
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Release|Win32.Build.0 = Release|Win32
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Release|x64.ActiveCfg = Release|x64
|
||||
{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}.Release|x64.Build.0 = Release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
444
MobsetWeb.vcxproj
Normal file
444
MobsetWeb.vcxproj
Normal file
@ -0,0 +1,444 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug x64|Win32">
|
||||
<Configuration>Debug x64</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug x64|x64">
|
||||
<Configuration>Debug x64</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{44F678E3-A3EC-464C-94B1-A2AD95F80CB4}</ProjectGuid>
|
||||
<Keyword>AtlProj</Keyword>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<UseOfAtl>Dynamic</UseOfAtl>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<UseOfAtl>Dynamic</UseOfAtl>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
<PlatformToolset>Windows7.1SDK</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<UseOfAtl>Dynamic</UseOfAtl>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<UseOfAtl>Dynamic</UseOfAtl>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
<PlatformToolset>Windows7.1SDK</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<UseOfAtl>Static</UseOfAtl>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Static</UseOfMfc>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<UseOfAtl>Static</UseOfAtl>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Static</UseOfMfc>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">
|
||||
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">
|
||||
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<IgnoreImportLibrary>true</IgnoreImportLibrary>
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
|
||||
</ClCompile>
|
||||
<Midl>
|
||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||
<TargetEnvironment>Win32</TargetEnvironment>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<HeaderFileName>MobsetWeb_i.h</HeaderFileName>
|
||||
<InterfaceIdentifierFileName>MobsetWeb_i.c</InterfaceIdentifierFileName>
|
||||
<ProxyFileName>MobsetWeb_p.c</ProxyFileName>
|
||||
<GenerateStublessProxies>true</GenerateStublessProxies>
|
||||
<TypeLibraryName>$(IntDir)MobsetWeb.tlb</TypeLibraryName>
|
||||
<DllDataFileName>
|
||||
</DllDataFileName>
|
||||
<ValidateAllParameters>true</ValidateAllParameters>
|
||||
</Midl>
|
||||
<ResourceCompile>
|
||||
<Culture>0x0804</Culture>
|
||||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ModuleDefinitionFile>.\MobsetWeb.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<RegisterOutput>true</RegisterOutput>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
|
||||
</ClCompile>
|
||||
<Midl>
|
||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||
<TargetEnvironment>Win32</TargetEnvironment>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<HeaderFileName>MobsetWeb_i.h</HeaderFileName>
|
||||
<InterfaceIdentifierFileName>MobsetWeb_i.c</InterfaceIdentifierFileName>
|
||||
<ProxyFileName>MobsetWeb_p.c</ProxyFileName>
|
||||
<GenerateStublessProxies>true</GenerateStublessProxies>
|
||||
<TypeLibraryName>$(IntDir)MobsetWeb.tlb</TypeLibraryName>
|
||||
<DllDataFileName>
|
||||
</DllDataFileName>
|
||||
<ValidateAllParameters>true</ValidateAllParameters>
|
||||
</Midl>
|
||||
<ResourceCompile>
|
||||
<Culture>0x0804</Culture>
|
||||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ModuleDefinitionFile>.\MobsetWeb.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<RegisterOutput>true</RegisterOutput>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
|
||||
</ClCompile>
|
||||
<Midl>
|
||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<HeaderFileName>MobsetWeb_i.h</HeaderFileName>
|
||||
<InterfaceIdentifierFileName>MobsetWeb_i.c</InterfaceIdentifierFileName>
|
||||
<ProxyFileName>MobsetWeb_p.c</ProxyFileName>
|
||||
<GenerateStublessProxies>true</GenerateStublessProxies>
|
||||
<TypeLibraryName>$(IntDir)MobsetWeb.tlb</TypeLibraryName>
|
||||
<DllDataFileName>
|
||||
</DllDataFileName>
|
||||
</Midl>
|
||||
<ResourceCompile>
|
||||
<Culture>0x0804</Culture>
|
||||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ModuleDefinitionFile>.\MobsetWeb.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<RegisterOutput>true</RegisterOutput>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
|
||||
</ClCompile>
|
||||
<Midl>
|
||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<HeaderFileName>MobsetWeb_i.h</HeaderFileName>
|
||||
<InterfaceIdentifierFileName>MobsetWeb_i.c</InterfaceIdentifierFileName>
|
||||
<ProxyFileName>MobsetWeb_p.c</ProxyFileName>
|
||||
<GenerateStublessProxies>true</GenerateStublessProxies>
|
||||
<TypeLibraryName>$(IntDir)MobsetWeb.tlb</TypeLibraryName>
|
||||
<DllDataFileName>
|
||||
</DllDataFileName>
|
||||
</Midl>
|
||||
<ResourceCompile>
|
||||
<Culture>0x0804</Culture>
|
||||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ModuleDefinitionFile>.\MobsetWeb.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<RegisterOutput>true</RegisterOutput>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
|
||||
</ClCompile>
|
||||
<Midl>
|
||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||
<TargetEnvironment>Win32</TargetEnvironment>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<HeaderFileName>MobsetWeb_i.h</HeaderFileName>
|
||||
<InterfaceIdentifierFileName>MobsetWeb_i.c</InterfaceIdentifierFileName>
|
||||
<ProxyFileName>MobsetWeb_p.c</ProxyFileName>
|
||||
<GenerateStublessProxies>true</GenerateStublessProxies>
|
||||
<TypeLibraryName>$(IntDir)MobsetWeb.tlb</TypeLibraryName>
|
||||
<DllDataFileName>
|
||||
</DllDataFileName>
|
||||
<ValidateAllParameters>true</ValidateAllParameters>
|
||||
</Midl>
|
||||
<ResourceCompile>
|
||||
<Culture>0x0804</Culture>
|
||||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ModuleDefinitionFile>.\MobsetWeb.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>No</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<RegisterOutput>true</RegisterOutput>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<UACUIAccess>true</UACUIAccess>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
|
||||
</ClCompile>
|
||||
<Midl>
|
||||
<MkTypLibCompatible>false</MkTypLibCompatible>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<HeaderFileName>MobsetWeb_i.h</HeaderFileName>
|
||||
<InterfaceIdentifierFileName>MobsetWeb_i.c</InterfaceIdentifierFileName>
|
||||
<ProxyFileName>MobsetWeb_p.c</ProxyFileName>
|
||||
<GenerateStublessProxies>true</GenerateStublessProxies>
|
||||
<TypeLibraryName>$(IntDir)MobsetWeb.tlb</TypeLibraryName>
|
||||
<DllDataFileName>
|
||||
</DllDataFileName>
|
||||
</Midl>
|
||||
<ResourceCompile>
|
||||
<Culture>0x0804</Culture>
|
||||
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ResourceCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<ModuleDefinitionFile>.\MobsetWeb.def</ModuleDefinitionFile>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<RegisterOutput>true</RegisterOutput>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\public\ado\Ado.cpp" />
|
||||
<ClCompile Include="..\public\ado\AdoCommand.cpp" />
|
||||
<ClCompile Include="..\public\ado\AdoRecordSet.cpp" />
|
||||
<ClCompile Include="..\public\CMarkup\Markup.cpp" />
|
||||
<ClCompile Include="..\public\des\Des.cpp" />
|
||||
<ClCompile Include="..\public\LuTool.cpp" />
|
||||
<ClCompile Include="..\public\md53\MD5_L.cpp" />
|
||||
<ClCompile Include="..\public\SqlPool\SqlPool.cpp" />
|
||||
<ClCompile Include="..\public\StringSort\StringSort.cpp" />
|
||||
<ClCompile Include="dllmain.cpp">
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">
|
||||
</PrecompiledHeader>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsetWeb.cpp" />
|
||||
<ClCompile Include="MobsetWeb_i.c">
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">
|
||||
</PrecompiledHeader>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Sms.cpp" />
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="xdlldata.c">
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug x64|x64'">
|
||||
</PrecompiledHeader>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
|
||||
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\public\ado\Ado.h" />
|
||||
<ClInclude Include="..\public\ado\AdoCommand.h" />
|
||||
<ClInclude Include="..\public\ado\AdoRecordSet.h" />
|
||||
<ClInclude Include="..\public\AutoCoInitializeEx\AutoCoInitializeEx.h" />
|
||||
<ClInclude Include="..\public\CMarkup\Markup.h" />
|
||||
<ClInclude Include="..\public\des\Des.h" />
|
||||
<ClInclude Include="..\public\LuTool.h" />
|
||||
<ClInclude Include="..\public\md53\MD5_L.h" />
|
||||
<ClInclude Include="..\public\SAStatusLog\SAStatusLog.h" />
|
||||
<ClInclude Include="..\public\SendPub.h" />
|
||||
<ClInclude Include="..\public\SqlPool\SqlPool.h" />
|
||||
<ClInclude Include="..\public\StringSort\StringSort.h" />
|
||||
<ClInclude Include="dllmain.h" />
|
||||
<ClInclude Include="MobsetWeb_i.h" />
|
||||
<ClInclude Include="Resource.h" />
|
||||
<ClInclude Include="Sms.h" />
|
||||
<ClInclude Include="stdafx.h" />
|
||||
<ClInclude Include="targetver.h" />
|
||||
<ClInclude Include="xdlldata.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="MobsetWeb.rc" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="MobsetWeb.def" />
|
||||
<None Include="MobsetWeb.rgs" />
|
||||
<None Include="ReadMe.txt" />
|
||||
<None Include="Sms.rgs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Midl Include="MobsetWeb.idl" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
149
MobsetWeb.vcxproj.filters
Normal file
149
MobsetWeb.vcxproj.filters
Normal file
@ -0,0 +1,149 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="源文件">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="头文件">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="资源文件">
|
||||
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
|
||||
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="生成的文件">
|
||||
<UniqueIdentifier>{b6f6edc5-6eea-4d8b-b627-3ee73adbc9b4}</UniqueIdentifier>
|
||||
<SourceControlFiles>False</SourceControlFiles>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="stdafx.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsetWeb.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="dllmain.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="xdlldata.c">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="MobsetWeb_i.c">
|
||||
<Filter>生成的文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="Sms.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\des\Des.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\ado\Ado.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\ado\AdoCommand.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\ado\AdoRecordSet.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\md53\MD5_L.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\LuTool.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\StringSort\StringSort.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\SqlPool\SqlPool.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\public\CMarkup\Markup.cpp">
|
||||
<Filter>源文件</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="stdafx.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="targetver.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Resource.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="dllmain.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="xdlldata.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MobsetWeb_i.h">
|
||||
<Filter>生成的文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="Sms.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\des\Des.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\SendPub.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\ado\Ado.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\ado\AdoCommand.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\ado\AdoRecordSet.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\md53\MD5_L.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\SAStatusLog\SAStatusLog.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\LuTool.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\StringSort\StringSort.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\SqlPool\SqlPool.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\CMarkup\Markup.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\public\AutoCoInitializeEx\AutoCoInitializeEx.h">
|
||||
<Filter>头文件</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ResourceCompile Include="MobsetWeb.rc">
|
||||
<Filter>资源文件</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ReadMe.txt" />
|
||||
<None Include="MobsetWeb.rgs">
|
||||
<Filter>资源文件</Filter>
|
||||
</None>
|
||||
<None Include="MobsetWeb.def">
|
||||
<Filter>源文件</Filter>
|
||||
</None>
|
||||
<None Include="Sms.rgs">
|
||||
<Filter>资源文件</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Midl Include="MobsetWeb.idl">
|
||||
<Filter>源文件</Filter>
|
||||
</Midl>
|
||||
</ItemGroup>
|
||||
</Project>
|
456
MobsetWeb_i.h
Normal file
456
MobsetWeb_i.h
Normal file
@ -0,0 +1,456 @@
|
||||
|
||||
|
||||
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
||||
|
||||
|
||||
/* File created by MIDL compiler version 8.01.0622 */
|
||||
/* at Tue Jan 19 11:14:07 2038
|
||||
*/
|
||||
/* Compiler settings for MobsetWeb.idl:
|
||||
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622
|
||||
protocol : dce , ms_ext, c_ext, robust
|
||||
error checks: allocation ref bounds_check enum stub_data
|
||||
VC __declspec() decoration level:
|
||||
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
||||
DECLSPEC_UUID(), MIDL_INTERFACE()
|
||||
*/
|
||||
/* @@MIDL_FILE_HEADING( ) */
|
||||
|
||||
|
||||
|
||||
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 500
|
||||
#endif
|
||||
|
||||
#include "rpc.h"
|
||||
#include "rpcndr.h"
|
||||
|
||||
#ifndef __RPCNDR_H_VERSION__
|
||||
#error this stub requires an updated version of <rpcndr.h>
|
||||
#endif /* __RPCNDR_H_VERSION__ */
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include "windows.h"
|
||||
#include "ole2.h"
|
||||
#endif /*COM_NO_WINDOWS_H*/
|
||||
|
||||
#ifndef __MobsetWeb_i_h__
|
||||
#define __MobsetWeb_i_h__
|
||||
|
||||
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
/* Forward Declarations */
|
||||
|
||||
#ifndef __ISms_FWD_DEFINED__
|
||||
#define __ISms_FWD_DEFINED__
|
||||
typedef interface ISms ISms;
|
||||
|
||||
#endif /* __ISms_FWD_DEFINED__ */
|
||||
|
||||
|
||||
#ifndef __Sms_FWD_DEFINED__
|
||||
#define __Sms_FWD_DEFINED__
|
||||
|
||||
#ifdef __cplusplus
|
||||
typedef class Sms Sms;
|
||||
#else
|
||||
typedef struct Sms Sms;
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* __Sms_FWD_DEFINED__ */
|
||||
|
||||
|
||||
/* header files for imported files */
|
||||
#include "oaidl.h"
|
||||
#include "ocidl.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef __ISms_INTERFACE_DEFINED__
|
||||
#define __ISms_INTERFACE_DEFINED__
|
||||
|
||||
/* interface ISms */
|
||||
/* [unique][nonextensible][dual][uuid][object] */
|
||||
|
||||
|
||||
EXTERN_C const IID IID_ISms;
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
|
||||
MIDL_INTERFACE("5672C687-21CF-4CBE-9E1C-E1460799B581")
|
||||
ISms : public IDispatch
|
||||
{
|
||||
public:
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE CheckPasswd(
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [in] */ BSTR Encrypt,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [retval][out] */ LONG *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE CheckPasswd2(
|
||||
/* [in] */ LONG CorpID,
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [in] */ BSTR TimeStamp,
|
||||
/* [in] */ BSTR Encrypt,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [retval][out] */ LONG *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPasswd(
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [retval][out] */ BSTR *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE EncSPMS(
|
||||
/* [in] */ BSTR Key,
|
||||
/* [in] */ BSTR Src,
|
||||
/* [retval][out] */ BSTR *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPurview(
|
||||
/* [in] */ LONG PurviewType,
|
||||
/* [retval][out] */ LONG *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE HasSWTPre(
|
||||
/* [in] */ LONG lSDK,
|
||||
/* [retval][out] */ LONG *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE isHasPurview(
|
||||
/* [in] */ LONG Purview,
|
||||
/* [in] */ LONG AllPurview,
|
||||
/* [retval][out] */ LONG *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendSms(
|
||||
/* [in] */ IDispatch *pAdoConnect,
|
||||
/* [in] */ LONG lCorpID,
|
||||
/* [in] */ LONG lUserID,
|
||||
/* [in] */ LONG lLongSms,
|
||||
/* [in] */ LONG lFD,
|
||||
/* [in] */ BSTR Timer,
|
||||
/* [in] */ BSTR IP,
|
||||
/* [in] */ BSTR AddNum,
|
||||
/* [in] */ BSTR Recver,
|
||||
/* [in] */ BSTR Mobiles,
|
||||
/* [in] */ BSTR Msg,
|
||||
/* [retval][out] */ LONG *pSendCount) = 0;
|
||||
|
||||
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_SendRet(
|
||||
/* [retval][out] */ BSTR *pVal) = 0;
|
||||
|
||||
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_SendRet(
|
||||
/* [in] */ BSTR newVal) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE SendSms_Excel(
|
||||
/* [in] */ IDispatch *pAdoConnect,
|
||||
/* [in] */ LONG lCorpID,
|
||||
/* [in] */ LONG lUserID,
|
||||
/* [in] */ LONG lLongSms,
|
||||
/* [in] */ LONG lFD,
|
||||
/* [in] */ BSTR Timer2,
|
||||
/* [in] */ BSTR IP,
|
||||
/* [in] */ BSTR ExcelFileName,
|
||||
/* [retval][out] */ LONG *lSendCount) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE CorpSmsHttpReq(
|
||||
/* [in] */ BSTR pReq,
|
||||
/* [in] */ BSTR pIPAddr,
|
||||
/* [in] */ BSTR pReqVer,
|
||||
/* [retval][out] */ BSTR *pRet) = 0;
|
||||
|
||||
virtual /* [id] */ HRESULT STDMETHODCALLTYPE CheckPasswd3(
|
||||
/* [in] */ LONG CorpID,
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [in] */ BSTR TimeStamp,
|
||||
/* [in] */ BSTR Encrypt,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [retval][out] */ BSTR *pRet) = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
#else /* C style interface */
|
||||
|
||||
typedef struct ISmsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ISms * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ISms * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ISms * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ISms * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ISms * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ISms * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ISms * This,
|
||||
/* [annotation][in] */
|
||||
_In_ DISPID dispIdMember,
|
||||
/* [annotation][in] */
|
||||
_In_ REFIID riid,
|
||||
/* [annotation][in] */
|
||||
_In_ LCID lcid,
|
||||
/* [annotation][in] */
|
||||
_In_ WORD wFlags,
|
||||
/* [annotation][out][in] */
|
||||
_In_ DISPPARAMS *pDispParams,
|
||||
/* [annotation][out] */
|
||||
_Out_opt_ VARIANT *pVarResult,
|
||||
/* [annotation][out] */
|
||||
_Out_opt_ EXCEPINFO *pExcepInfo,
|
||||
/* [annotation][out] */
|
||||
_Out_opt_ UINT *puArgErr);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *CheckPasswd )(
|
||||
ISms * This,
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [in] */ BSTR Encrypt,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [retval][out] */ LONG *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *CheckPasswd2 )(
|
||||
ISms * This,
|
||||
/* [in] */ LONG CorpID,
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [in] */ BSTR TimeStamp,
|
||||
/* [in] */ BSTR Encrypt,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [retval][out] */ LONG *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPasswd )(
|
||||
ISms * This,
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [retval][out] */ BSTR *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *EncSPMS )(
|
||||
ISms * This,
|
||||
/* [in] */ BSTR Key,
|
||||
/* [in] */ BSTR Src,
|
||||
/* [retval][out] */ BSTR *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *GetPurview )(
|
||||
ISms * This,
|
||||
/* [in] */ LONG PurviewType,
|
||||
/* [retval][out] */ LONG *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *HasSWTPre )(
|
||||
ISms * This,
|
||||
/* [in] */ LONG lSDK,
|
||||
/* [retval][out] */ LONG *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *isHasPurview )(
|
||||
ISms * This,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [in] */ LONG AllPurview,
|
||||
/* [retval][out] */ LONG *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *SendSms )(
|
||||
ISms * This,
|
||||
/* [in] */ IDispatch *pAdoConnect,
|
||||
/* [in] */ LONG lCorpID,
|
||||
/* [in] */ LONG lUserID,
|
||||
/* [in] */ LONG lLongSms,
|
||||
/* [in] */ LONG lFD,
|
||||
/* [in] */ BSTR Timer,
|
||||
/* [in] */ BSTR IP,
|
||||
/* [in] */ BSTR AddNum,
|
||||
/* [in] */ BSTR Recver,
|
||||
/* [in] */ BSTR Mobiles,
|
||||
/* [in] */ BSTR Msg,
|
||||
/* [retval][out] */ LONG *pSendCount);
|
||||
|
||||
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_SendRet )(
|
||||
ISms * This,
|
||||
/* [retval][out] */ BSTR *pVal);
|
||||
|
||||
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_SendRet )(
|
||||
ISms * This,
|
||||
/* [in] */ BSTR newVal);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *SendSms_Excel )(
|
||||
ISms * This,
|
||||
/* [in] */ IDispatch *pAdoConnect,
|
||||
/* [in] */ LONG lCorpID,
|
||||
/* [in] */ LONG lUserID,
|
||||
/* [in] */ LONG lLongSms,
|
||||
/* [in] */ LONG lFD,
|
||||
/* [in] */ BSTR Timer2,
|
||||
/* [in] */ BSTR IP,
|
||||
/* [in] */ BSTR ExcelFileName,
|
||||
/* [retval][out] */ LONG *lSendCount);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *CorpSmsHttpReq )(
|
||||
ISms * This,
|
||||
/* [in] */ BSTR pReq,
|
||||
/* [in] */ BSTR pIPAddr,
|
||||
/* [in] */ BSTR pReqVer,
|
||||
/* [retval][out] */ BSTR *pRet);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *CheckPasswd3 )(
|
||||
ISms * This,
|
||||
/* [in] */ LONG CorpID,
|
||||
/* [in] */ BSTR User,
|
||||
/* [in] */ BSTR Passwd,
|
||||
/* [in] */ BSTR TimeStamp,
|
||||
/* [in] */ BSTR Encrypt,
|
||||
/* [in] */ LONG Purview,
|
||||
/* [retval][out] */ BSTR *pRet);
|
||||
|
||||
END_INTERFACE
|
||||
} ISmsVtbl;
|
||||
|
||||
interface ISms
|
||||
{
|
||||
CONST_VTBL struct ISmsVtbl *lpVtbl;
|
||||
};
|
||||
|
||||
|
||||
|
||||
#ifdef COBJMACROS
|
||||
|
||||
|
||||
#define ISms_QueryInterface(This,riid,ppvObject) \
|
||||
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
|
||||
|
||||
#define ISms_AddRef(This) \
|
||||
( (This)->lpVtbl -> AddRef(This) )
|
||||
|
||||
#define ISms_Release(This) \
|
||||
( (This)->lpVtbl -> Release(This) )
|
||||
|
||||
|
||||
#define ISms_GetTypeInfoCount(This,pctinfo) \
|
||||
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
|
||||
|
||||
#define ISms_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
|
||||
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
|
||||
|
||||
#define ISms_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
|
||||
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
|
||||
|
||||
#define ISms_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
|
||||
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
|
||||
|
||||
|
||||
#define ISms_CheckPasswd(This,User,Passwd,Encrypt,Purview,pRet) \
|
||||
( (This)->lpVtbl -> CheckPasswd(This,User,Passwd,Encrypt,Purview,pRet) )
|
||||
|
||||
#define ISms_CheckPasswd2(This,CorpID,User,Passwd,TimeStamp,Encrypt,Purview,pRet) \
|
||||
( (This)->lpVtbl -> CheckPasswd2(This,CorpID,User,Passwd,TimeStamp,Encrypt,Purview,pRet) )
|
||||
|
||||
#define ISms_GetPasswd(This,User,Passwd,pRet) \
|
||||
( (This)->lpVtbl -> GetPasswd(This,User,Passwd,pRet) )
|
||||
|
||||
#define ISms_EncSPMS(This,Key,Src,pRet) \
|
||||
( (This)->lpVtbl -> EncSPMS(This,Key,Src,pRet) )
|
||||
|
||||
#define ISms_GetPurview(This,PurviewType,pRet) \
|
||||
( (This)->lpVtbl -> GetPurview(This,PurviewType,pRet) )
|
||||
|
||||
#define ISms_HasSWTPre(This,lSDK,pRet) \
|
||||
( (This)->lpVtbl -> HasSWTPre(This,lSDK,pRet) )
|
||||
|
||||
#define ISms_isHasPurview(This,Purview,AllPurview,pRet) \
|
||||
( (This)->lpVtbl -> isHasPurview(This,Purview,AllPurview,pRet) )
|
||||
|
||||
#define ISms_SendSms(This,pAdoConnect,lCorpID,lUserID,lLongSms,lFD,Timer,IP,AddNum,Recver,Mobiles,Msg,pSendCount) \
|
||||
( (This)->lpVtbl -> SendSms(This,pAdoConnect,lCorpID,lUserID,lLongSms,lFD,Timer,IP,AddNum,Recver,Mobiles,Msg,pSendCount) )
|
||||
|
||||
#define ISms_get_SendRet(This,pVal) \
|
||||
( (This)->lpVtbl -> get_SendRet(This,pVal) )
|
||||
|
||||
#define ISms_put_SendRet(This,newVal) \
|
||||
( (This)->lpVtbl -> put_SendRet(This,newVal) )
|
||||
|
||||
#define ISms_SendSms_Excel(This,pAdoConnect,lCorpID,lUserID,lLongSms,lFD,Timer2,IP,ExcelFileName,lSendCount) \
|
||||
( (This)->lpVtbl -> SendSms_Excel(This,pAdoConnect,lCorpID,lUserID,lLongSms,lFD,Timer2,IP,ExcelFileName,lSendCount) )
|
||||
|
||||
#define ISms_CorpSmsHttpReq(This,pReq,pIPAddr,pReqVer,pRet) \
|
||||
( (This)->lpVtbl -> CorpSmsHttpReq(This,pReq,pIPAddr,pReqVer,pRet) )
|
||||
|
||||
#define ISms_CheckPasswd3(This,CorpID,User,Passwd,TimeStamp,Encrypt,Purview,pRet) \
|
||||
( (This)->lpVtbl -> CheckPasswd3(This,CorpID,User,Passwd,TimeStamp,Encrypt,Purview,pRet) )
|
||||
|
||||
#endif /* COBJMACROS */
|
||||
|
||||
|
||||
#endif /* C style interface */
|
||||
|
||||
|
||||
|
||||
|
||||
#endif /* __ISms_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
|
||||
#ifndef __MobsetWebLib_LIBRARY_DEFINED__
|
||||
#define __MobsetWebLib_LIBRARY_DEFINED__
|
||||
|
||||
/* library MobsetWebLib */
|
||||
/* [version][uuid] */
|
||||
|
||||
|
||||
EXTERN_C const IID LIBID_MobsetWebLib;
|
||||
|
||||
EXTERN_C const CLSID CLSID_Sms;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
class DECLSPEC_UUID("A42502DF-7605-4D99-9F32-FFE224DF5571")
|
||||
Sms;
|
||||
#endif
|
||||
#endif /* __MobsetWebLib_LIBRARY_DEFINED__ */
|
||||
|
||||
/* Additional Prototypes for ALL interfaces */
|
||||
|
||||
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
|
||||
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
|
||||
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
|
||||
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
|
||||
|
||||
unsigned long __RPC_USER BSTR_UserSize64( unsigned long *, unsigned long , BSTR * );
|
||||
unsigned char * __RPC_USER BSTR_UserMarshal64( unsigned long *, unsigned char *, BSTR * );
|
||||
unsigned char * __RPC_USER BSTR_UserUnmarshal64(unsigned long *, unsigned char *, BSTR * );
|
||||
void __RPC_USER BSTR_UserFree64( unsigned long *, BSTR * );
|
||||
|
||||
/* end of Additional Prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
66
ReadMe.txt
Normal file
66
ReadMe.txt
Normal file
@ -0,0 +1,66 @@
|
||||
========================================================================
|
||||
活动模板库 : MobsetWeb 项目概述
|
||||
========================================================================
|
||||
|
||||
应用程序向导已为您创建了此 MobsetWeb 项目,作为编写动态链接库 (DLL)
|
||||
的起点。
|
||||
|
||||
本文件概要介绍组成项目的每个文件的内容。
|
||||
|
||||
MobsetWeb.vcxproj
|
||||
这是使用应用程序向导生成的 VC++ 项目的主项目文件,
|
||||
其中包含生成该文件的 Visual C++ 的版本信息,
|
||||
以及有关使用应用程序向导选择的平台、配置和项目功能的信息。
|
||||
|
||||
MobsetWeb.vcxproj.filters
|
||||
这是使用“应用程序向导”生成的 VC++ 项目筛选器文件。
|
||||
它包含有关项目文件与筛选器之间的关联信息。 在 IDE 中,通过这种关联,
|
||||
在特定节点下以分组形式显示具有相似扩展名的文件。
|
||||
例如,“.cpp”文件与“源文件”筛选器关联。
|
||||
|
||||
MobsetWeb.idl
|
||||
此文件包含项目中定义的类型库、接口和组件类的 IDL 定义。
|
||||
此文件将由 MIDL 编译器处理以生成:
|
||||
C++ 接口定义和 GUID 声明 (MobsetWeb.h)
|
||||
GUID 定义 (MobsetWeb_i.c)
|
||||
类型库 (MobsetWeb.tlb)
|
||||
封送处理代码 (MobsetWeb_p.c 和
|
||||
dlldata.c)
|
||||
|
||||
MobsetWeb.h
|
||||
此文件包含 MobsetWeb.idl 中定义的项目的 C++ 接口定义
|
||||
和 GUID 声明。 它将在编译过程中由 MIDL 重新生成。
|
||||
|
||||
MobsetWeb.cpp
|
||||
此文件包含对象映射和 DLL 导出的实现。
|
||||
|
||||
MobsetWeb.rc
|
||||
这是程序使用的所有 Microsoft Windows 资源的列表。
|
||||
|
||||
MobsetWeb.def
|
||||
此模块定义文件为链接器提供有关 DLL 所要求的导出的信息,
|
||||
它包含用于以下内容的导出:
|
||||
DllGetClassObject
|
||||
DllCanUnloadNow
|
||||
DllRegisterServer
|
||||
DllUnregisterServer
|
||||
DllInstall
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
其他标准文件:
|
||||
|
||||
StdAfx.h,StdAfx.cpp
|
||||
这些文件用于生成名为 MobsetWeb.pch 的预编译头 (PCH) 文件和
|
||||
名为 StdAfx.obj 的预编译类型文件。
|
||||
|
||||
Resource.h
|
||||
这是用于定义资源 ID 的标准头文件。
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
其他注释:
|
||||
|
||||
|
||||
“MFC 支持”选项可用于将 Microsoft 基础类库构建到您的主干应用程序中,
|
||||
从而让您能够使用 MFC 类、对象和函数。
|
||||
/////////////////////////////////////////////////////////////////////////////
|
76
Sms.h
Normal file
76
Sms.h
Normal file
@ -0,0 +1,76 @@
|
||||
// Sms.h : CSms 的声明
|
||||
|
||||
#pragma once
|
||||
#include "resource.h" // 主符号
|
||||
|
||||
|
||||
|
||||
#include "MobsetWeb_i.h"
|
||||
|
||||
|
||||
|
||||
#if defined(_WIN32_WCE) && !defined(_CE_DCOM) && !defined(_CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA)
|
||||
#error "Windows CE 平台(如不提供完全 DCOM 支持的 Windows Mobile 平台)上无法正确支持单线程 COM 对象。定义 _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA 可强制 ATL 支持创建单线程 COM 对象实现并允许使用其单线程 COM 对象实现。rgs 文件中的线程模型已被设置为“Free”,原因是该模型是非 DCOM Windows CE 平台支持的唯一线程模型。"
|
||||
#endif
|
||||
|
||||
using namespace ATL;
|
||||
|
||||
|
||||
// CSms
|
||||
|
||||
class ATL_NO_VTABLE CSms :
|
||||
public CComObjectRootEx<CComSingleThreadModel>,
|
||||
public CComCoClass<CSms, &CLSID_Sms>,
|
||||
public IDispatchImpl<ISms, &IID_ISms, &LIBID_MobsetWebLib, /*wMajor =*/ 1, /*wMinor =*/ 0>
|
||||
{
|
||||
public:
|
||||
CString m_strSendRet;
|
||||
CAdoConnection m_AdoConnection;
|
||||
public:
|
||||
CSms()
|
||||
{
|
||||
}
|
||||
void GetCurrentPath(TCHAR *pPath);
|
||||
|
||||
DECLARE_REGISTRY_RESOURCEID(IDR_SMS)
|
||||
|
||||
|
||||
BEGIN_COM_MAP(CSms)
|
||||
COM_INTERFACE_ENTRY(ISms)
|
||||
COM_INTERFACE_ENTRY(IDispatch)
|
||||
END_COM_MAP()
|
||||
|
||||
|
||||
|
||||
DECLARE_PROTECT_FINAL_CONSTRUCT()
|
||||
|
||||
HRESULT FinalConstruct()
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void FinalRelease()
|
||||
{
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
|
||||
|
||||
STDMETHOD(CheckPasswd)(BSTR User, BSTR Passwd, BSTR Encrypt, LONG Purview, LONG* pRet);
|
||||
STDMETHOD(CheckPasswd2)(LONG CorpID,BSTR User, BSTR Passwd, BSTR TimeStamp, BSTR Encrypt, LONG Purview, LONG* pRet);
|
||||
STDMETHOD(GetPasswd)(BSTR User, BSTR Passwd, BSTR* pRet);
|
||||
STDMETHOD(DePasswd)(BSTR User, BSTR Passwd, BSTR* pRet);
|
||||
STDMETHOD(EncSPMS)(BSTR Key, BSTR Src, BSTR* pRet);
|
||||
STDMETHOD(GetPurview)(LONG PurviewType, LONG* pRet);
|
||||
STDMETHOD(HasSWTPre)(LONG lSDK, LONG* pRet);
|
||||
STDMETHOD(isHasPurview)(LONG Purview, LONG AllPurview, LONG* pRet);
|
||||
STDMETHOD(SendSms)(IDispatch* pAdoConnect, LONG lCorpID, LONG lUserID, LONG lLongSms,LONG lFD, BSTR Timer, BSTR IP, BSTR AddNum, BSTR Recver, BSTR Mobiles, BSTR Msg, LONG* pSendCount);
|
||||
STDMETHOD(get_SendRet)(BSTR* pVal);
|
||||
STDMETHOD(put_SendRet)(BSTR newVal);
|
||||
STDMETHOD(SendSms_Excel)(IDispatch* pAdoConnect, LONG lCorpID, LONG lUserID, LONG lLongSms,LONG lFD, BSTR Timer2, BSTR IP, BSTR ExcelFileName, LONG* lSendCount);
|
||||
STDMETHOD(CorpSmsHttpReq)(BSTR pReq, BSTR pIPAddr, BSTR pReqVer, BSTR* pRet);
|
||||
STDMETHOD(CheckPasswd3)(LONG CorpID, BSTR User, BSTR Passwd, BSTR TimeStamp, BSTR Encrypt, LONG Purview, BSTR* pRet);
|
||||
};
|
||||
|
||||
OBJECT_ENTRY_AUTO(__uuidof(Sms), CSms)
|
26
Sms.rgs
Normal file
26
Sms.rgs
Normal file
@ -0,0 +1,26 @@
|
||||
HKCR
|
||||
{
|
||||
MobsetWeb.Sms.1 = s 'Sms Class'
|
||||
{
|
||||
CLSID = s '{A42502DF-7605-4D99-9F32-FFE224DF5571}'
|
||||
}
|
||||
MobsetWeb.Sms = s 'Sms Class'
|
||||
{
|
||||
CurVer = s 'MobsetWeb.Sms.1'
|
||||
}
|
||||
NoRemove CLSID
|
||||
{
|
||||
ForceRemove {A42502DF-7605-4D99-9F32-FFE224DF5571} = s 'Sms Class'
|
||||
{
|
||||
ProgID = s 'MobsetWeb.Sms.1'
|
||||
VersionIndependentProgID = s 'MobsetWeb.Sms'
|
||||
ForceRemove Programmable
|
||||
InprocServer32 = s '%MODULE%'
|
||||
{
|
||||
val ThreadingModel = s 'Apartment'
|
||||
}
|
||||
TypeLib = s '{926542BC-66DD-4977-8850-E29198DDE624}'
|
||||
Version = s '1.0'
|
||||
}
|
||||
}
|
||||
}
|
11
XYSerup.xml
Normal file
11
XYSerup.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Setup>
|
||||
<Enable>1</Enable>
|
||||
<XYServer>
|
||||
<DBServer>61.144.122.66,1444</DBServer>
|
||||
<DBName>WebInfoDB</DBName>
|
||||
<DBUser>WebInfo_lu</DBUser>
|
||||
<DBPasswd>lu61443</DBPasswd>
|
||||
<MaxConnection>5</MaxConnection>
|
||||
</XYServer>
|
||||
</Setup>
|
39
dllmain.cpp
Normal file
39
dllmain.cpp
Normal file
@ -0,0 +1,39 @@
|
||||
// dllmain.cpp : DllMain µÄʵÏÖ¡£
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "resource.h"
|
||||
#include "MobsetWeb_i.h"
|
||||
#include "dllmain.h"
|
||||
#include "xdlldata.h"
|
||||
|
||||
CMobsetWebModule _AtlModule;
|
||||
|
||||
class CMobsetWebApp : public CWinApp
|
||||
{
|
||||
public:
|
||||
|
||||
// ÖØÐ´
|
||||
virtual BOOL InitInstance();
|
||||
virtual int ExitInstance();
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
BEGIN_MESSAGE_MAP(CMobsetWebApp, CWinApp)
|
||||
END_MESSAGE_MAP()
|
||||
|
||||
CMobsetWebApp theApp;
|
||||
|
||||
BOOL CMobsetWebApp::InitInstance()
|
||||
{
|
||||
#ifdef _MERGE_PROXYSTUB
|
||||
if (!PrxDllMain(m_hInstance, DLL_PROCESS_ATTACH, NULL))
|
||||
return FALSE;
|
||||
#endif
|
||||
return CWinApp::InitInstance();
|
||||
}
|
||||
|
||||
int CMobsetWebApp::ExitInstance()
|
||||
{
|
||||
return CWinApp::ExitInstance();
|
||||
}
|
10
dllmain.h
Normal file
10
dllmain.h
Normal file
@ -0,0 +1,10 @@
|
||||
// dllmain.h : 模块类的声明。
|
||||
|
||||
class CMobsetWebModule : public ATL::CAtlDllModuleT< CMobsetWebModule >
|
||||
{
|
||||
public :
|
||||
DECLARE_LIBID(LIBID_MobsetWebLib)
|
||||
DECLARE_REGISTRY_APPID_RESOURCEID(IDR_MOBSETWEB, "{5404DFF5-7C6C-424E-9ADE-1C5B775C22D7}")
|
||||
};
|
||||
|
||||
extern class CMobsetWebModule _AtlModule;
|
BIN
resource.h
Normal file
BIN
resource.h
Normal file
Binary file not shown.
5
stdafx.cpp
Normal file
5
stdafx.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
// stdafx.cpp : 只包括标准包含文件的源文件
|
||||
// MobsetWeb.pch 将作为预编译头
|
||||
// stdafx.obj 将包含预编译类型信息
|
||||
|
||||
#include "stdafx.h"
|
64
stdafx.h
Normal file
64
stdafx.h
Normal file
@ -0,0 +1,64 @@
|
||||
// stdafx.h : 标准系统包含文件的包含文件,
|
||||
// 或是经常使用但不常更改的
|
||||
// 特定于项目的包含文件
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef STRICT
|
||||
#define STRICT
|
||||
#endif
|
||||
|
||||
/*
|
||||
#define WINVER 0x0501
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#define _WIN32_WINDOWS 0x0501
|
||||
*/
|
||||
|
||||
#include "targetver.h"
|
||||
|
||||
#define _ATL_APARTMENT_THREADED
|
||||
|
||||
#define _ATL_NO_AUTOMATIC_NAMESPACE
|
||||
|
||||
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
|
||||
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#define _CRT_NON_CONFORMING_SWPRINTFS
|
||||
|
||||
#include <afxwin.h>
|
||||
#include <afxext.h>
|
||||
#include <afxole.h>
|
||||
#include <afxodlgs.h>
|
||||
#include <afxrich.h>
|
||||
#include <afxhtml.h>
|
||||
#include <afxcview.h>
|
||||
#include <afxwinappex.h>
|
||||
#include <afxframewndex.h>
|
||||
#include <afxmdiframewndex.h>
|
||||
|
||||
|
||||
#ifndef _AFX_NO_OLE_SUPPORT
|
||||
#include <afxdisp.h> // MFC 自动化类
|
||||
#endif // _AFX_NO_OLE_SUPPORT
|
||||
|
||||
#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
|
||||
|
||||
#include "resource.h"
|
||||
#include <atlbase.h>
|
||||
#include <atlcom.h>
|
||||
#include <atlctl.h>
|
||||
|
||||
#include "..\public\des\Des.h"
|
||||
#include "..\public\CorpSms.h"
|
||||
#include "..\public\ado\Ado.h"
|
||||
#include "..\public\LuTool.h"
|
||||
|
||||
|
||||
typedef struct _tagPipeSend{
|
||||
int lDataLen;
|
||||
TCHAR szIP[32];
|
||||
TCHAR szTemp[256];
|
||||
}tagPipeSend;
|
||||
|
||||
|
||||
//#define SMSCENTER_DGSB //东莞社保版本
|
8
targetver.h
Normal file
8
targetver.h
Normal file
@ -0,0 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
// 包括 SDKDDKVer.h 将定义可用的最高版本的 Windows 平台。
|
||||
|
||||
// 如果要为以前的 Windows 平台生成应用程序,请包括 WinSDKVer.h,并将
|
||||
// WIN32_WINNT 宏设置为要支持的平台,然后再包括 SDKDDKVer.h。
|
||||
|
||||
#include <SDKDDKVer.h>
|
18
xdlldata.c
Normal file
18
xdlldata.c
Normal file
@ -0,0 +1,18 @@
|
||||
// dlldata.c 的包装
|
||||
|
||||
#ifdef _MERGE_PROXYSTUB // 合并代理存根(stub) DLL
|
||||
|
||||
#define REGISTER_PROXY_DLL //DllRegisterServer 等
|
||||
|
||||
#define _WIN32_WINNT 0x0500 //对于 WinNT 4.0 或安装了 DCOM 的 Win95
|
||||
#define USE_STUBLESS_PROXY //仅当使用 MIDL 开关 /Oicf 时定义
|
||||
|
||||
#pragma comment(lib, "rpcns4.lib")
|
||||
#pragma comment(lib, "rpcrt4.lib")
|
||||
|
||||
#define ENTRY_PREFIX Prx
|
||||
|
||||
#include "dlldata.c"
|
||||
#include "MobsetWeb_p.c"
|
||||
|
||||
#endif //_MERGE_PROXYSTUB
|
15
xdlldata.h
Normal file
15
xdlldata.h
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#ifdef _MERGE_PROXYSTUB
|
||||
|
||||
extern "C"
|
||||
{
|
||||
BOOL WINAPI PrxDllMain(HINSTANCE hInstance, DWORD dwReason,
|
||||
LPVOID lpReserved);
|
||||
STDAPI PrxDllCanUnloadNow(void);
|
||||
STDAPI PrxDllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv);
|
||||
STDAPI PrxDllRegisterServer(void);
|
||||
STDAPI PrxDllUnregisterServer(void);
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user