x64 C# warning – Referenced assembly ‘System.Data.dll’ targets a different processor

Using Visual Studio 2010 C# to compile .NET project for Target Platform x64, the following two warnings appears: —— Rebuild All started: Project: TestProject-64-bit, Configuration: Debug x64 —— warning CS1607: Assembly generation — Referenced assembly ‘System.Data.dll’ targets a different processor warning CS1607: Assembly generation — Referenced assembly ‘mscorlib.dll’ targets a different processor Compile complete — […]

zlib 1.2.5 – fatal error LNK1120: X unresolved externals

When trying to link program to zlib 1.2.5 static library (zlib.lib), I got the following error: fatal error LNK1120: X unresolved externals … Version 1.1.3 worked without any problems. Without going into details, here is what I did – using DUMPBIN.EXE I figured out that I am using __cdecl (/Gd) Calling convention, but zlib somehow […]