<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;JSON32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>$(IncludePath)</IncludePath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <IncludePath>$(IncludePath)</IncludePath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>$(IncludePath)</IncludePath>
</PropertyGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);XML_UNICODE_WCHAR_T;_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
--- /dev/null
+#pragma once
+
+#include <targetver.h>
+#define _CRT_NON_CONFORMING_SWPRINTFS = 1
+#define WIN32_LEAN_AND_MEAN // Windows \83w\83b\83_\81[\82©\82ç\8eg\97p\82³\82ê\82Ä\82¢\82È\82¢\95\94\95ª\82ð\8f\9c\8aO\82µ\82Ü\82·\81B
+
+
+
+//windowsAPI\8aÖ\98A\83w\83b\83_
+#include <windows.h>
+#include <WinSock2.h>
+#include <ws2tcpip.h>
+#include <process.h>
+#include <mmsystem.h>
+#include <ShellAPI.h>
+#include <shlobj.h>
+
+#include <winhttp.h>
+
+//crt\83w\83b\83_
+#include <stdio.h>
+#include <wchar.h>
+#include <malloc.h>
+#include <time.h>
+
+//\83\8a\83\93\83N\82·\82é\95K\97v\82ª\82 \82é\83\89\83C\83u\83\89\83\8a\82Ì\83w\83b\83_(\91¼\8eÒ\97l\90»\8dì)
+#include <expat\expat.h>
+#include <sqlite3\sqlite3.h>
\ No newline at end of file
///
- ///\82Æ\82è\82 \82¦\82¸\83}\83C\83\8a\83X\83g\82É\93®\89æ\82ð\93o\98^
- ///
- NLIB_DECLSPEC NLIB_RESULT NicoMyList_addDefList(NicoVideoAuth_P pAuth,LPCWSTR video_id,LPCWSTR description);
+ ///\83}\83C\83\8a\83X\83g\93o\98^\8cÄ\82Ñ\8fo\82µ
+ ///
+ NLIB_DECLSPEC NLIB_RESULT NicoMyList_addItem(LPCWSTR video_id);
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <PrecompiledHeader>
- </PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);XML_UNICODE_WCHAR_T;_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
+ <AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);XML_UNICODE_WCHAR_T;_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
<ClCompile Include="nlib_nicoLive.c" />
<ClCompile Include="nlib_nicoVideoAuth.c" />
<ClCompile Include="nlib_xmlHandler.c" />
+ <ClCompile Include="stdAfx.c">
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">Create</PrecompiledHeader>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="nlib.h" />
<ClInclude Include="nlib_myList.h" />
<ClInclude Include="nlib_nicoLive.h" />
<ClInclude Include="nlib_xmlHandler.h" />
+ <ClInclude Include="StdAfx.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
+#include "StdAfx.h"
#include "nlib_include.h"
+
HINTERNET hHttpSession; //HINTERNET
HINTERNET hWatchLiveNicoConnect;
HINTERNET hNicoVideoConnect;
#define NLIB_ERR_JSON_PARSE ((NLIB_RESULT)33)
-
+///shell\8eÀ\8ds\83G\83\89\81[
+#define NLIB_ERR_SHELL_FAILED ((NLIB_RESULT)34)
#pragma once
-#include <targetver.h>
+
#ifdef WIN32
#define JSON32
#endif
-#define _CRT_NON_CONFORMING_SWPRINTFS = 1
-#define WIN32_LEAN_AND_MEAN // Windows \83w\83b\83_\81[\82©\82ç\8eg\97p\82³\82ê\82Ä\82¢\82È\82¢\95\94\95ª\82ð\8f\9c\8aO\82µ\82Ü\82·\81B
-
-//windowsAPI\8aÖ\98A\83w\83b\83_
-#include <windows.h>
-#include <WinSock2.h>
-#include <ws2tcpip.h>
-#include <process.h>
-#include <mmsystem.h>
-
-
-
-
-#include <shlobj.h>
-
-#include <winhttp.h>
-//crt\83w\83b\83_
-#include <stdio.h>
-#include <wchar.h>
-#include <malloc.h>
-#include <time.h>
-//\83\8a\83\93\83N\82·\82é\95K\97v\82ª\82 \82é\83\89\83C\83u\83\89\83\8a\82Ì\83w\83b\83_(\91¼\8eÒ\97l\90»\8dì)
-#include <expat\expat.h>
-#include <sqlite3\sqlite3.h>
//\83\8a\83\93\83N\82·\82é\95K\97v\82ª\82 \82é\83\89\83C\83u\83\89\83\8a\82Ì\83w\83b\83_(\8e©\8dì)
+#include "StdAfx.h"
#include "nlib_include.h"
+
typedef enum {
NicoMyList_Root = 0,
static NLIB_RESULT NicoMyList_common(NicoVideoAuth_P pAuth,LPCWSTR objectName,JSONStructEventHandler structHandler,JSONDataEventHandler dataHandler,JSONStructEndEventHandler endHandler,LPVOID item);
-static NLIB_RESULT myListGetAddNicoApiToken(NicoVideoAuth_P pAuth,LPCWSTR video_id,LPWSTR wbuffer,DWORD buflen);
-
-static NLIB_RESULT myListGetNicoApiToken(NicoVideoAuth_P pAuth,LPCWSTR objectName,LPWSTR wbuffer,DWORD buflen);
-
static NicoMyListItem_P NicoMyListItem_new();
static VOID NicoMyListItem_delete(NicoMyListItem_P *pitem);
NicoMyList_delete(&listContainer.pMyList);
return rslt;
}
+NLIB_DECLSPEC NLIB_RESULT NicoMyList_addItem(LPCWSTR video_id){
+
+ NLIB_RESULT rslt = NLIB_ERR_OK;
+
+ WCHAR addApi[LENGTH_512] = {L"http://www.nicovideo.jp/mylist_add/video/"};
+ if(wcslen(video_id) > ARRAY_LENGTH(addApi) /2){
+
+ goto buffererr;
+ }
+ wcscat(addApi,video_id);
+
+ if(ShellExecute(NULL,L"open",addApi,NULL,NULL,SW_SHOWDEFAULT) <= (HINSTANCE)32){
+ goto shellerr;
+ }
+
+
+
+end:
+ return rslt;
+
+shellerr:
+ rslt = NLIB_ERR_SHELL_FAILED;
+ goto end;
+
+buffererr:
+ rslt = NLIB_ERR_BUFFER_TOOLITTLE;
+ goto end;
+}
//
//\83v\83\89\83C\83x\81[\83g\8aÖ\90\94
}
-NLIB_DECLSPEC NLIB_RESULT NicoMyList_addDefList(NicoVideoAuth_P pAuth,LPCWSTR video_id,LPCWSTR description){
-
- NLIB_RESULT rslt = NLIB_ERR_OK;
-
- WCHAR tokenBuffer[LENGTH_256];
-
-
- rslt = myListGetAddNicoApiToken(pAuth,video_id,tokenBuffer,ARRAY_LENGTH(tokenBuffer));
-
-
- return rslt;
-
-}
-
-static NLIB_RESULT myListGetAddNicoApiToken(NicoVideoAuth_P pAuth,LPCWSTR video_id,LPWSTR wbuffer,DWORD buflen){
-
- NLIB_RESULT rslt = NLIB_ERR_OK;
- WCHAR getTokenObject[LENGTH_256] = {L"mylist_add/video/"};
- if(wcslen(video_id) > ARRAY_LENGTH(getTokenObject) / 2){
- goto buffererr;
-
- }
-
- wcscat(getTokenObject,video_id);
-
- rslt = myListGetNicoApiToken(pAuth,getTokenObject,wbuffer,buflen);
-end:
- return rslt;
-
-buffererr:
- rslt = NLIB_ERR_BUFFER_TOOLITTLE;
- goto end;
-}
-
-static NLIB_RESULT myListGetNicoApiToken(NicoVideoAuth_P pAuth,LPCWSTR objectName,LPWSTR wbuffer,DWORD buflen){
-
- NLIB_RESULT rslt = NLIB_ERR_OK;
- WCHAR cookie[LENGTH_256] = {L"Cookie: "};
- HINTERNET hrequest = NULL;
- DWORD statusCode;
- DWORD statusCodeSize = sizeof(statusCode);
- LPBYTE readBuffer = NULL;
- DWORD readBufSize = LENGTH_65536 * 5;
- DWORD readSize;
- if(wcslen(objectName) > ARRAY_LENGTH(cookie) / 2){
- goto buffererr;
- }
-
- hrequest = WinHttpOpenRequest(hNicoVideoConnect,L"GET",objectName,L"1.1",(LPCWSTR)WINHTTP_NO_REFERER,(LPCWSTR*)WINHTTP_DEFAULT_ACCEPT_TYPES,0);
- if(hrequest == NULL){
- goto networkerr;
- }
-
- wcscat(cookie,pAuth->userSession);
-
-
-
- if(WinHttpSendRequest(hrequest,cookie,-1,WINHTTP_NO_REQUEST_DATA,0,0,0) == FALSE){
-
- goto networkerr;
-
- }
-
- readBuffer = (LPBYTE)malloc(readBufSize);
-
- if(WinHttpReceiveResponse(hrequest,NULL) == FALSE){
-
- goto networkerr;
-
- }
-
- if (WinHttpQueryHeaders(hrequest,WINHTTP_QUERY_STATUS_CODE | WINHTTP_QUERY_FLAG_NUMBER,WINHTTP_HEADER_NAME_BY_INDEX,&statusCode,&statusCodeSize,WINHTTP_NO_HEADER_INDEX) == FALSE){
- goto networkerr;
- }
-
- if (HTTP_STATUS_OK != statusCode){
- goto networkerr;
- }
-
- if(ReadHttpBody(hrequest,(LPBYTE)readBuffer,readBufSize,&readSize) == FALSE){
- goto networkerr;
-
- }
-
-
- {
- LPSTR indexPtr;
-
- UINT_PTR end;
- indexPtr = strstr(strstr((LPSTR)readBuffer,"NicoAPI.token"),"\"");
- indexPtr++;
- end = strstr(indexPtr,"\"") - indexPtr;
- if(buflen <= (UINT_PTR)MultiByteToWideChar(CP_UTF8,0,indexPtr,end,NULL,0)){
- goto buffererr;
- }
- wbuffer[MultiByteToWideChar(CP_UTF8,0,indexPtr,end,wbuffer,buflen)] = L'\0';
-
-
- }
-
-
-end:
- free(readBuffer);
- WinHttpCloseHandle(hrequest);
- return rslt;
-
-buffererr:
- rslt = NLIB_ERR_BUFFER_TOOLITTLE;
- goto end;
-networkerr:
- rslt = NLIB_ERR_FAILED_NETWORK;
- goto end;
-}
static NicoMyListItem_P NicoMyListItem_new(){
-
-
+#include "StdAfx.h"
#include "nlib_include.h"
-
-
-
-
static NicoLiveHeartBeatContainer heartBeatContainer;
static CRITICAL_SECTION heartBeatCs;
+#include "StdAfx.h"
#include "nlib_include.h"
+#include "StdAfx.h"
#include "nlib_include.h"
--- /dev/null
+#include "StdAfx.h"
\ No newline at end of file
//CU_ASSERT_EQUAL(NicoMyList_getDefList(nva,myListCallBack,NULL), NLIB_ERR_OK);
//CU_ASSERT_EQUAL(NicoMyList_getMyListGroup(nva,myListGroupCallBack,NULL),NLIB_ERR_OK);
- CU_ASSERT_EQUAL(NicoMyList_addDefList(nva,L"1320111147",L""),NLIB_ERR_OK);
+ CU_ASSERT_EQUAL(NicoMyList_addItem(L"sm16046365"),NLIB_ERR_OK);
check(_heapchk() == _HEAPOK,TEXT("heap\83G\83\89\81[\82Å\82·"));
dumpln(TEXT("heapchk:%d"),_heapchk());
static CU_TestInfo nlive_test[] = {
- //{ "\90Ú\91±", nicoLive_connect },
- {"\83}\83C\83\8a\83X\83g",nicoLive_mylist},
+ { "\90Ú\91±", nicoLive_connect },
+ //{"\83}\83C\83\8a\83X\83g",nicoLive_mylist},
CU_TEST_INFO_NULL,
};
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<LibraryPath>$(SolutionDir)lib\$(Configuration);$(LibraryPath)</LibraryPath>
<IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <LinkIncremental>true</LinkIncremental>
+ <LibraryPath>$(SolutionDir)lib\$(Configuration);$(LibraryPath)</LibraryPath>
+ <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<LibraryPath>$(SolutionDir)lib\$(Configuration);$(LibraryPath)</LibraryPath>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions);_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nlite", "nlite\nlite.vcxproj", "{658BF0ED-37AC-40B9-9FD4-BE00DB285BFC}"
- ProjectSection(ProjectDependencies) = postProject
- {52AD1F16-FE7F-4915-B97C-38E14BD47D9F} = {52AD1F16-FE7F-4915-B97C-38E14BD47D9F}
- {B651AE6B-6D20-4612-B7C8-5788FC2ADDB1} = {B651AE6B-6D20-4612-B7C8-5788FC2ADDB1}
- {7866D782-163E-45F8-A5D0-ABB124B6DAAC} = {7866D782-163E-45F8-A5D0-ABB124B6DAAC}
- {ABB7389D-48D2-4A72-8020-626EAC5B115E} = {ABB7389D-48D2-4A72-8020-626EAC5B115E}
- {815832A8-9B8A-4B48-8372-76B9B50689F7} = {815832A8-9B8A-4B48-8372-76B9B50689F7}
- {3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1} = {3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1}
- EndProjectSection
-EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nlib", "nlib\nlib.vcxproj", "{7866D782-163E-45F8-A5D0-ABB124B6DAAC}"
ProjectSection(ProjectDependencies) = postProject
{52AD1F16-FE7F-4915-B97C-38E14BD47D9F} = {52AD1F16-FE7F-4915-B97C-38E14BD47D9F}
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "memorypool", "memorypool\memorypool.vcxproj", "{E36BC5DE-60A1-4A78-90EA-F3BFEF89F9A8}"
EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nlite", "nlite\nlite.vcxproj", "{EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
+ Debug-window|Win32 = Debug-window|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {658BF0ED-37AC-40B9-9FD4-BE00DB285BFC}.Debug|Win32.ActiveCfg = Debug|Win32
- {658BF0ED-37AC-40B9-9FD4-BE00DB285BFC}.Debug|Win32.Build.0 = Debug|Win32
- {658BF0ED-37AC-40B9-9FD4-BE00DB285BFC}.Release|Win32.ActiveCfg = Release|Win32
- {658BF0ED-37AC-40B9-9FD4-BE00DB285BFC}.Release|Win32.Build.0 = Release|Win32
{7866D782-163E-45F8-A5D0-ABB124B6DAAC}.Debug|Win32.ActiveCfg = Debug|Win32
{7866D782-163E-45F8-A5D0-ABB124B6DAAC}.Debug|Win32.Build.0 = Debug|Win32
+ {7866D782-163E-45F8-A5D0-ABB124B6DAAC}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{7866D782-163E-45F8-A5D0-ABB124B6DAAC}.Release|Win32.ActiveCfg = Release|Win32
{7866D782-163E-45F8-A5D0-ABB124B6DAAC}.Release|Win32.Build.0 = Release|Win32
{3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1}.Debug|Win32.ActiveCfg = Debug|Win32
{3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1}.Debug|Win32.Build.0 = Debug|Win32
+ {3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1}.Release|Win32.ActiveCfg = Release|Win32
{3D8CAFF3-A27F-4FEB-909F-E8BFDEE66BE1}.Release|Win32.Build.0 = Release|Win32
{52AD1F16-FE7F-4915-B97C-38E14BD47D9F}.Debug|Win32.ActiveCfg = Debug|Win32
{52AD1F16-FE7F-4915-B97C-38E14BD47D9F}.Debug|Win32.Build.0 = Debug|Win32
+ {52AD1F16-FE7F-4915-B97C-38E14BD47D9F}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{52AD1F16-FE7F-4915-B97C-38E14BD47D9F}.Release|Win32.ActiveCfg = Release|Win32
{52AD1F16-FE7F-4915-B97C-38E14BD47D9F}.Release|Win32.Build.0 = Release|Win32
{D6269C27-6C23-4512-83D1-89FDA6ED6ED0}.Debug|Win32.ActiveCfg = Debug|Win32
{D6269C27-6C23-4512-83D1-89FDA6ED6ED0}.Debug|Win32.Build.0 = Debug|Win32
+ {D6269C27-6C23-4512-83D1-89FDA6ED6ED0}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{D6269C27-6C23-4512-83D1-89FDA6ED6ED0}.Release|Win32.ActiveCfg = Release|Win32
{D6269C27-6C23-4512-83D1-89FDA6ED6ED0}.Release|Win32.Build.0 = Release|Win32
{ABB7389D-48D2-4A72-8020-626EAC5B115E}.Debug|Win32.ActiveCfg = Debug|Win32
{ABB7389D-48D2-4A72-8020-626EAC5B115E}.Debug|Win32.Build.0 = Debug|Win32
+ {ABB7389D-48D2-4A72-8020-626EAC5B115E}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{ABB7389D-48D2-4A72-8020-626EAC5B115E}.Release|Win32.ActiveCfg = Release|Win32
{ABB7389D-48D2-4A72-8020-626EAC5B115E}.Release|Win32.Build.0 = Release|Win32
{815832A8-9B8A-4B48-8372-76B9B50689F7}.Debug|Win32.ActiveCfg = Debug|Win32
{815832A8-9B8A-4B48-8372-76B9B50689F7}.Debug|Win32.Build.0 = Debug|Win32
+ {815832A8-9B8A-4B48-8372-76B9B50689F7}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{815832A8-9B8A-4B48-8372-76B9B50689F7}.Release|Win32.ActiveCfg = Release|Win32
{815832A8-9B8A-4B48-8372-76B9B50689F7}.Release|Win32.Build.0 = Release|Win32
{B651AE6B-6D20-4612-B7C8-5788FC2ADDB1}.Debug|Win32.ActiveCfg = Debug|Win32
{B651AE6B-6D20-4612-B7C8-5788FC2ADDB1}.Debug|Win32.Build.0 = Debug|Win32
+ {B651AE6B-6D20-4612-B7C8-5788FC2ADDB1}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{B651AE6B-6D20-4612-B7C8-5788FC2ADDB1}.Release|Win32.ActiveCfg = Release|Win32
{B651AE6B-6D20-4612-B7C8-5788FC2ADDB1}.Release|Win32.Build.0 = Release|Win32
{E36BC5DE-60A1-4A78-90EA-F3BFEF89F9A8}.Debug|Win32.ActiveCfg = Debug|Win32
{E36BC5DE-60A1-4A78-90EA-F3BFEF89F9A8}.Debug|Win32.Build.0 = Debug|Win32
+ {E36BC5DE-60A1-4A78-90EA-F3BFEF89F9A8}.Debug-window|Win32.ActiveCfg = Debug-window|Win32
{E36BC5DE-60A1-4A78-90EA-F3BFEF89F9A8}.Release|Win32.ActiveCfg = Release|Win32
{E36BC5DE-60A1-4A78-90EA-F3BFEF89F9A8}.Release|Win32.Build.0 = Release|Win32
+ {EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}.Debug|Win32.ActiveCfg = Debug|Win32
+ {EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}.Debug-window|Win32.ActiveCfg = Debug|Win32
+ {EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}.Debug-window|Win32.Build.0 = Debug|Win32
+ {EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}.Release|Win32.ActiveCfg = Release|Win32
+ {EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
ファイルです。 このアイコンは、メイン リソース ファイル nlite.rc
にインクルードされます。
+/////////////////////////////////////////////////////////////////////////////
+その他の標準ファイル :
+
+StdAfx.h、StdAfx.cpp
+ これらのファイルは、nlite.pch
+ という名前のプリコンパイル済みヘッダー (PCH) ファイルと、StdAfx.obj
+ という名前のプリコンパイル済みの型ファイルを構築するために使用されます。
/////////////////////////////////////////////////////////////////////////////
その他のメモ :
//
#include "stdafx.h"
-#include "nlite.h"
+#include "nlite_include.h"
#define MAX_LOADSTRING 100
TCHAR szWindowClass[MAX_LOADSTRING]; // \83\81\83C\83\93 \83E\83B\83\93\83h\83E \83N\83\89\83X\96¼
// \82±\82Ì\83R\81[\83h \83\82\83W\83\85\81[\83\8b\82É\8aÜ\82Ü\82ê\82é\8aÖ\90\94\82Ì\90é\8c¾\82ð\93]\91\97\82µ\82Ü\82·:
-ATOM MyRegisterClass(HINSTANCE hInstance);
+ATOM nliteRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE, int);
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM);
// \83O\83\8d\81[\83o\83\8b\95¶\8e\9a\97ñ\82ð\8f\89\8aú\89»\82µ\82Ä\82¢\82Ü\82·\81B
LoadString(hInstance, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
LoadString(hInstance, IDC_NLITE, szWindowClass, MAX_LOADSTRING);
- MyRegisterClass(hInstance);
+ nliteRegisterClass(hInstance);
// \83A\83v\83\8a\83P\81[\83V\83\87\83\93\82Ì\8f\89\8aú\89»\82ð\8eÀ\8ds\82µ\82Ü\82·:
if (!InitInstance (hInstance, nCmdShow))
//
-// \8aÖ\90\94: MyRegisterClass()
+// \8aÖ\90\94: nliteRegisterClass()
//
// \96Ú\93I: \83E\83B\83\93\83h\83E \83N\83\89\83X\82ð\93o\98^\82µ\82Ü\82·\81B
//
// \90³\82µ\82¢\8c`\8e®\82Ì\8f¬\82³\82¢\83A\83C\83R\83\93\82ð\8eæ\93¾\82Å\82«\82é\82æ\82¤\82É\82·\82é\82É\82Í\81A
// \82±\82Ì\8aÖ\90\94\82ð\8cÄ\82Ñ\8fo\82µ\82Ä\82\82¾\82³\82¢\81B
//
-ATOM MyRegisterClass(HINSTANCE hInstance)
+ATOM nliteRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
- <ProjectGuid>{658BF0ED-37AC-40B9-9FD4-BE00DB285BFC}</ProjectGuid>
+ <ProjectGuid>{EB0B5264-9BB4-4EE3-B196-A0472DCB32A8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>nlite</RootNamespace>
</PropertyGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
- <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
- <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
- <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions);_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
- <CompileAs>CompileAsCpp</CompileAs>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
+ <PrecompiledHeader>Use</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
- <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions);_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<None Include="small.ico" />
</ItemGroup>
<ItemGroup>
- <ClInclude Include="nlite.h" />
+ <ClInclude Include="nlite_include.h" />
<ClInclude Include="Resource.h" />
<ClInclude Include="stdafx.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="nlite.cpp" />
+ <ClCompile Include="stdafx.cpp">
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="nlite.rc" />
--- /dev/null
+#pragma once
+
+#include "resource.h"
--- /dev/null
+// stdafx.cpp : \95W\8f\80\83C\83\93\83N\83\8b\81[\83h nlite.pch \82Ì\82Ý\82ð
+// \8aÜ\82Þ\83\\81[\83X \83t\83@\83C\83\8b\82Í\81A\83v\83\8a\83R\83\93\83p\83C\83\8b\8dÏ\82Ý\83w\83b\83_\81[\82É\82È\82è\82Ü\82·\81B
+// stdafx.obj \82É\82Í\83v\83\8a\83R\83\93\83p\83C\83\8b\8dÏ\82Ý\8c^\8fî\95ñ\82ª\8aÜ\82Ü\82ê\82Ü\82·\81B
+
+#include "stdafx.h"
+
+// TODO: \82±\82Ì\83t\83@\83C\83\8b\82Å\82Í\82È\82\81ASTDAFX.H \82Å\95K\97v\82È
+// \92Ç\89Á\83w\83b\83_\81[\82ð\8eQ\8fÆ\82µ\82Ä\82\82¾\82³\82¢\81B
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>$(SolutionDir)include\qwerty\cookie;$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <IncludePath>$(SolutionDir)include\qwerty\cookie;$(SolutionDir);$(IncludePath)</IncludePath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>$(SolutionDir)include\qwerty\cookie;$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>$(IncludePath)</IncludePath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <IncludePath>$(IncludePath)</IncludePath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>$(IncludePath)</IncludePath>
</PropertyGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions);SQLITE_LIB_EXPORT;_CRT_SECURE_NO_DEPRECATE;THREADSAFE</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug-window|Win32">
+ <Configuration>Debug-window</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'" Label="Configuration">
+ <ConfigurationType>StaticLibrary</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<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-window|Win32'" 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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
+ </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IncludePath>$(SolutionDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-window|Win32'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Windows</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ </Link>
+ </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>