It sounds like a weired 32/64 bit problem. It can be some simple macro (in the project settings) or other "magic stuff" somewhere in the project.
Build every library in the used IDE version to ensure compatibility.
Dont use VC 6.0 it is outdated and doesnt support modern Windows versions. You better use some actual
Visual Studio Community Edition.