Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- From: "R.Wieser" <address@xxxxxxxxxxxxx>
- Date: Wed, 25 May 2005 22:53:57 +0200
William DePalo [MVP VC++] <willd.no.spam@xxxxxxxx> schreef in berichtnieuws
en$sAcNYFHA.2572@xxxxxxxxxxxxxxxxxxxxxxx
Hello William,
[Snip]
> > Still, it's strange that I can't seem to access, with Windows own
> > functions,
> > resources in files that Windows offers in a default install ...
>
> Well, there Windows can mean 16, 32, or 64 bit Windows. The 32 bit
> LoadLibary() only loads 32 bit DLLs and executables.
.... And there is no way to load a NE-type exe or dll, although Windows has
got not problem executing/using them ... (shown by the fact that
"MorIcons.dll" is used for what it's name allready indicates : "more icons"
:-) )
> > Any idea what I can do to access resources in NE-style executables
(DLL's,
> > EXE's) too ?
>
> Well, in a 16 bit application you could use the 16 bit Windows API.
Sorry, there seems to be not 16-bit LoadLibrary function available (as far
as I can see in the header-files I've got ...
> In a 32 bit application, my _guess_ is that you would have to open the DLL
> as a datafile and use knowledge of the NE format to advance to the icons
and
> read the file for the correct number of bytes.
Yes, that's certainly doable (in fact I've allready done as much in another
app), but that doesn't remove my queezy feeling about Windows being able to
execute/use the NE-style files, while I cannot reach, by way of standard
calls, any of the resources in them.
Thanks for your response though.
Regards,
Rudy Wieser
.
- Follow-Ups:
- Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- From: William DePalo [MVP VC++]
- Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- References:
- LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- From: R.Wieser
- Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- From: William DePalo [MVP VC++]
- Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- From: R.Wieser
- Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- From: William DePalo [MVP VC++]
- LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- Prev by Date: Scheduler: Wanting to add new item to task list.
- Next by Date: Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- Previous by thread: Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- Next by thread: Re: LoadLibraryEx (as datafile) and MorIcons.dll - extracting icons
- Index(es):
Relevant Pages
|