#include
#include "ex.h"
extern "C" __declspec(dllexport)
int f (int x)
{
int z1;
plus subp;
subp.fx(20);
z1=subp.z;
return x+z1;
}
#ifndef __EX_H_INCLUDED__
#define __EX_H_INCLUDED__
class plus
{
public:
int z;
void fx(int);
};
#endif
#include "ex.h"
void plus::fx(int b)
{
z = 100+b;
}