QUOTE (CrashControl @ Nov 6 2004, 02:16 PM)

....
I resolved the problem with ImageCenter32 by profiling it with Dependency Walker. The error is very strange! Evidently, it must have the file "asycfilt.dll" within your system32 directory. The DLL was already in the application directory itself! It also does not matter even if you add ImageCenter32's directory to your path, or the working directory from which you call the program; it *must* have asycfilt.dll in the system32 directory. Strange!
This is because the plugin has a missing section from imgcenter32.inf
CODE
[SourceDisksFiles] <------ This section was missing from the code above.
asycfilt.dll=2
;asycfilt.dll must be copied to x:\i386\system32 for powerquest imagecenter32 to work.
All the files are listed here along with my post at the bottom that corrects the *.inf file:
ImageCenter32 Plugin for BartPEHere is a correct imgcenter32.inf:
CODE
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="ImageCenter32"
Enable=1
[WinntDirectories]
a="Programs\ImgCenter",2
[SourceDisksFiles]
asycfilt.dll=2
;asycfilt.dll must be copied to x:\i386\system32 for powerquest imagecenter32 to work.
[SourceDisksFolders]
files=a,,1
[Software.AddReg]
; add to Start Menu\Programs
0x2,"Sherpya\XPEinit\Programs","Hard Drive Tools\ImageCenter32","%SystemDrive%\Programs\ImgCenter\ImageCenter32.exe"
[Default.AddReg]
0x0,"Software\PowerQuest\BROWSER\Settings"
0x0,"Software\PowerQuest\PQIBROWSER"
0x0,"Software\PowerQuest\PQIBROWSER\Recent File List"
[SetupReg.AddReg]
0x1, "ControlSet001\Control\nls\codepage","ACP","1252"
0x1, "ControlSet001\Control\nls\codepage","MACCP","10000"
0x1, "ControlSet001\Control\nls\codepage","OEMCP","437"
0x1, "ControlSet001\Control\nls\codepage","37","c_037.nls"
0x1, "ControlSet001\Control\nls\codepage","437","c_437.nls"
0x1, "ControlSet001\Control\nls\codepage","500","c_500.nls"
0x1, "ControlSet001\Control\nls\codepage","850","c_850.nls"
0x1, "ControlSet001\Control\nls\codepage","1252","c_1252.nls"
0x1, "ControlSet001\Control\nls\codepage","28591","C_28591.NLS"
0x1, "ControlSet001\Control\nls\codepage","10000","c_10000.nls"
0x1, "ControlSet001\Control\nls\codepage","860","c_860.nls"
0x1, "ControlSet001\Control\nls\codepage","861","c_861.nls"
0x1, "ControlSet001\Control\nls\codepage","863","c_863.nls"
0x1, "ControlSet001\Control\nls\codepage","865","c_865.nls"
0x1, "ControlSet001\Control\nls\codepage","10079","c_10079.nls"
0x1, "ControlSet001\Control\nls\codepage","20127","c_20127.nls"
0x1, "ControlSet001\Control\nls\codepage","28605","c_28605.nls"
0x1, "ControlSet001\Control\nls\language","Default","0409"
0x1, "ControlSet001\Control\nls\language","0409","l_intl.nls"
0x1, "ControlSet001\Control\nls\language groups","1","1"
0x1, "ControlSet001\Control\Nls\Locale","(Default)","00000409"
0x1, "ControlSet001\Control\nls\locale","00000409","1"
0x1, "ControlSet001\Control\nls\locale\alternate sorts","00010407","1"
[Append]
nu2menu.xml, imagecenter32_nu2menu.xml
and imagecenter32_nu2menu.xml:
CODE
<!-- Nu2Menu entry for Imagecenter32 -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\ImgCenter\ImageCenter32.exe))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\ImgCenter\ImageCenter32.exe">Imagecenter32</MITEM>
</MENU>
</NU2MENU>