in reply to Re^6: Use Windows wimgapi dll
in thread Use Windows wimgapi dll
any ideas =) THANK YOUuse Win32::API; use Data::Dumper; use Win32; use strict; use warnings; use Encode qw( encode ); my $filehandler = encode('UCS-2le', "C:\\test.wim\0"); my $wimfile = new Win32::API("wimgapi", "WIMCreateFile", ['P','C','C', +'C','C','N'], 'C')or die Win32::FormatMessage(Win32::GetLastError); my $LLHandle = $wimfile->Call($filehandler, 'WIM_GENERIC_WRITE', 'WIM_CREATE_NEW', 0, 0, 0)or die Win32::FormatMessage(Win32::GetLas +tError); print $LLHandle;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Use Windows wimgapi dll
by Anonymous Monk on Aug 04, 2008 at 19:15 UTC | |
|
Re^8: Use Windows wimgapi dll
by Anonymous Monk on Aug 06, 2008 at 11:27 UTC | |
by iea (Beadle) on Aug 07, 2008 at 14:36 UTC | |
by BrowserUk (Patriarch) on Aug 07, 2008 at 15:19 UTC | |
by iea (Beadle) on Aug 07, 2008 at 15:54 UTC |