okey-dokey
This commit is contained in:
20
Plugins/hstherac25/Source/ThirdParty/hstherac25Library/ExampleLibrary.cpp
vendored
Normal file
20
Plugins/hstherac25/Source/ThirdParty/hstherac25Library/ExampleLibrary.cpp
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
#if defined _WIN32 || defined _WIN64
|
||||
#include <Windows.h>
|
||||
|
||||
#define EXAMPLELIBRARY_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifndef EXAMPLELIBRARY_EXPORT
|
||||
#define EXAMPLELIBRARY_EXPORT
|
||||
#endif
|
||||
|
||||
EXAMPLELIBRARY_EXPORT void ExampleLibraryFunction()
|
||||
{
|
||||
#if defined _WIN32 || defined _WIN64
|
||||
MessageBox(NULL, TEXT("Loaded ExampleLibrary.dll from Third Party Plugin sample."), TEXT("Third Party Plugin"), MB_OK);
|
||||
#else
|
||||
printf("Loaded ExampleLibrary from Third Party Plugin sample");
|
||||
#endif
|
||||
}
|
Reference in New Issue
Block a user