xiaoyafeng has asked for the wisdom of the Perl Monks concerning the following question:
Any suggestions?use strict; use warnings; use Inline C => Config => LIBS => '-luser32'; use Inline C => << 'CODE'; #include <windows.h> int Winbox(char* Caption, char* Text) { return MessageBoxA(0,Text,Caption,0); } CODE my $text = 'don\'t let me down!!!'; Winbox('Inline Text Box', $text); __OUTPUT__ C:\Documents and Settings>perl -c winbox.pl Can't open C:\Documents\config for output. No such file or directory at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate C:\Documents and Settings\_Inline\config. at winbox.pl line 27 BEGIN failed--compilation aborted at winbox.pl line 32.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How let Inline tell space in path?
by syphilis (Archbishop) on Oct 24, 2007 at 05:45 UTC | |
by tye (Sage) on Oct 24, 2007 at 05:51 UTC | |
by diotalevi (Canon) on Oct 25, 2007 at 02:49 UTC | |
by syphilis (Archbishop) on Oct 31, 2007 at 08:21 UTC | |
by diotalevi (Canon) on Oct 31, 2007 at 21:20 UTC | |
by syphilis (Archbishop) on Oct 31, 2007 at 23:52 UTC | |
|