I'm trying to find the address of the API HeapAlloc in Windbg using the following syntax u Kernel32!HeapAllocStub but windbg cannot resolve that. I ha ...
I'm trying to find the address of the API HeapAlloc in Windbg using the following syntax u Kernel32!HeapAllocStub but windbg cannot resolve that. I ha ...
I am creating a WPF app where I have to make device to sleep and awake at particular time. I tried to used SetWaitableTimer to do the same but due som ...
i use GetNativeSystemInfo from windows api but when i use structure like microsoft i can not get parameter correctly at the first i use this structur ...
I have some legacy unmanaged code (unsafe, intptr) which uses VirtualAlloc method from kernel32.dll many times in order to allocate unmanaged intptrs. ...
I'm working through a reverse engineering exercise using olly. On Windows 10, I created the eLearnRE#5.dat file and verified that NTFS permissions ...
We are developing a ASP.NET web application in which we need to access a shared drive and search for a directory, if it is present or not. But while a ...
I was trying to use debugView in Electron for some reason When I use OutputDebugStringW everything I send to output become random char, on the other ...
All of the SI fields are 0 after the call to GetSystemInfo in the code below, that's the issue I am trying to solve here. This is about the same code ...
In my file transfer application (WinSCP), I use SetThreadExecutionState(ES_SYSTEM_REQUIRED) to prevent the system from going into sleep mode while a f ...
This is a simplification of a problem I encounter. There are 2 process: one that loops over ReplaceFile and another process that loops with open f ...
I'm attempting to use low level Windows API's (specifically FindFirstFileW / fileapi.h) in a UWP app for the first time. I have proof of concept code ...
I'm in the process of upgrading some code from 32 to 64 bit VBA. It uses the InterlockedIncrement function: This was formerly exported by kernel32 ...
I'm want to Create App that just use ntdll and use security check for it. but when I remove kernel32.lib or uncheck "inherit from parent or project de ...
I have assembled my assembly program using the following command: nasm -f win64 -o test.obj test.asm test.asm contains a few functions that call Win ...
I am working on a UWP app (C#, Visual Studio 2019) and I want to find out the total, free for user and free space of C:. In order to do this, I want t ...
Just trying to mess around and learn about python ctypes according to the official documentation at https://docs.python.org/3.8/library/ctypes.html E ...
I'm trying to add my program to registry and this is my code... Its not giving me any errors but it still isn't creating a new key in registry. Wha ...
The title may not be the most descriptive at first: I have a program that utilizes a call to "Wow64EnableWow64FsRedirection" function which is requir ...
I am trying to port a VB6 application to VB.NET. This is a console application that reads data from STDIN, modifies the data and writes it to STDOUT. ...
Given this piece of code: I figured out that buffer contains a sequence of bytes interspersed with NULL characters (\0). Hence, sectionContent valu ...