[Interest] Can't Debug on Windows 7: Invalid parameter passed to C runtime

Andreas Pakulat apaku at gmx.de
Thu Jun 14 09:14:16 CEST 2012


Hi,

On Thu, Jun 14, 2012 at 8:13 AM, Till Oliver Knoll <
till.oliver.knoll at gmail.com> wrote:

>
>
> Am 14.06.2012 um 01:52 schrieb Josiah Bryan <josiahbryan at gmail.com>:
>
> > ...
> > I'll double-check globals, but a stack trace is really what's needed
> > here anyway - debugger just says "Application exited with exit code
> > exit-code="03"" (Yes, I googled that - no, the only three results I
> > found did not help.)
>
> What compiler do you use? The MS Visual Studio compiler? If so, double
> check that you link against the proper C runtime libraries: debug vs
> release, single vs multithread support. Any mix can lead to spurious
> problems you have described. (Just a first rough guess)
>

In particular make sure you use the same runtime as the Qt libraries. So if
your Qt links against the release runtime, your app has to do that too (no
matter wether you compile with or without debug-symbols) and vice-versa. Qt
debug libraries on Windows are usually having a 'd' suffix in their name.

I would expect qmake to take care of that though, when you switch your .pro
file from release to debug mode.

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120614/00aebc5a/attachment.html>


More information about the Interest mailing list