Subj : Two questions To : borland.public.cpp.borlandcpp From : Glenn.Pure*delete_this_for_reply*@pcug.org.au (Glenn Pure) Date : Wed Jul 02 2003 12:46 pm 1. What is the C code (not C++) for using a particular icon for a minimised application on the task bar. In my case, the application uses a dialog as it's main window and never displays the initial standard application window. This fact seems to be causing the difficulty I'm having trying to force use of a particular icon. 2. In the process of converting an old 16 bit Windows app to 32 bits, I needed to maintain direct hardware port access (to LPT1). I've managed to succeed with a freeware driver. However, the old 16 bit application also checked for the correct base address for LPT1 by reading the value at system member location 0x040:08. Is there a 'legal' way of finding the base address in newer versions of Windows or has Microsoft decided that since I'm not supposed to be doing direct accesses to such addresses, they ain't gonna make em visible on the system? Cheers Glenn .