|We don't bite newbies here... much|
Calling a C API in a dll from Perl on Windowsby jira0004 (Monk)
|on Jun 24, 2002 at 14:37 UTC||Need Help??|
jira0004 has asked for the wisdom of the Perl Monks concerning the following question:
I have been developing in Perl for a few years, but I have never mixed Perl and C before. According to "Advanced Perl Programming" by Sriram Srinivasan as well as several other sources Perl can be called from C and vice versa.
I have a product API that will allow me to run a product we are using here at work. The API is in C; the API is in a dll (dynamic link library). I would like to call this API from Perl. According to my Perl reference material this is possible. Can I do this on Windows or not???
Since I've never mixed Perl with any other language, any advice input or help would be useful.
Thanks for any helpful info regarding this topic.
P.S. I did do a search for this topic on the discussion groups for this site but didn't find any postings regarding calling "C" from Perl on Windows.
--- Peter Jirak