CSJewell has asked for the wisdom of the Perl Monks concerning the following question:
... # It is an inside_out object, so #parameters are in %name hashes. } elsif ( $name[$object_id] =~ m{\.dll\z}sm ) { my ( undef, undef, $filename ) = splitpath($name[$object_id] ); # Check for a version resource. # Also check for a version number inside that resource. if (defined $version_number) { my $language = $version_resource->languagecode; $answer = q{<File Id='F_} . $id[$object_id] . q{' Source='} . $filename . q{' DefaultLanguage='} . $language . q{' />}; } else { $answer = q{<File Id='F_} . $id[$object_id] . q{' Source='} . $filename . q{' />}; } } else { ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to detect that a Windows DLL has a version resource, and pull data from it.
by BrowserUk (Patriarch) on Jul 03, 2009 at 17:00 UTC | |
by CSJewell (Beadle) on Jul 03, 2009 at 17:25 UTC | |
by CSJewell (Beadle) on Jul 05, 2009 at 04:43 UTC | |
|
Re: How to detect that a Windows DLL has a version resource, and pull data from it.
by Anonymous Monk on Jul 03, 2009 at 17:49 UTC |