I have a weird problem when running an application that uses GNOME's libxml2 under Visual Studio 2008 (VS2008-SP1) and Windows XP.
I have two C++ projects:
- Project A (a library)
- Project B (an application that depends on Project A)
Both under one VS solution.
Project A is statically compiled with libxml2.lib. I've added dependencies to the library in both projects A and B.
Solution compiles perfectly. The only thing is, when I run it, I am getting the following error under Windows XP:
"This application has failed to start because libxml2.dll was not found. Re-installing the application may fix this problem".
I have tried this in two different Windows XP SP3 installations. And the weirdest thing is that it runs perfectly fine on Windows Vista, and I don't think it should be looking for DLL since it's statically compiled. Right?
Any ideas?