Windows error 0x000003E6, 998

Detailed Error Information

NOACCESS[1]

MessageInvalid access to memory location.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800703E6.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code998 (0x03e6)

Questions

2votes
4answers

Reading a Text File w/ WIN32

I'm trying to parse a text file with a win32 program in c++. Is there a simple method of reading a text file line by line? My text file consists of strings that I would like to store in a char array(const char* cArray[67]). Here is what I have so [...] read more
c++
winapi
file-io
2votes
1answer

Why does CreateWindowEx intermittently fail in Fall Creators Update (error 998 / 0x3e6)?

After updating Windows 10 to the Fall Creators Update, I'm experiencing intermittent failures in CreateWindowEx. GetLastError returns 0x000003e6 -- ERROR_NOACCESS / invalid access to memory. Frequently (though not always), simply repeating the call with the exact same parameters succeeds. hwnd = ::CreateWindowEx(0, wndClassName, NULL, WS_VISIBLE | WS_CHILD | WS_CLIPCHILDREN | [...] read more
winapi
mfc
windows-10
1vote
1answer

why python: kernel32.CreateProcessA() get error 0x000003e6

Here is my code: from ctypes import * WORD = c_ushort DWORD = c_ulong LPBYTE = POINTER(c_ubyte) LPTSTR = POINTER(c_char) HANDLE = c_void_p DEBUG_PROCESS = 0x00000001 CREATE_NEW_CONSOLE = 0x00000010 class STARTUPINFO(Structure): _fields_ = [ ("cb", DWORD), ("lpReserved", LPTSTR), ("lpDesktop", LPTSTR), ("lpTitle", LPTSTR), ("dwX", DWORD), ("dwY", DWORD), ("dwXSize", DWORD), ("dwYSize", DWORD), [...] read more
python
memory
ctypes
1vote
1answer

trying to export a function and call it

I'm trying to call a function in my dll. the DLL is injected into ANOTHER PROCESS so i need to be able to call the exported function after it's been injected into a target process. my exported function looks like this: #define EXTERN_DLL_EXPORT extern "C" __declspec(dllexport) EXTERN_DLL_EXPORT void InjectPacketToServer(unsigned char [...] read more
c++
c

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0