part1!
This commit is contained in:
parent
0263e5fae0
commit
ee7d6302c5
5 changed files with 295 additions and 1 deletions
24
src/dlltest.h
Normal file
24
src/dlltest.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue