in reply to Re^2: Extending perl with C dynamic library.
in thread Extending perl with C dynamic library.

On windows this code fail

On Windows, if (in your code) I replace int main(int argc, char **argv) { with int main(void) { then everything goes fine.
At least, I get output of Everything went well.

Does that help ? (I'm a bit lost as regards where this is heading.)

Cheers,
Rob