Hi,

for example build a CString  or a char* 

 char*  ptrcVar = "C:\path_to_perl_script\myscript.pl   myArguments";

int error = system(ptrcVar);

.... read error variable


hope it helps,

cheers 
Armin





"Chang Min Jeon" <[EMAIL PROTECTED]> 
Gesendet von: [EMAIL PROTECTED]
08.08.2007 11:46

An
[email protected]
Kopie

Thema
to call perl from MFC






hello,

i want to call perl script from MFC.
and to pass parameter MFC's buffer(eg. char*) to the perl function.

thanks in advance.
-- 
CashFlow
To be rich. _______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to