Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/.vs
/DataServer/Debug
/DataServer/Dataserver.vcxproj.user
15 changes: 12 additions & 3 deletions DataServer/CQuery.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@
class CQuery
{
public:
// �ִ� �÷���, BLOB ����� ����, NULL �ʵ尪
enum { MAXCOL=100, BLOBBATCH=10000, CQUERYNULL=-100, CQUERYEOF=-101,
CQUERYNOCOL=-102, CQUERYERROR=-103 };

enum
{
MAXCOL = 100,
BLOBBATCH = 10000,
CQUERYNULL = -100,
CQUERYEOF = -101,
CQUERYNOCOL = -102,
CQUERYERROR = -103
};

private:
SQLHENV hEnv; // ȯ�� �ڵ�
SQLHDBC hDbc; // ���� �ڵ�
Expand All @@ -20,6 +28,7 @@ class CQuery

int FindCol(char *name); // �÷��� �̸����κ��� ��ȣ�� ã���ش�.
BOOL ReConnect();

public:
SQLINTEGER AffectCount; // ������� ���ڵ� ����
SQLHSTMT hStmt; // ���� �ڵ�. ���� ����� ���� �����Ƿ� public���� ����
Expand Down
16 changes: 10 additions & 6 deletions DataServer/Dataserver.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,36 +21,36 @@
<PropertyGroup Label="Globals">
<ProjectGuid>{31FCC9EC-F161-4F2D-9709-27F984C95106}</ProjectGuid>
<RootNamespace>Dataserver</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<Keyword>MFCProj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset>
<PlatformToolset>v141_xp</PlatformToolset>
<WholeProgramOptimization>false</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
Expand All @@ -75,15 +75,20 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<ExecutablePath>$(ExecutablePath)</ExecutablePath>
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(ProjectDir);$(IncludePath)</IncludePath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down Expand Up @@ -202,7 +207,6 @@
<ClInclude Include="BaseDAO.h" />
<ClInclude Include="ChildView.h" />
<ClInclude Include="common\classdef.h" />
<ClInclude Include="common\ItemSocketOptionDefine.h" />
<ClInclude Include="common\LogProc.h" />
<ClInclude Include="common\MuNameCheck.h" />
<ClInclude Include="common\MyWinsockBase.h" />
Expand Down
6 changes: 0 additions & 6 deletions DataServer/Dataserver.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
<Filter Include="APP\Main">
<UniqueIdentifier>{87b90925-a7f7-4013-a19d-f08b81f8c780}</UniqueIdentifier>
</Filter>
<Filter Include="APP\NewFilter1">
<UniqueIdentifier>{247cb460-1a57-4be0-a8c8-b938c53108ed}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<Text Include="ReadMe.txt" />
Expand Down Expand Up @@ -261,9 +258,6 @@
<ClInclude Include="include\ReadScript.h">
<Filter>Include</Filter>
</ClInclude>
<ClInclude Include="common\ItemSocketOptionDefine.h">
<Filter>Common</Filter>
</ClInclude>
<ClInclude Include="common\SetItemOption.h">
<Filter>Common</Filter>
</ClInclude>
Expand Down
Loading