Thanks for posting the resolution for this one. It's always great to hear
about the solution.
OK, I found the problem.
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.nospam@camaswood.com> wrote in message
news:OHvJ5lIeIHA.5280@TK2MSFTNGP02.phx.gbl...
One thing I start with is doing a global find in your project on that
string and see if you can see where it is... could be that there is a
compile directive that is including one string or the other based on the
build settings.
Tom
"Timur Aydin" <tayd@ekom.com.tr> wrote in message
news:OmFblAHeIHA.2448@TK2MSFTNGP03.phx.gbl...
Hi,
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