jc
2009-09-09 19:18:00 UTC
Once again i'm having issues with the manifest file.
i'm working on an application with several libraries that i created
and also requires the standard mfc and crt libraries.
everything was working fine and in my clients computers. one day my
application won't start, complaining about the dependency and i
immediately checked with the dependency walker. it complained about
the libraries that is not found or installed.
so i went back to my computer, re compiled all the libraries and the
application and this time i chose not to embed the manifest. when i
checked the manifest, i found that one of my libraries is requiring
version "8.0.50608.0" while all the libraries require version
"8.0.50727.4053". since both of them are installed in my computer i
didn't notice the problem. but my clients computers have only
8.0.50727.4053 installed(i don't have administrator rights to install
the older version and i don't want to).
now my problem is why, the linker thinks that i needed two different
versions of crt libraries. if i manually edit the manifest file and
remove that dependency then the application starts no problem. but i
like to know how it happened and how i prevent it from happening again
thanks
jc
i'm working on an application with several libraries that i created
and also requires the standard mfc and crt libraries.
everything was working fine and in my clients computers. one day my
application won't start, complaining about the dependency and i
immediately checked with the dependency walker. it complained about
the libraries that is not found or installed.
so i went back to my computer, re compiled all the libraries and the
application and this time i chose not to embed the manifest. when i
checked the manifest, i found that one of my libraries is requiring
version "8.0.50608.0" while all the libraries require version
"8.0.50727.4053". since both of them are installed in my computer i
didn't notice the problem. but my clients computers have only
8.0.50727.4053 installed(i don't have administrator rights to install
the older version and i don't want to).
now my problem is why, the linker thinks that i needed two different
versions of crt libraries. if i manually edit the manifest file and
remove that dependency then the application starts no problem. but i
like to know how it happened and how i prevent it from happening again
thanks
jc