【发布时间】:2012-01-02 05:20:39
【问题描述】:
我需要一个内置在 C++ 中的 DLL,其中包含 Perl 解释器,以及由 C++ 函数调用的由 Phil Harvey 编写的 Perl 库 exiftool。
我想在安装了 Visual Studio 2010 VC++ 的 Windows 7 上执行此操作。哪个 Perl 发行版最适合这项任务:Strawberry 或 ActiveState Perl?还有,哪个 Perl 编译命令:nmake 还是 dmake?
最终的交付物应该是一个 DLL。这可以导入到任何程序 C 等中,并且将调用 DLL 函数,这些函数将在内部调用 Phil Harvey 的 exiftool 库函数/参数/开关。
【问题讨论】:
-
为什么
system("perl.exe foo.pl")不可接受? -
这个问题stackoverflow.com/questions/49168/… 似乎很相似,但答案不适用于 Visual Studio / Windows。
标签: c++ windows visual-studio-2010 perl windows-7