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