I have a simple dialog based MFC application, which locates a hardware
device on the network using UDP broadcast. When this program is run for the
first time, Windows Firewall comes up and offers to unblock this program.
However, the name of the program shows up as "TODO: <File Description>". I
have filled all fields in the version resource.
This problem only happens with the "Release" configuration. When I build the
application with the "Debug" configuration, Windows Firewall displays the
name of my application correctly.
Any insights?
Timur Aydin
Tom
"Timur Aydin" <ta...@ekom.com.tr> wrote in message
news:OmFblAHe...@TK2MSFTNGP03.phx.gbl...
The name of the application is cached in the registry !!!
When I first used the problem, the version resource was apparently not
updated. When I saw the incorrect name in Windows Firewall, I corrected the
version resource, but windows keeps using the cached value :(
The problem only happened with the release build, because when I ran the
debug build, I had already corrected the version resource, so the correct
name was cached by windows.
This is really very strange. Why are the names cached for such a simple
operation as reading the version resource out of the executable?
To resolve the issues, I searched for TODO: <file description> in the
registry and deleted all entries that I found. After this, the correct names
started to show up in Windows Firewall.
Timur
"Tom Serface" <tom.n...@camaswood.com> wrote in message
news:OHvJ5lIe...@TK2MSFTNGP02.phx.gbl...
Tom
"Timur Aydin" <ta...@ekom.com.tr> wrote in message
news:e08V85Ie...@TK2MSFTNGP06.phx.gbl...
What registry key contained this TODO string? It sounds like Windows
Firewall data. I don't think core Windows caches version info like this.
If Windows Explorer properties shows your version info correctly, it
definitely is a Windows Firewall thing.
-- David
Here is the name of that key:
HKEY_CLASSES_ROOT\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
When I used windows explorer to look at the "details" tab, the version
information was definitely showing up correctly. Only windows firewall was
displaying the incorrect data, because it is apparently looking that name up
from the cache instead of the actual executable.
Timur Aydin
"David Ching" <d...@remove-this.dcsoft.com> wrote in message
news:WIWwj.7051$Mw....@nlpi068.nbdc.sbc.com...
Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm