Do you know what is wrong ?
Yes. Basically, you have no idea what you are doing.
You are still trying to compile a main() function into a dll.
Dlls contain and export entrypoints that *must* be dynamically linked to and called from an executable (with a main()).
You can't use Inline C to build main programs.
In reply to Re^5: Extending perl with C dynamic library.
by BrowserUk
in thread Extending perl with C dynamic library.
by Martin90
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |