-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,444 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,183 @@ | ||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Build results | ||
[Dd]ebug/ | ||
[Dd]ebugPublic/ | ||
[Rr]elease/ | ||
[Rr]eleases/ | ||
x64/ | ||
x86/ | ||
build/ | ||
bld/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# Roslyn cache directories | ||
*.ide/ | ||
|
||
# Precompiled Headers | ||
*.gch | ||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
#NUNIT | ||
*.VisualState.xml | ||
TestResult.xml | ||
|
||
# Build Results of an ATL Project | ||
[Dd]ebugPS/ | ||
[Rr]eleasePS/ | ||
dlldata.c | ||
|
||
*_i.c | ||
*_p.c | ||
*_i.h | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.svclog | ||
*.scc | ||
|
||
# Chutzpah Test files | ||
_Chutzpah* | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# TFS 2012 Local Workspace | ||
$tf/ | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
*.DotSettings.user | ||
|
||
# JustCode is a .NET coding addin-in | ||
.JustCode | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
_NCrunch_* | ||
.*crunch*.local.xml | ||
|
||
# MightyMoose | ||
*.mm.* | ||
AutoTest.Net/ | ||
|
||
# Web workbench (sass) | ||
.sass-cache/ | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.[Pp]ublish.xml | ||
*.azurePubxml | ||
# TODO: Comment the next line if you want to checkin your web deploy settings | ||
# but database connection strings (with potential passwords) will be unencrypted | ||
*.pubxml | ||
*.publishproj | ||
|
||
# NuGet Packages | ||
*.nupkg | ||
# The packages folder can be ignored because of Package Restore | ||
**/packages/* | ||
# except build/, which is used as an MSBuild target. | ||
!**/packages/build/ | ||
# If using the old MSBuild-Integrated Package Restore, uncomment this: | ||
#!**/packages/repositories.config | ||
|
||
# Windows Azure Build Output | ||
csx/ | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.dbproj.schemaview | ||
# *.pfx | ||
*.publishsettings | ||
node_modules/ | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
# Backup & report files from converting an old project file | ||
# to a newer Visual Studio version. Backup files are not needed, | ||
# because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# Fortran module files | ||
*.mod | ||
# SQL Server files | ||
*.mdf | ||
*.ldf | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
# Business Intelligence projects | ||
*.rdl.data | ||
*.bim.layout | ||
*.bim_*.settings | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
# Microsoft Fakes | ||
FakesAssemblies/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.31101.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MqlDbAdapter", "MqlDbAdapter\MqlDbAdapter.vcxproj", "{AD86F69F-78DA-40B4-A823-168C331B9720}" | ||
EndProject | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestConsole", "TestConsole\TestConsole.vcxproj", "{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}" | ||
EndProject | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TestConsoleW32", "TestConsoleW32\TestConsoleW32.vcxproj", "{0D3F6260-9DA1-4812-815E-B275ACD6CC40}" | ||
EndProject | ||
Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "SetupMqlDb", "SetupMqlDb\SetupMqlDb.wixproj", "{67D87354-22BF-45A9-BE2B-21306E214E5D}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|Mixed Platforms = Debug|Mixed Platforms | ||
Debug|Win32 = Debug|Win32 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|Mixed Platforms = Release|Mixed Platforms | ||
Release|Win32 = Release|Win32 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Debug|Any CPU.ActiveCfg = Debug|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Debug|Mixed Platforms.Build.0 = Debug|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Debug|Win32.Build.0 = Debug|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Debug|x86.ActiveCfg = Debug|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|Any CPU.ActiveCfg = Release|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|Mixed Platforms.ActiveCfg = Release|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|Mixed Platforms.Build.0 = Release|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|Win32.ActiveCfg = Release|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|Win32.Build.0 = Release|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|x86.ActiveCfg = Release|Win32 | ||
{AD86F69F-78DA-40B4-A823-168C331B9720}.Release|x86.Build.0 = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|Any CPU.ActiveCfg = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|Mixed Platforms.Build.0 = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|Win32.Build.0 = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|x86.ActiveCfg = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Debug|x86.Build.0 = Debug|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|Any CPU.ActiveCfg = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|Mixed Platforms.ActiveCfg = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|Mixed Platforms.Build.0 = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|Win32.ActiveCfg = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|Win32.Build.0 = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|x86.ActiveCfg = Release|Win32 | ||
{B1B7ABA2-1623-4932-8EA1-3997076F4CA3}.Release|x86.Build.0 = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|Any CPU.ActiveCfg = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|Mixed Platforms.Build.0 = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|Win32.Build.0 = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|x86.ActiveCfg = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Debug|x86.Build.0 = Debug|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|Any CPU.ActiveCfg = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|Mixed Platforms.ActiveCfg = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|Mixed Platforms.Build.0 = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|Win32.ActiveCfg = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|Win32.Build.0 = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|x86.ActiveCfg = Release|Win32 | ||
{0D3F6260-9DA1-4812-815E-B275ACD6CC40}.Release|x86.Build.0 = Release|Win32 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|Any CPU.ActiveCfg = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|Mixed Platforms.Build.0 = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|Win32.ActiveCfg = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|Win32.Build.0 = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|x86.ActiveCfg = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Debug|x86.Build.0 = Debug|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|Any CPU.ActiveCfg = Release|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|Mixed Platforms.ActiveCfg = Release|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|Mixed Platforms.Build.0 = Release|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|Win32.ActiveCfg = Release|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|Win32.Build.0 = Release|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|x86.ActiveCfg = Release|x86 | ||
{67D87354-22BF-45A9-BE2B-21306E214E5D}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#include "stdafx.h" | ||
|
||
using namespace System; | ||
using namespace System::Reflection; | ||
using namespace System::Runtime::CompilerServices; | ||
using namespace System::Runtime::InteropServices; | ||
using namespace System::Security::Permissions; | ||
|
||
// | ||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
// | ||
[assembly:AssemblyTitleAttribute("MqlDbAdapter")]; | ||
[assembly:AssemblyDescriptionAttribute("")]; | ||
[assembly:AssemblyConfigurationAttribute("")]; | ||
[assembly:AssemblyCompanyAttribute("")]; | ||
[assembly:AssemblyProductAttribute("MqlDbAdapter")]; | ||
[assembly:AssemblyCopyrightAttribute("Copyright (c) 2016")]; | ||
[assembly:AssemblyTrademarkAttribute("")]; | ||
[assembly:AssemblyCultureAttribute("")]; | ||
|
||
// | ||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the value or you can default the Revision and Build Numbers | ||
// by using the '*' as shown below: | ||
|
||
[assembly:AssemblyVersionAttribute("1.0.*")]; | ||
|
||
[assembly:ComVisible(false)]; | ||
|
||
[assembly:CLSCompliantAttribute(true)]; | ||
|
||
[assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; | ||
|
||
//[assembly:AssemblyKeyFile("..\\MyKeyFile.SNK")]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// IMessageBoxWrapper.h: interface to hide | ||
// the managed implementation from the dll client | ||
|
||
#pragma once | ||
|
||
#include <string> | ||
|
||
#ifdef MANAGEDWRAPPER_EXPORTS | ||
#define DLLAPI __declspec(dllexport) | ||
#else | ||
#define DLLAPI __declspec(dllimport) | ||
//#pragma comment (lib, "MqlDbAdapter.lib") // if importing, link also | ||
#endif | ||
|
||
class DLLAPI IMqlAdaptor | ||
{ | ||
public: | ||
virtual void Init(std::string host, std::string database, std::string user, std::string password) = 0; | ||
|
||
// Class factory | ||
//static IMqlAdaptor *CreateInstance(); | ||
//static void Destroy(IMqlAdaptor *instance); | ||
}; |
Oops, something went wrong.