This commit is contained in:
Hane 2025-09-13 19:02:57 +02:00
commit ee7d6302c5
5 changed files with 295 additions and 1 deletions

24
src/dlltest.h Normal file
View file

@ -0,0 +1,24 @@
#ifndef TEST_H
#define TEST_H
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#include <Windows.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef CALCDLL_EXPORTS
#define CALCDLL_API __declspec(dllexport)
#else
#define CALCDLL_API __declspec(dllimport)
#endif
CALCDLL_API void __cdecl testprint();
#ifdef __cplusplus
}
#endif
#endif