Re: shell32.dll/Printer_LoadIconsW implemented (v2)

2005-07-06 Thread Detlef Riekenberg
Am Mittwoch, den 06.07.2005, 01:25 +0200 schrieb Frank Richter: > On 06.07.2005 01:01, Detlef Riekenberg wrote: > > +/* Icon in native printui.dll: "Not the default, connected Local > > Printer" */ > > +SHELL32_hmodule = LoadLibraryA("printui.dll"); > > +iconindex = 1; > Actually, a

Re: shell32.dll/Printer_LoadIconsW implemented (v2)

2005-07-06 Thread Frank Richter
On 06.07.2005 01:01, Detlef Riekenberg wrote: > +/* Icon in native printui.dll: "Not the default, connected Local > Printer" */ > +SHELL32_hmodule = LoadLibraryA("printui.dll"); > +iconindex = 1; > + > +if (SHELL32_hmodule == NULL) > +{ > +/* Icon in shell32.dll: "Not

Re: shell32.dll/Printer_LoadIconsW implemented

2005-07-05 Thread Detlef Riekenberg
Am Dienstag, den 05.07.2005, 19:31 +0200 schrieb Frank Richter: > Why not use the global 'shell32_hInstance' variable? Thanks for the Hint. I will change that. -- By By ... ... Detlef

Re: shell32.dll/Printer_LoadIconsW implemented

2005-07-05 Thread Frank Richter
On 05.07.2005 13:37, Detlef Riekenberg wrote: > +HMODULE SHELL32_hmodule=NULL; > +INT iconindex=IDI_SHELL_PRINTER; ... > +if(SHELL32_hmodule==NULL) > +{ > +SHELL32_hmodule=LoadLibraryA("shell32.dll"); > +} Why not use the global 'shell32_hInstance' variable? -f.r.