|
@@ -1407,7 +1407,22 @@ void writeToFileIvanova(struct users* currentPeople, int countCurrentPeople)
|
|
|
free(dataForWritting);
|
|
|
CloseHandle(fileResult);
|
|
|
}
|
|
|
-
|
|
|
+HeaderDLL.h
|
|
|
+#pragma [HYPERLINK: https://vk.com/im?sel=178775378&st=%23pragma] once
|
|
|
+__declspec(dllimport) int myFunc(LPWSTR str);
|
|
|
+__declspec(dllimport) void readData(struct users* people);
|
|
|
+__declspec(dllimport) void searchSurname(struct users* people);
|
|
|
+__declspec(dllimport) void writeToFile(struct users* currentPeople, int countCurrentPeople);
|
|
|
+__declspec(dllimport) void writeToFileIvanova(struct users* currentPeople, int countCurrentPeople);
|
|
|
+__declspec(dllimport) void searchSurnameIvanova(struct users* people);
|
|
|
+
|
|
|
+struct users
|
|
|
+{
|
|
|
+char* surname;
|
|
|
+char* name;
|
|
|
+char* midname;
|
|
|
+int age;
|
|
|
+};
|
|
|
|
|
|
|
|
|
|