Syndicate content

The application was unable to start correctly (0xC0150002). Click OK to close the application.

On MS-Windows, you get really strange errors and at times some of those errors are difficult to fix.

Sams Teach Yourself C++The error 0xC0150002 means that a DLL could not be loaded and thus the software could not get started since a piece of it was missing. The only solution is to "close the application" (since it wasn't really started, closing it sounds a bit funny here.)

There are several ways to find out about the problem. In Visual Studio, the output should tell you what is happening and that a library could not be loaded. However, many times, low level libraries will not be displayed in the output window.

The solution, because it is written somewhere... is to go and check out the event log in Windows. That will give you the exact error. Restart your software and see that it indeed creates a new error and see what file is missing.

One of the most usual error is a missing debug library. Somehow, MS-Windows needs a huge amount of debug libraries to run a debug version of a software... Linux may not give you any debug information, but a debug version works on all my Linux systems. Why am I using MS-Windows anyway?!

In my case the culprit was Qt4 which was compiled with VC version 9.x when I was using VC version 10.x. The debug libraries of VC 9.x were required by Qt4.

Syndicate content

     

Terms of Site Index

Find the page/content you are looking for with our index.

  • back
  • cl

    cl is the C and C++ compiler of Microsoft. This is the default compiler used by Visual Studio when compiling C or C++ files.

  • exception
  • hard drive

    A hard drive is a device that save a large quantity of data for later recollection.

    Most hard drives today use a magnetic system to save the data. However, those do get really hot and tend to break easily because they use a mechanical head (after 4 to 5 years.) Yet, they have an incredible capacity with drives that can hold as much as 2Tb.

    New modern drives use flash technology. This is like your USB thumb drive. It does not get hot, it is silent, it has much faster read access (no head to move.) It has two drawback: (1) it has a rather slow write and (2) the capacity is still quite small (at time of writing we are starting to get 128Gb drives...) The price is also much higher, but if you consider that these drives will probably last you twice as long as the magnetic drives and you won't need extraneous cooling systems, overall, it probably still worth it.

  • load