This commit is contained in:
Tommy Parnell
2015-10-03 10:51:05 -04:00
commit 567ab26f02
25 changed files with 1177 additions and 0 deletions

26
dynamiclib/dynamiclib.cpp Normal file
View File

@@ -0,0 +1,26 @@
// dynamiclib.cpp : Defines the exported functions for the DLL application.
//
#include "stdafx.h"
#include "dynamiclib.h"
// This is an example of an exported variable
DYNAMICLIB_API int ndynamiclib = 0;
// This is an example of an exported function.
DYNAMICLIB_API int fndynamiclib(void)
{
return 42;
}
// This is the constructor of a class that has been exported.
// see dynamiclib.h for the class definition
Cdynamiclib::Cdynamiclib()
{
return;
}
DYNAMICLIB_API int multiply(int a, int b)
{
return a*b;
}