Win32::Resources::Update - Update resources in a windows executable


NAME

Win32::Resources::Update - Update resources in a windows executable


SYNOPSIS

  use Win32::Resources::Update;


DESCRIPTION

Win32::Resources::Update can add, update and delete resources in a windows executable (.exe or .dll).


METHODS

$exe = Win32::Resources::Update->new(filename)
Returns a new instance of a Win32::Resources::Update object.

filename: the .exe or .dll path

$exe->commit()
Commit all the changes and re-open the file to resume updating.

$exe->updateResource($args)
Add or replace a resource in the .exe or .dll file.

$args is the same style as in a Win32::Resources::LoadResource call.

There is one more parameter: data: the data to put in the resource.

$exe->deleteResource($args)
Delete a resource.

$exe->setXPStyleOn($desc)
Add a XP manifest to the windows executable file.

$desc is the application description to include in the manifest.

$exe->setXPStyleOff()
Delete the XP manifest in the exe file.


REQUESTS & BUGS

Please report any requests, suggestions or bugs via the RT bug-tracking system at http://rt.cpan.org/ or email to bug-Win32-Resources\@rt.cpan.org.

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Win32-Resources is the RT queue for Win32::Resources. Please check to see if your bug has already been reported.


COPYRIGHT

Copyright 2004

Fabien Potencier, fabpot@cpan.org

This software may be freely copied and distributed under the same terms and conditions as Perl.


SEE ALSO

perl(1), Win32::Exe, Win32::Resources.

 Win32::Resources::Update - Update resources in a windows executable