diff --git a/3-я_лабораторная.sln b/3-я_лабораторная.sln
new file mode 100644
index 0000000..05cdf84
--- /dev/null
+++ b/3-я_лабораторная.sln
@@ -0,0 +1,54 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.7.34221.43
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "3-я_лабораторная", "3-я_лабораторная.vcxproj", "{53868EED-9548-4EB0-8C7C-4491FD6B45D4}"
+ ProjectSection(ProjectDependencies) = postProject
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324} = {D353CD66-AA5A-4C13-A98B-6B48462DC324}
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyLib", "..\MyLib\MyLib.vcxproj", "{D353CD66-AA5A-4C13-A98B-6B48462DC324}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyLib2", "..\MyLib2\MyLib2.vcxproj", "{CA655D71-AD4E-4589-9F9F-B966C5B87324}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|x64 = Debug|x64
+ Debug|x86 = Debug|x86
+ Release|x64 = Release|x64
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Debug|x64.ActiveCfg = Debug|x64
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Debug|x64.Build.0 = Debug|x64
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Debug|x86.ActiveCfg = Debug|Win32
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Debug|x86.Build.0 = Debug|Win32
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Release|x64.ActiveCfg = Release|x64
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Release|x64.Build.0 = Release|x64
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Release|x86.ActiveCfg = Release|Win32
+ {53868EED-9548-4EB0-8C7C-4491FD6B45D4}.Release|x86.Build.0 = Release|Win32
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Debug|x64.ActiveCfg = Debug|x64
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Debug|x64.Build.0 = Debug|x64
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Debug|x86.ActiveCfg = Debug|Win32
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Debug|x86.Build.0 = Debug|Win32
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Release|x64.ActiveCfg = Release|x64
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Release|x64.Build.0 = Release|x64
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Release|x86.ActiveCfg = Release|Win32
+ {D353CD66-AA5A-4C13-A98B-6B48462DC324}.Release|x86.Build.0 = Release|Win32
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Debug|x64.ActiveCfg = Debug|x64
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Debug|x64.Build.0 = Debug|x64
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Debug|x86.ActiveCfg = Debug|Win32
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Debug|x86.Build.0 = Debug|Win32
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Release|x64.ActiveCfg = Release|x64
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Release|x64.Build.0 = Release|x64
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Release|x86.ActiveCfg = Release|Win32
+ {CA655D71-AD4E-4589-9F9F-B966C5B87324}.Release|x86.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {4716D2D0-01F5-4776-B26A-C58331DF6DB6}
+ EndGlobalSection
+EndGlobal
diff --git a/3-я_лабораторная.vcxproj b/3-я_лабораторная.vcxproj
new file mode 100644
index 0000000..4b35932
--- /dev/null
+++ b/3-я_лабораторная.vcxproj
@@ -0,0 +1,140 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Release
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ x64
+
+
+
+ 17.0
+ Win32Proj
+ {53868eed-9548-4eb0-8c7c-4491fd6b45d4}
+ My3ялабораторная
+ 10.0
+
+
+
+ Application
+ true
+ v143
+ Unicode
+
+
+ Application
+ false
+ v143
+ true
+ Unicode
+
+
+ Application
+ true
+ v143
+ Unicode
+
+
+ Application
+ false
+ v143
+ true
+ Unicode
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Level3
+ true
+ WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+
+
+ Console
+ true
+
+
+
+
+ Level3
+ true
+ true
+ true
+ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+
+
+ Console
+ true
+ true
+ true
+
+
+
+
+ Level3
+ true
+ _DEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+
+
+ Console
+ true
+
+
+
+
+ Level3
+ true
+ true
+ true
+ NDEBUG;_CONSOLE;%(PreprocessorDefinitions)
+ true
+
+
+ Console
+ true
+ true
+ true
+
+
+
+
+
+
+
+ {ca655d71-ad4e-4589-9f9f-b966c5b87324}
+
+
+
+
+
+
\ No newline at end of file
diff --git a/3-я_лабораторная.vcxproj.filters b/3-я_лабораторная.vcxproj.filters
new file mode 100644
index 0000000..669bc4e
--- /dev/null
+++ b/3-я_лабораторная.vcxproj.filters
@@ -0,0 +1,22 @@
+
+
+
+
+ {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
+ cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx
+
+
+ {93995380-89BD-4b04-88EB-625FBE52EBFB}
+ h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd
+
+
+ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
+ rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
+
+
+
+
+ Исходные файлы
+
+
+
\ No newline at end of file
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..e7447c6
--- /dev/null
+++ b/main.c
@@ -0,0 +1,78 @@
+
+#define _CRT_SECURE_NO_WARNINGS
+#define _UNICODE
+#define UNICODE
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+extern __declspec(dllimport) void printCreateDirectory();
+
+int main(void)
+{
+
+ HINSTANCE mylib = LoadLibrary(L"MyLib.dll");
+ if (mylib == NULL) {
+ _tprintf(_T(""));
+ return 1;
+ }
+
+ typedef void (*SystemParameters)(wchar_t *);
+
+ SystemParameters printSystemParametersInfo;
+
+ printSystemParametersInfo = (SystemParameters)GetProcAddress(mylib,"printSystemParametersInfo");
+
+
+ // UNICODE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ const wchar_t str[] = L"help";
+ const wchar_t str1[] = L"exit";
+ const wchar_t str2[] = L"systemP";
+ const wchar_t str3[] = L"getD";
+ const wchar_t str4[] = L"getP";
+ const wchar_t str5[] = L"setC";
+
+ _setmode(_fileno(stdin), _O_U16TEXT);
+ _setmode(_fileno(stdout), _O_U16TEXT);
+ _setmode(_fileno(stderr), _O_U16TEXT);
+
+ printCreateDirectory();
+
+ wchar_t comand[50];
+ //setlocale(LC_ALL, ".UTF8");
+ _tprintf(_T(", \"3\"\n"));
+ while (1) {
+ _tprintf(_T(" : "));
+ fgetws(comand, sizeof(comand), stdin);
+ comand[wcslen(comand) - 1] = 0;
+ if (!wcscmp(comand, str)) {
+ _tprintf(_T(" , - (\n"));
+ }
+ else if (!wcscmp(comand, str1)) {
+ _tprintf(_T(" !\n"));
+ break;
+ }
+ else if (!wcscmp(comand, str2)) {
+ wchar_t str[255];
+ printSystemParametersInfo(str, 255);
+ _tprintf(_T(" : %s!\n"), str);
+ }
+
+
+ else {
+ _tprintf(_T(" !\n"));
+
+ }
+ }
+ return 0;
+
+}