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

"You are still trying to compile a main() function into a dll."

No.I leave windows and compile code on Linux to .C and then to executable.

"Yes. Basically, you have no idea what you are doing."

Well, my problem is weak understand of C programming. That's why I am looking for help on this matter ;)

Now the only question is why it returns Segmentation fault.

  • Comment on Re^6: Extending perl with C dynamic library.

Replies are listed 'Best First'.
Re^7: Extending perl with C dynamic library.
by BrowserUk (Patriarch) on Aug 20, 2013 at 20:04 UTC
    Well, my problem is weak understand of C programming. That's why I am looking for help on this matter ;)

    This is a Perl forum.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      "This is a Perl forum."

      Right, problem solved anyway.

      Thanks @BrowserUk for your help ;)