8f94d0a35b
in <ltdl.h>. Now go back to Linux and test.
12 lines
182 B
C++
12 lines
182 B
C++
#define MODULE1_DLL_EXPORT
|
|
#include "module1.h"
|
|
#include "module2.h"
|
|
|
|
const char *module_name = "AddModule";
|
|
|
|
int operate (int a, int b)
|
|
{
|
|
operation_occurred ();
|
|
return a + b;
|
|
}
|