meh, I think I've found it
I must export the function this way instead:
Code:
#define DLLEXPORT extern "C" __declspec (dllexport)
DLLEXPORT void InputPluginAPI (char *input_pathname, block_t *output_blocks)
{
// this function reads and translate the data from a CSV file into block structures.
// [snip] code follows...
}
silly me...
