RedPanda-CPP/windows/templates/4-DLL/Dll_hpp.txt

19 lines
249 B
Plaintext
Raw Normal View History

2022-08-07 12:10:12 +08:00
#ifndef _DLL_H_
#define _DLL_H_
#if BUILDING_DLL
#define DLLIMPORT __declspec(dllexport)
#else
#define DLLIMPORT __declspec(dllimport)
#endif
class DLLIMPORT DllClass
{
public:
DllClass();
virtual ~DllClass();
void HelloWorld();
};
#endif