Re: PostMessage from a DLL

Tech-Archive recommends: Fix windows errors by optimizing your registry



I thiks so because the handler of the message in the .exe is called but
I got a

First-chance exception in SerialReader.exe: 0xC0000005: Access
Violation

Sometimes I got this error too (from a memory check program):

NPW: NULL pointer write in CSerialReaderApp::InitInstance(void) {1
occurrence}

CSerialReaderDlg dlg; // CSerialReaderDlg is the main dialog of ".exe"
--> m_pMainWnd = &dlg;

.



Relevant Pages

  • Re: access violation error
    ... i am getting a access violation when i call a UDPconnect function from ... DEBUG versions in the build pane ... Error executing link.exe. ... First-chance exception in player.exe: 0xC0000005: Access ...
    (microsoft.public.vc.mfc)
  • access violation error
    ... i am getting a access violation when i call a UDPconnect function from ... DEBUG versions in the build pane ... First-chance exception in player.exe: 0xC0000005: Access ...
    (microsoft.public.vc.mfc)
  • Re: XP LOOK and crash
    ... close the application and actually after the destructor of the CWinApp ... Access Violation. ... First-chance exception in Bonapart.exe: 0xC0000005: Access ... First-chance exception in Bonapart.exe: 0xC00000FD: Stack ...
    (microsoft.public.vc.mfc)
  • Re: Thread in a ATL COM DLL
    ... > Inside its WM_INITDIALOG handler, i instantiate the COM ... > So i added an Event to the DLL wich is then used by the EXE ...
    (microsoft.public.vc.language)
  • Re: LoadLibrary Error
    ... First-chance exception at 0x01fe9c70 in ucsms.exe: 0xC0000005: Access ... This is the erro: Access violation reading ... Another good idea is to enable NT Loader diagnostics. ...
    (microsoft.public.vc.language)