Message-ID: In-Reply-To: From: "Alexander Littell" Date: Thu, 16 Nov 2006 15:53:45 -0500 Mime-Version: 1.0 Subject: Re: [Openvpn-devel] OpenVPN GUI Icon Question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit To: mathias@...454... Cc: openvpn-devel@lists.sourceforge.net Thanks for the advice, Mathias. I am not that familiar with Win32 development (obviously!) but once you pointed me in the direction of the .RES file I read up on everything a bit. In the end, I just renamed the .RES file in there and when running 'make' again on the source files the new icons I created were loaded. I'm using MSYS and MinGW like you suggested on your website. Love your product, by the way. ~Alec ----Original Message Follows---- From: Mathias Sundman To: Alexander Littell CC: openvpn-devel@lists.sourceforge.net Subject: Re: [Openvpn-devel] OpenVPN GUI Icon Question Date: Thu, 16 Nov 2006 20:26:32 +0100 (CET) On Thu, 16 Nov 2006, Alexander Littell wrote: >Okay, so this technically isn't an OpenVPN question. Sorry. However, >maybe >someone can help me out nevertheless as the two programs are linked and I'm >having trouble getting assistance at the openvpn.se site. > >Anyway, I'm trying to roll out a customized version of OpenVPN and wanted >to >change up the system tray icons from the OpenVPN GUI client. I've replaced >the .ico files (e.g. connected, connecting, disconnected, openvpn-gui) from >the source files, but the old ones still seem to compile. I've searched >everywhere that I could to replace them but haven't had much luck. Are >they >compiled somewhere else? Have you recompiled OpenVPN GUI after you replaced the icons? You have to... If I recall correctly the icons are compiled into a resource file by the resource compiler (windres) and after that linked into the openvpn-gui.exe file. So you will not be able to replace the icons without recompiling openvpn gui if you don't find any tool that can "patch" an exe file to replaces resources like embedded icons. A quick google on replacing icons in exe files indicates there are such tools available. Here's one link: http://533soft-icon-changer.533soft-com.qarchive.org/ //Mathias