Windows error 0xC000041D, -1073740771

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[1][2]
DescriptionThe default facility code.[1][2]
Error Code1053 (0x041d)

Questions

10votes
10answers

Why does notepad crash on desktop files in the save-as dialog?

Here's a puzzling problem - maybe somebody has an idea. Right now I am out of ideas. On Win7 64bit, the following crashes Notepad: 1. On Desktop, right click, select "New | Text Document". This creates "New Text Document.txt". 2. Right click on that file, select "Edit". This opens notepad [...] read more
windows-7
desktop
crash
notepad
10votes
1answer

Why is my TB_INSERTBUTTON message causing comctl32 to throw?

I'm trying to add an additional button into a toolbar in Internet Explorer. I assumed the implementation to be straight forward, and am currently using this code: TBBUTTON buttonToAdd; ZeroMemory( &buttonToAdd, sizeof( TBBUTTON ) ); buttonToAdd.iBitmap = 1; buttonToAdd.idCommand = 1; buttonToAdd.fsState = TBSTATE_ENABLED; buttonToAdd.fsStyle = BTNS_BUTTON|BTNS_AUTOSIZE; LRESULT insertButtonResult = [...] read more
c++
winapi
managed-c++
5votes
2answers

Direct2D : Unhandled Exception In WM_RESIZE switch case

I am creating a Simple Direct2D Application. Unfortunately it is giving an unhandled exception. The function where it is taking place: void DemoApp::OnResize(UINT width, UINT height) { if (m_pRenderTarget) <----|****The exception occurs here.....**** { // Note: This method can fail, but it's okay to ignore the // error here, because [...] read more
c++
directx
msdn
unhandled-exception
direct2d
4votes
2answers

What does the error message 0xC000041D mean?

I browsed with iexplore and it crashed with the message C000041D i.e. > Unhandled exception at 0x7149B7C0 in iexplore.exe: 0xC000041D: An unhandled > exception was encountered during a user callback. AFAIK 0x means hex code, the 714...is the program counter and the C00...is the error code. What can I do [...] read more
windows-8.1
debug
visual-studio-2013
3votes
1answer

Explorer.exe Crashing (EventID 1000, Several Faulting Modules)

I've been having this issue for several months and have already posted this issue several times in other sites, but no one seems to have an answer. This has me pulling my hair out and it is interrupting workflow horrifically. I would like to solve this, and I'm hoping someone [...] read more
windows
windows-10
windows-explorer
crash
3votes
1answer

Visual studio crashing on dock windows

Since yesterday, my visual studio are crashing everytime i try to dock some windows like toolbar, properties, etc. It freezes for some seconds, then crash without any error message. Im using vs 2015 pro with update 3 and i cant update to 2017, 2019 or other because thats the license [...] read more
visual-studio
3votes
0answers

Python pywinauto Process finished with exit code -1073740771 (0xC000041D)

Python 3.7.1 // Tk version 8.6 // pywinauto-0.6.8 // PyCharm Community Edition 2020.1 x64 The objective is to have the button send keys to the window in the background. Issue appears due to the presence of pywinauto. If inactive: from tkinter import * # from pywinauto.keyboard import send_keys def left_click(event): [...] read more
python
tkinter
pywinauto
3votes
0answers

Kinect 4 Windows can't get time stamp

I want to get time stamp on Kinect4W I learned some code from a blog, but it doesn't work I want to get time stamp on Kinect4W I learned some code from a blog, but it doesn't work IBodyFrameArrivedEventArgs* pArgs=nullptr; IBodyFrameReference* pFrameRef = nullptr; HRESULT hr = pArgs->get_FrameReference(&pFrameRef); > 0x00007FF748415967 [...] read more
c++
time
kinect-v2
3votes
0answers

An unhandled exception was encountered during a user callback

Hello I am following along with the handmade hero game and I am getting this error: "Unhandled exception at 0x013B56B2 in win32_handmade.exe: 0xC000041D: An unhandled exception was encountered during a user callback." I am not sure what is causing this because I have the exact same code that he had [...] read more
c++
winapi
3votes
2answers

How to debug PyQt4-based application?

I have a simple PyQt4-based application. I want to debug it with PyCharm. Alas, I it crashes with an error: Process finished with exit code -1073740771 (0xC000041D) Here is the code: from PyQt4 import QtGui, QtCore app = QtGui.QApplication([]) win = QtGui.QMainWindow() # Breakpoint is here win.show() QtGui.QApplication.instance().exec_() Cannot you [...] read more
python
debugging
pyqt
pycharm
3votes
3answers

Crash on big array in C++

I am working on OpenCL and I code like this in MS VS 2012: cl_float test[480000]; It can be complied successfully but the program crashes when it enter the function which the codes above are in. Error Code: 0xC000041D. It is interrupted near the end of file "chkstk.asm": ; Find [...] read more
c++
2votes
3answers

Print Spooler Crashing After KB4561608 with Ricoh Printers

I have a few computers that received the June update for windows 10 1809 that are now unable to print and event viewer is logging the following error: Log Name: Application Source: Application Error Date: 6/10/2020 10:14:13 AM Event ID: 1000 Task Category: (100) Level: Error Keywords: Classic User: N/A [...] read more
windows
print-server
2votes
0answers

Windows 10 update breaks my CAD software - rolling back update breaks system boot, how to roll back update?

I'm on Win10 Home x64 I was sure I had disabled windows 10 updates with extreme prejudice (via registry and group policy editor), but I came in to work the other day and found that Windows had somehow updated anyway. It's installed Security update KB4093112, update KB4134661 and Security Update [...] read more
windows-10
boot
windows-update
2votes
1answer

Outlook 2010 crashes when viewing mail with Japanese text

I have a user whose Outlook 2010 (32-bit) client crashes when attempting to view mail with Japanese text in the body. The client crashes both when I use the reading pane and when I try to open the message without the reading pane. The user is running 64-bit Windows 7 [...] read more
windows-7
microsoft-outlook
microsoft-office
microsoft-outlook-2010
microsoft-office-2010
2votes
1answer

PyQT crashes after sleep

I use python3.5.2 and PyQt4. Im using PyQt to connect and use .ocx. from PyQt4.QAxContainer import QAxWidget if __name__ == "__main__": app = QApplication(sys.argv) while True: # run some codes that use QAxWidget.dynamicCall() function # print some results sleep(30) After sleep and going back to main code, i got "Process [...] read more
python
pyqt
pyqt4
python-3.5
2votes
2answers

WPF application shows managed has exited with code -1073740771 (0xc000041d) in InitializeComponent call

When I launch my WPF application and when it goes to InitializeComponent function call of one user control, it silently quits and only leaves one message in the output window saying Managed (v4.0.30319)' has exited with code -1073740771 (0xc000041d). When I say "silently", I mean there is no exception is [...] read more
wpf
interop
.net-assembly
2votes
0answers

Visual Studios 2010 low on memory error / Chrome Crashes after updating Windows 8.1

Two days ago Microsoft automatically forced an update for my version of Windows 8.1. Now Visual Studios 2010 gives me a "low on memory" error twice per day. When the error occurs it forces me to restart Visual Studios. It was working fine before the update. enter image description here [...] read more
visual-studio-2010
google-chrome
windows-8.1
2votes
1answer

wxpython crashing on windows 8 - python.exe stops working

I had this code running perfectly on windows 7 - Python 2.7, once I changed to windows 8 it started crashing after a specific period of time or once it came back from a Callback. Can someone shed some light? I get - Process finished with exit code -1073740771 (0xC000041D) [...] read more
python
windows-8
crash
wxpython
core
2votes
1answer

C++ std::vector iterators error

First of all I'm sorry for my bad english, hope you guys will understand me :) Im writing WinAPI game and my classes behave very strange: all operations with vector crash my program so Windows says that my .exe stopped working. But when I debug these lines I get exceptions. [...] read more
c++
vector
stl
iterator
stdvector
2votes
1answer

Drawing in-memory 8-bit greyscale image buffer to screen using wxWidgets

I would like to draw 8-bit grayscale image data to a wxPaintDC, but I have been having trouble. The data is made available to me in a uint8_t array. See the non-working code below (this is one of several attempts). I am able to draw using other wxPaintDC::Draw* functions, so [...] read more
c++
image
wxwidgets
2votes
3answers

javaw.exe crashes on creating JFrame

I'm using eclipse on a windows 7 x64 to create a new Java Application. This is my code: import java.awt.EventQueue; public class Testen { private JFrame frame; /** * Launch the application. */ public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { try { Testen window [...] read more
java
swing
1vote
1answer

Program crashes when using one RDP client but not another

I have a server we remote into via RDP. The server is Windows Server 2012 R2 Std and most of the clients are Windows 10 but some are Windows 7. There is one program on the remote server that we use, it works for everyone except two people. From their [...] read more
windows-server-2012
remote-desktop
1vote
1answer

IIS Admin Service won't start - error 87: The parameter is incorrect

Windows Server 2012. IIS admin service stopped - when try to start from Services.msc get the following error. Event log show two errors event 1000 and event 7023 (see below for details). Any suggestions would be greatly appreciated! World wide publishing service (w3svc) is running fine. > "Windows could not [...] read more
windows-server-2012
iis-8
1vote
0answers

File Open/Save Dialog causing applications to crash

Seemingly ever since the Windows 10 Creators Update installed itself on my computer, I've been having issues when using the File Open/Save dialog. If I try and open a file, save a file, or upload a file to attach to an email, the application that I'm using will crash (whether [...] read more
windows-10
crash
1vote
1answer

Windows explorer does not start when second monitor is connected

Recently, I decided it might be a good idea to connect my old monitor - an Acer P2432w - to my windows 10 system as a secondary monitor. I will call it monitor B from now on. My primary monitor (monitor A) is an UHD monitor and connected via display [...] read more
windows-10
graphics-card
multiple-monitors
windows-explorer
nvidia-geforce
1vote
1answer

Python 3: Script exits with exit code -1073740771 (0xC000041D), while trying to get a screenshot of window using PyWin32

My script, using Tkinter to create a window, gets a bitmap image with PyWin32, convert the bitmap into a Pillow Image. Then save it to test.png. The code: import os from tkinter import Tk, Frame, Button import win32gui import win32ui from ctypes import windll from PIL import Image root = [...] read more
python-3.x
tkinter
python-imaging-library
pywin32
1vote
0answers

getting application has stopped working for winforms application

Have a standalone application which will work without UI or with UI, based on the parameters passed from command line. Noticed some time "application has stopped working" error. The ResourcePk.exe is compiled with X64 platform. Noticed the below errors in the event logs. In System-1: Faulting application name: ResourcePk.exe, version: [...] read more
c#
winforms
command-line
crash
exe
1vote
0answers

swing.JFrame closes immediately

im' new to JFrame and here’s a strange problem: after a split second, the window immediately closes. I tried to run from the command line(compiles without errors) and in Intellij IDEA (in Intellij Process finished with exit code -1073740771 (0xC000041D)), the window in both cases opens for a split second [...] read more
java
swing
jframe
1vote
0answers

Node error while using node module usb and pcsclite

I want to use the node module "usb" to connect with a printer and node module "pcsclite" to use a smartcard-reader. When i use both modules node.exe exits with error code -1073740771 (0xc000041d). Here is a little test program: var usb = require('usb') var PCSC = require('pcsclite')() PCSC.on('reader', function (reader) [...] read more
node.js
usb
node-modules
pcsc
1vote
0answers

Issues with tkinter and ctypes - unknown TclError

I am using tkinter's label to display an image, and using ctypes to construct an image. I am not comfortable with ctypes and I think I am doing something wrong, and I am seeing wired issues. I will try to explain as much as I can. The code works for [...] read more
python
tkinter
python-imaging-library
ctypes
1vote
1answer

access violation inside ADODB recordset Close

Still trying to figure out what is happening with ADODB's connections and why a certain crash is occuring. The problem was that we had a memory leak in our code: void getDetailConfig() { m_displayConf = new TestDetailDisplayCfg(); } This function is called often so a basic memory leak. Fixed it [...] read more
c++
com
ado
1vote
1answer

Visual Studio 2017 crashes on startup (Professional and Enterprise, build 15.5.2)

VS 2017 crashes on startup. Microsoft Visual Studio 2017 has stopped working [https://i.stack.imgur.com/Ux0ji.png] I've tried: * Updating to latest build 15.5.2 * Running VS as admin * Deleting the .vs folder * Repairing VS installation * devenv.exe /ResetSettings * devenv.exe /ResetUserData * devenv.exe /SafeMode * devenv.exe /ResetSkipPkgs * Checking if [...] read more
visual-studio
visual-studio-2017
crash-reports
1vote
1answer

Application crash after this.shutdown on windows 10

I am stuck at a suspicious problem in my C# / WPF / Prism application. I made a method to block the 2nd and more execution with the help of a mutex. This works fine with Windows 7. When I try to run this application with Windows 10 the application [...] read more
c#
wpf
windows-10
prism
1vote
0answers

IIS - Service Unavailable - Stop pool

I have IIS where run my WebApp and lately every day several time Stop pool and I get Service Unavailable HTTP Error 503. The service is unavailable. Then I have to Start pool and WebApp works. In Server Manager => Events I get this: Application pool 'url' is being automatically [...] read more
asp.net
iis
application-pool
1vote
1answer

Issue with Cr10 Viewer being called from a control on a 64bit OS

We are having an issue calling the Crystal ActiveX Report Viewer 10 control from a VB6 control that is placed on a .net form in a 64bit environment. This does work on my 32bit development machine but when it is ran on a 64bit machine it is failing. As soon [...] read more
winforms
crystal-reports
vb6
1vote
1answer

How can I "validate" CWnd* object?

(There's a TL;DR on the last line) I'm implementing a handler to close selected windows open in a software application. Here's a rough code: void CDlg_Dummy_Dialog::OnCloseWindows() { for (int i = 0; i < m_WindowsInfo.size(); i++) { Window_Node *pWN = &m_WindowsInfo.at(i); if (pWN->checked && IsWindow(pWN->pWnd->GetSafeHwnd())) { pWN->pWnd->GetParentFrame()->SendMessage(WM_CLOSE); } } } [...] read more
c++
windows
mfc
1vote
0answers

0xC000041D: An unhandled exception was encountered during a user callback

I am encountering the error '0xC000041D: An unhandled exception was encountered during a user callback', when I run the OpenGL code. Th debugger indicates that the error occurs here: Debugger Screen [https://i.stack.imgur.com/oWRlz.png] The function where the error occurs and calling functions are given below. Could you please help me identify [...] read more
c
opengl
exception
visual-studio-2015
unhandled
1vote
1answer

WPF application fails to start due to strange dll error

UPDATE: The error described below happens also with an empty Windows Forms Application. I have a simple WPF application in C# that works with Bing maps API. The application does nothing except from showing a Bing map that was integrated through xaml code: <m:Map CredentialsProvider="my api key that I removed [...] read more
c#
wpf
dll
1vote
0answers

OpenGL Freeglut 2.8.1 unhandled exception during user callback

I'm learning OpenGl on my own and I'm following: http://www.lighthouse3d.com/tutorials/glut-tutorial/initialization/. I'm using Visual Studios 2013, and freeglut version 2.8.1, prepackaged: http://www.transmissionzero.co.uk/software/freeglut-devel/ My code is right now simply a copy of the one in the example: #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h> #endif void renderScene(void) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glBegin(GL_TRIANGLES); [...] read more
exception
opengl
callback
visual-studio-2013
freeglut
1vote
1answer

Visual studio 2012 wont start

I installed VS2012 Premium from our MSDN subscription and it was working fine the first couple of days but then I installed a few extensions but now VS2012 does not start and it gives the error: Faulting application name: devenv.exe, version: 11.0.50727.1, time stamp: 0x5011ecaa Faulting module name: unknown, version: [...] read more
visual-studio-2012
1vote
1answer

How to avoid System Exception when Runtime Themes are enabled?

I've just ran over something interesting, enabled runtime themes in Project Options and when a hint is shown on a TDCTree(from old Dream components, similar to TTreeView) and the mouse is moved over another node that should show hint, what I get is: --------------------------- Debugger Fault Notification --------------------------- Project DRIVE:\path\to\project\MyApp.exe [...] read more
delphi
delphi-2007
0votes
2answers

Quickbooks 2010 crashes when trying to register (or not register)

I've been running Quickbooks 2010 on Windows 10 for the last year with no problem. After this last Windows 10 update, however, I am no long able to open Quickbooks. It opens to the point where it asks me to register and then it crashes regardless whether I choose Register [...] read more
windows-10
crash
quickbooks
0votes
1answer

So after copying some files to a 7z file the archive turned into a .tmp file. Should I do something about it or should I leave it that way?

I mean it still works like an ordinary 7z file. Should I rename it to .7z? Is it safe to do that? Edit: now it's a .7z.tmp file Edit: Ok so I checked Event Viewer and there was indeed an error: Log Name: Application Source: Application Error Date: 16/04/2019 23:45:46 [...] read more
7-zip
0votes
0answers

Internet explorer 11 Mouse.dll crash fix?

I am having crashes on IE 11 ( Windows 7 ) it is caused by Mouse.dll. I know that because when i open my IE 11 and mouse is out of the browser window the browser works, as soon as I enter the mouse inside browser, it crashes. When viewing [...] read more
windows-7
mouse
internet-explorer-11
0votes
1answer

Windows 10 File Explorer crashing regularly

I upgraded to Windows 10 a week ago, and then installed a fresh copy of it on a SSD. Everything worked fine, until File Explorer suddently started to behave weird: When I double-click on a folder, it opens in a new window (despite having "Browse Folders" set to "Open in [...] read more
windows-explorer
windows-10
crash
0votes
0answers

Any info on this SDL_CreateWindow error on windows?

Using SDL to create window for rendering engine that uses Vulkan. Following this code. Following is the snippet of interest: SDL_Init(SDL_INIT_VIDEO); SDL_WindowFlags window_flags = (SDL_WindowFlags)(SDL_WINDOW_VULKAN); _window = SDL_CreateWindow( "Vulkan Engine", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, _windowExtent.width, _windowExtent.height, window_flags ); I'm using Visual Studio 2019. Saw this error, built SDL from source as this [...] read more
c++
visual-studio
winapi
sdl
vulkan
0votes
0answers

C# Crystal Decisions Report Document Initialize Fails

I have a Win10 C# Desktop Forms application that wants to display a crystal report. I am using VS2019 and installed the Crystal Reports Developer Edition for Visual Studio 2019 from here: https://www.tektutorialshub.com/crystal-reports/download-crystal-reports-for-visual-studio-2019/ Currently the report runs correctly in a VB6 application with Crystal version 8. We want to upgrade [...] read more
c#
crystal-reports
0votes
1answer

Getting 0xC000041D crash in simple directX12 application

I have a simple Window class and I use a function for WM_PAINT that clears the render target view and presents the final image.so there's not much into it but I get a crash on line FLOAT clearColor[] = { 0.2f, 0.4f, 0.6f, 1.0f }; that says:0xC000041D: An unhandled exception [...] read more
crash
unhandled-exception
directx-12
0votes
0answers

Visual Studio 2019 Un-runnable

I reinstalled several times and even older versions of 2019, pro, enterprise. Nothing works. The result is the same: enter image description here [https://i.stack.imgur.com/l4qtK.png] And this is what I see in Event Viewer: > Faulting application name: devenv.exe, version: 16.7.30406.217, time stamp: > 0x5f2ced7a Faulting module name: KERNELBASE.dll, version: 10.0.19041.388, [...] read more
visual-studio
0votes
0answers

How to debug a COM-Type dll in python implemented with python package pywin32

I'm trying to remote control a CCD camera from Horiba (Symphony) and got an old SDK. The SDK is simply a dll with a pdf manual for the functions included. The dll was created for C#, but all out software is running on python. The the dll is a COM-type [...] read more
python
c#
debugging
dll
com
0votes
1answer

QsciScintilla on Pyqt4 for python35 error (unofficial whl)

I want to use pyqt4 on python35. However, the latest official release supports py=<34 So I found this university website https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4 which unofficially extended support for later versions including python35 My problem is that QsciScintilla is not working. I tried to run this code: import sys from PyQt4.QtGui import QApplication [...] read more
pyqt4
python-3.5
qscintilla
0votes
1answer

C++. I'm getting Access Violation on CreateWindow with a getter to retreive the classname string

(error 'codes' copied and pasted at the bottom) I am following an online tutorial, but also have 3 books and finished an advanced c++ course by microsoft @ edX, but realise I'm still a beginner. I mention this so people don't think I'm learning primarily by poor youtube tutorials, I'm [...] read more
c++
callback
hwnd
createwindow
0votes
1answer

PrintDocument failed to print the second time

Here is the full code Imports System.Data.OleDb Public Class veterinarycgpa Private Sub veterinarycgpa_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim matricno, sessionad As String matricno = pretranscript.matric.Text sessionad = pretranscript.session.Text 'semester = checkresult.semester.Text Dim allunit, allwgp As Decimal Try Dim con As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=cgpa.accdb") Dim cmd As [...] read more
vb.net
visual-studio-2012
printing
printdocument
0votes
1answer

Devenv.exe crash after running "Devenv.exe /setup" command

I'm facing a problem in Visual Studio 2019 when run "Devenv.exe /setup". The below error appears: Faulting application name: devenv.exe, version: 16.4.29519.181, time stamp: 0x5dd4c41f Faulting module name: KERNELBASE.dll, version: 10.0.18362.476, time stamp: 0x540698cd Exception code: 0xc0020001 Fault offset: 0x001135d2 Faulting process id: 0x1fd4 Faulting application start time: 0x01d5ac2ab285da4c Faulting [...] read more
visual-studio-2019
visual-studio-extensions
0votes
1answer

Java crashes when creating a JFrame

I am baffled at this issue. I just wanted to create a JFrame for testing, this is the only class: import javax.swing.*; public class TextPaneTest extends JFrame { public TextPaneTest(){ setTitle("Test"); setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); setLocationRelativeTo(null); setSize(200, 200); setVisible(true); } public static void main(String[] args){ new TextPaneTest(); } } I am using IntelliJ [...] read more
java
swing
crash
jframe
0votes
0answers

.NET Application crashes silent only when a debugger is attached. How do I locate the faulting code?

I have an .NET application which crashes when I attach a debugger. Without an attached debugger it runs as expected. When the application crashes it just vanishes and no error message is displayed anywhere. Visual studio which I used to start the application and attach the debugger is still running [...] read more
.net
wpf
visual-studio
debugging
0votes
0answers

WPF app getting crashed outside of visual studio only on few systems

I have a wpf app which is being converted to uwp app using visual studio windows application packaging project and it is getting crashed on Launch in few of the systems. I am not able to figure out what the problem is. I tried debugging the app using WinDbgPreview. I [...] read more
c#
.net
wpf
dll
kernel
0votes
0answers

How to replace (hook) a Windows function with a custom one using MS Detours?

I'm a student and just learned about hooking with MS Detours. DESCRIPTION: I wanted to replace some Windows functions for writing and changing text inside windows, titles etc. like a TextOutW() function The TextOut() function writes a character string at the specified location, using the currently selected font, background color, [...] read more
c++
windows
winapi
hook
detours
0votes
0answers

Unhandled exception at 0x6D3800C8 in Konfig32.exe: 0xC000041D after using MS Detours

First of all, I'm a beginner and I started to learn C++ last month, so don't be mad if I can't good explain the problem. :D I'm using MS Detours to hook some custom functions to original functions from Windows. When I run the software, the original functions which are [...] read more
c++
windows
winapi
0votes
1answer

Pyqt crashes when trying to show opencv videostream

I tried code from this answer and it crashes with error Process finished with exit code -1073740771 (0xC000041D) after some time (2-10 sec.) and sometimes with 0xC0000005. It crashes immediately if I try to drag the window. However when I put time.sleep(0.1) in run it works fine. If I use [...] read more
python
python-3.x
opencv
pyqt5
qthread
0votes
1answer

App crashes the first time I select an item in a combobox defined programmatically in a grid that is added as a child of a stack panel

I get the following error on a Zebra tablet t55 when running my app: Unhandled exception at 0x00007FFEA4A22D45 (Windows.UI.Xaml.dll) in PerfectDelivery.exe: 0xC000041D: An unhandled exception was encountered during a user callback. It happens after I load all my sqlite database and run the app the first time. After the crash [...] read more
combobox
uwp
stackpanel
0votes
0answers

C++ -> C++/CLI How to pass native member function as callback to managed code

I have a native callback function in C++, let's say something like this: void ::CallbackFunction(void) { // Do nothing } Now I have another native function: void ::SomeNativeFunction(void) { m_callback = std::tr1::bind(&::CallbackFunction, m_Tcy); // save in m_callback (std::tr1::function<void()>) m_Tcy->SomeManagedFunction(&m_callback); } Alright, so now I called a managed function and gave [...] read more
c++
0votes
0answers

QT error code -529697949 while allocating memory

I'm using Qt 5.11 with Qt Creator 4.7.1 and I'm developing on Windows 10. When I create a lot of windows that contains charts, the program crashes. I suppose that's because it doesn't have enough memory, but I'm not sure. The error is always shown when I create something - [...] read more
c++
qt
mingw
0votes
5answers

IIS Express worker process has stopped working

I am having a problem "IIS Express worker process has stopped working". I'm developing a project using ASP.NET MVC. This is visual studio on may be a sample project. Windows 7 Using. My Steps 1 open project on Visual Studio 2012 My Steps 2 Build my Project My Steps 3 [...] read more
visual-studio-2012
iis-7
0votes
1answer

DLL Proxy call LoadLibrary cause exception : Access violation reading location 0x00000250

I'm trying to create a proxy dll for dinput8.dll. The .exe load my custom dll (proxy dll) dinput8.dll. dinput8_x86.dll is renamed version of the origin .dll that loaded by my proxy dll. Everything work fine, but when i remove the MessageBox code line, then rebuild the project, i have got [...] read more
c++
exception
dll
proxy
hook
0votes
0answers

Scheduled Task .net C# error (0xc000041d)

I wrote a C# console application, running in Task Scheduler, that is working with a 3rd party COM library. The application iterates through thousands of records, each record using this 3rd party library to execute some logic. I've narrowed down the failure to a new object instantiation from this library, [...] read more
c#
.net
scheduled-tasks
com-interop
0votes
0answers

CDHtmlDialog OnInitDialog throws exception when loaded in context of CredentialUIBroker.exe

My credentialprovider has a CDHtmlDialog which throws an exception only when the credprov dll is loaded by credentialuibroker.exe (the UAC like prompt with the title Windows Security, when you do remote or access a network folder).The credential provider displays the CDHtmlDialog successfully during Windows logon (logonui.exe) or accessing a network [...] read more
windows
visual-studio-2010
visual-c++
mfc
credential-providers
0votes
1answer

Visual Studio runs project in 'Release' mode but not 'Debug' mode

I am at a complete loss as to what is going on. This issue came out of nowhere. I checked the output window, which gave me this bit of information: > MyApplication.vshost.exe: Managed (v4.0.30319)' has exited with code > -1073740771 (0xc000041d) Looks like vshost32.exe is having issues. I've reinstalled VS2010 [...] read more
visual-studio-2010
crash
vshost.exe
vshost32
0votes
1answer

P/Invoke PostMessage crashes once the window received message

I'm creating a window via P/Invoke Win32 API in a C# console application on .NET core. Following is the core code. class WindowContext { public IWindow MainLoop(Action guiMethod)// this is called somewhere else { MSG msg = new MSG(); while (msg.message != 0x12/*WM_QUIT*/) { if (PeekMessage(ref msg, IntPtr.Zero, 0, 0, [...] read more
c#
pinvoke
0votes
0answers

Exception while user callback (MFC)

I have a function with this header void LiveviewDlg::OnSize(UINT nType, int cx, int cy) In this function I calculate some coordinates for my controls. I use for this CRect rect; GetWindowRect(&rect); to get some values from my MFC control. After the line GetDlgItem(IDSTART)->MoveWindow(dialogWidth - 120, 0, 100, 50); I get [...] read more
c++
windows-7
mfc
windows-10
0votes
1answer

Crash in debug build for mixed mfc dialog and mdi project

I am working on a project which is a mixture of dialog and MDI. The project started as a tabbed dialog project. Later MDI was added to it. On clicking one of the tabs the MDI is invoked. Without clicking the a particular tab it remains only a dialog based [...] read more
c++
tabs
mfc
mdi
0votes
2answers

ListView_GetItemText crashes

I am using Visual Studio 2013 in windows 10 machines and compiling 64 bit win 32 applications I have populated a list control as below: // got the handle of the list control HWND m_list = GetDlgItem (hwnddialog, IDC_LIST ); LVITEM x; //Inserted row items x.mask = LVIF_TEXT; x.iItem = [...] read more
c++
listview
winapi
0votes
0answers

cgal the demo Polyhedron, the debugger Crashes in qscopedpointer.h

I haven't make any change in this demo, and it works fine firstly. But after lunch, I ran it again, the debugger crashed, and I got an error(below), the debugger reached this line in qscopedpointer.h: > inline T *data() const > > { return d; } ERROR: UNHANDLED EXCEPTION AT [...] read more
cgal
qt5.5
qscopedpointer
0votes
1answer

IIS express crashes after successfully debugged and build

I am running my mvc project in visual studio 2013 no errors comes in debugging and all projects build up successfully. after it when visual studio run the project and launch IIS express process it got crashes with following error which comes in result window. > The program '[13280] iisexpress.exe' [...] read more
visual-studio-2012
visual-studio-debugging
iis-express
0votes
1answer

python and ghost crash

I'm trying to get ghost to work with python and have followed instructions for installation on http://ghostpy.readthedocs.org/en/latest/ but as soon as I run from ghost import Ghost gh = Ghost it throws the error > Process finished with exit code -1073740771 (0xC000041D) When I run import PySide print(PySide.QtCore.__version__) print(PySide.__version__) it [...] read more
python
pyside
qtcore
ghost
0votes
1answer

C++ WriteProcessMemory makes MessageBox crash the programm

i want to write a little AntiHack and i have a problem with one part of it. The idea was to prevent from dll injecting by hooking the LdrLoadDll from NTDLL.DLL. I found a function by googling which do this: // function call: BlockAPI(m_hProc, "NTDLL.DLL", "LdrLoadDll"); bool zProtect::BlockAPI(HANDLE hProcess, char* [...] read more
c++
memory
crash
release
messagebox
0votes
0answers

Git PowerShell session in Github Windows kept crashing

GitHub for Windows provides the Git Shell via PowerShell, which is great under Windows. Most of my machines works well with it, but on one laptop (Thinkpad X1 carbon) the Git Shell (PowerShell) kept crashing after input a few cmdlets, even like ls, under a git repository, but it didn't [...] read more
powershell
github
github-for-windows
0votes
1answer

How do you concatenate multi-byte LPSTR string?

I am working on a small GUI calculator project and I ran into a problem when I executed the following code: HWND edit = GetDlgItem(hWnd, BUTTON_ZERO); LPSTR currText = ""; GetDlgItemText(hWnd, EDIT_NUMBER, currText, INT_MAX); LPSTR num = "0"; LPSTR newText = ""; StringCchCopy(newText, INT_MAX, currText); StringCchCat(newText, INT_MAX, num); SendMessage(editNumber, WM_SETTEXT, [...] read more
c
concatenation
0votes
0answers

Unable to build MIT Kerberos in Windows 2007 (Windows Server Enterprise)

I was trying to build MIT Kerberos In Windows 2007 (Windows Server Enterprise) Service Pack 2 32 bit system. After adding a few flags specific to posix errors I was able to build it in Windows 7 (along with working kinit and klist programs). However in win 2007 all exes [...] read more
windows
visual-studio
windbg
kerberos
0votes
1answer

Crystal Report for visual studio crashes on 'Report Preview'

this is new for me, i have a new machine(x64) with win8 and everytime i try to see the 'Report Preview' i get this error on my event log: Naam van toepassing met fout: devenv.exe, versie: 10.0.40219.1, tijdstempel: 0x4d5f2a73 Naam van module met fout: craxddrt.dll, versie: 13.0.0.99, tijdstempel: 0x4cc41346 Uitzonderingscode: [...] read more
vb.net
visual-studio-2010
crystal-reports
0votes
0answers

LoadLibrary causes an access violation

I'm trying to create a proxy dinput8.dll to allow keyboard remapping in a game, and have pieced together some instructions etc to come up with the following : #include <windows.h> #include <strsafe.h> #pragma pack(1) HINSTANCE hLThis = 0; HINSTANCE hL = 0; FARPROC p[5] = {0}; BOOL WINAPI DllMain(HINSTANCE hInst,DWORD [...] read more
c++
windows
directinput
-1votes
2answers

vc++ Access violation reading location

I'm getting a error: First-chance exception at 0x0021F4F2 in Tetris.exe: 0xC0000005: Access violation reading location 0x000000D8. Unhandled exception at 0x0021F4F2 in Tetris.exe: 0xC000041D: An unhandled exception was encountered during a user callback. Here is my ColorGrid.cpp file, error happens when I run the application at function name const COLORREF ColorGrid::Index(int [...] read more
c++
visual-c++
-1votes
1answer

OpenCL clEnqueueNDRangeKernel Exception

I run my OpenCL program and a clEnqueueNDRangeKernel always give me an exception even I get CL_SUCCESS back from all other requirement. Unhandled exception at 0x55A7BAB2 (nvopencl.dll) in ******.exe: 0xC000041D: An unhandled exception was encountered during a user callback. Here is the link to my code on github: Source Code [...] read more
c++
opencl
gpu
-4votes
1answer

My Simpe Hello World Console Application Exites With NONZERO EXIT CODE: 0xc000041d

My friend is starting to learn C# using Visual Studio 2015 and I'm helping him. After we wrote a simple hello world console application (below) it did not run at all. static void Main(string[] args) { Console.WriteLine("Hi World"); Console.ReadKey(false); } After I click the run button, it began to show [...] read more
c#
console-application

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0