The case of the mysterious crash
In case you get mysterious crashes, inexplicable messages of access violations and other strange errors on seemingly innocent code:
Check your project settings, especially if your project makes use of other (3rd party) libraries:
-
Is each of the (sub)projects and/or libraries using the same run-time libraries?
Meaning: Same version, same threading model, same linking model.
Keyword for Visual C++ users: Compiler flags/MT,/MTd,/MD,/MDd. -
Are you maybe mixing release and debug build libraries in the same project?
So simple, and yet so easy to overlook and hard to detect.
Categories
Development (78)Film & Television (55)
How To (64)
Journal (17)
Miscellaneous (4)
News & Announcements (21)
On Software (12)
Projects (26)
Tags
Bluetooth (1)
C++ (11)
Citrix (1)
Clang (1)
CMake (10)
Code (3)
DE (8)
Doxygen (1)
EN (177)
Excel (1)
Filezilla (1)
Firefox (1)
GeSHi (1)
Git (2)
Hugo (2)
JSON (2)
Lua (3)
Mercurial (5)
MTP (2)
Notepad++ (3)
Powershell (24)
PuTTY (1)
Python (5)
Qt (11)
RandFill (15)
RegEx (1)
Remi (2)
RSS (1)
SCons (1)
SIMInfo (7)
Site (2)
SSH (1)
TinyTinyRSS (1)
Using C++ With Lua (2)
Visual Studio (10)
Win32 (2)
Windows (22)
Windows Registry (1)
WordPress (3)
WPD (3)
WPDLib (2)
WPF (1)
XAML (1)
YouTube (1)