Embedding Perl under Win32
1.C:/Perl>perl -MExtUtils::Embed -e xsinit; //generate the perlxsi.c in C:/Perl
2.Open the IDE of Microsoft Visual C++
3.Select the Menu of Tools->Options...
set Executable files->C:/Perl/bin
set Include files->C:/PERL/LIB/CORE
set Library files ->C:/PERL/LIB/CORE
4.new Projects->Win32 Console Application->An empty project
5.Select Menu Project->Add to Project->Files
perlxsi.c,perl58.lib(C:/PERL/LIB/CORE) and others files of yours
6.Ctrl+F5 ok
本文介绍如何在Win32环境下使用Microsoft Visual C++ IDE将Perl嵌入到应用程序中。主要步骤包括:通过Perl命令生成必要的源文件,配置Visual C++的环境路径,创建一个新的Win32控制台项目,并添加所需的文件。
90

被折叠的 条评论
为什么被折叠?



