Is there a way to determine which version of Visual Studio was used to compile a static library?

For release libraries, it’s unlikely that you could determine the version. For debug libraries, you can use dumpbin: dumpbin /rawdata:1 library.lib The assembly manifest should be at the beginning of the dump and will contain the version of the CRT the library requires along with the full path to the compiler used to build the … Read more

How to resolve ‘unrecognized selector sent to instance’?

1) Is the synthesize within @implementation block? 2) Should you refer to self.classA = [[ClassA alloc] init]; and self.classA.downloadUrl = @”…” instead of plain classA? 3) In your myApp.m file you need to import ClassA.h, when it’s missing it will default to a number, or pointer? (in C variables default to int if not found … Read more

VC++ resources in a static library

The only thing you need to do to use resources (images, dialogs, etc…) in a static library in Visual C++ (2008), is include the static library’s associated .res file in your project. This can be done at “Project settings/Linker/Input/Additional dependencies”. With this solution, the resources of the static library are packed into the .exe, so … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)