0

So it's now 6:30 hours I've been trying to get Magick++ to work. I'm strongly considering writing my own library to save time and nerves.

Currently I'm finally able to compile one of the example files without linker errors, yet my application throws this error:

The application was unable to start correctly (0xc000007b)

The application was unable to start correctly (0xc000007b)

There a comment suggesting that the application is loading wrong DLL (32/64 bit), which is very likely, since it also had messed up the library bit system.

The question is: is my assumption right? If it is, what can I do?

Community
  • 1
  • 1
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
  • Get Dependency Walker and see what DLL's are dependent on your application. Then make sure those DLL's are the correct bitness, and they are available to your application. – PaulMcKenzie Nov 22 '14 at 05:09
  • How can I *make sure*? I know quite well which ones are being loaded... But what can I do about it? And most importantly, where can I set that bitness in my project? – Tomáš Zato Nov 22 '14 at 05:19
  • Make sure of exactly what? – PaulMcKenzie Nov 22 '14 at 05:20
  • "*Make sure those DLL's are the correct bitness.*" Or, preferably, that my application is the correct one. – Tomáš Zato Nov 22 '14 at 05:21
  • If you use Visual Studio, there is an `x64` configuration for 64-bit aps, and a `Win32` setting for 32-bit applications. Also, dependency walker tells you if the app is 32-bit or 64-bit by looking at the "CPU" column information. You need to get this tool (Dependency Walker). – PaulMcKenzie Nov 22 '14 at 05:26

0 Answers0