in reply to Re^3: Embeded Perl in MFC
in thread Embeded Perl in MFC

The application worked fine after

1)."modify @INC "

2)."ship some of the core modules"

3).put the perl510.dll in the same directory as application.

My MFC linked only with perl510.lib when performing build(Is it your PERL5LIB mean?).I initially believe it can work because static link used.

But I found the string "PREL510.DLL" in perl510.lib, So I think perl510.lib is the wrapper and the PREL510.DLL will loaded.

The application didn't need to install but a green one.

Thank you for your help.

Replies are listed 'Best First'.
Re^5: Embeded Perl in MFC
by Anonymous Monk on Sep 27, 2009 at 10:41 UTC
    I initially believe it can work because static link used.

    But your perl wasn't build static, perl -V:usedl