Windows error 0x00000100, 256

Detailed Error Information

LOADER_BLOCK_MISMATCH[1]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x100: LOADER_BLOCK_MISMATCH.

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][3]
DescriptionThe default facility code.[2][3]
Error Code256 (0x0100)

Questions

42votes
4answers

I updated my CentOS 7 system. Why is Meltdown/Spectre only partially mitigated?

Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and reboot: kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 I have two CentOS 7 systems on which I've installed these packages and rebooted. According [...] read more
security
centos7
rhel7
vulnerabilities
37votes
1answer

Getting Symbols from debugged process MainModule

I started writing a debugger in C#, to debug any process on my operating system. For now, it only can handle breakpoints (HW, SW, and Memory), but now I wanted to show the opcode of the process. My first attempt was with nidsasm (NASM), but this is not suitable, because [...] read more
c#
debugging
pinvoke
debug-symbols
10votes
1answer

How to get the processes that have systray icon

I am trying to create application that get the list of processes that have systray icon. I searched alot and found number of references: 1. http://www.raymond.cc/blog/find-out-what-program-are-running-at-windows-system-tray/ 2. https://superuser.com/questions/708674/how-to-find-out-what-process-a-system-tray-icon-corresponds-to 3. Which Windows process is displaying a given taskbar system tray icon? 4. https://social.msdn.microsoft.com/Forums/vstudio/en-US/53e27f60-37af-406f-bbdc-45db2bd3dee6/how-to-find-a-system-tray-process 5. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4c4f60ce-3573-433d-994e-9c17f95187f0/finding-which-applications-and-services-are-listed-in-the-system-tray?forum=csharpgeneral 6. http://www.codeproject.com/Articles/10497/A-tool-to-order-the-window-buttons-in-your-taskbar 7. Get ToolTip Text [...] read more
c#
c++
winapi
taskbar
9votes
1answer

Should using MOV instruction to set SS to 0x0000 cause fault #GP(0) in 64-bit mode?

This question is inspired by a Reddit question in r/osdev except that this question focuses on the SS register. One may say RTFM (ISA entry for MOV), but when this question comes up it can get varying answers even among OS developers. -------------------------------------------------------------------------------- Question: Should using the MOV instruction to [...] read more
assembly
64-bit
x86-64
nasm
osdev
9votes
3answers

Python hexadecimal comparison

I got a problem I was hoping someone could help me figure out! I have a string with a hexadecimal number = '0x00000000' which means: 0x01000000 = apple 0x00010000 = orange 0x00000100 = banana All combinations with those are possible. i.e., 0x01010000 = apple & orange How can I from [...] read more
python
hex
8votes
6answers

Why is 0x00000100 = 256?

Shouldn't 0x00000100 = 4. I understand that 0x00000001 = 1 since 2^0 and 0x00000010 = 2 since 2^1. What is wrong with my thinking? initVariable(&variable1, "variable1", "1, 2, 3", 0x00000100); assertIntegerEquals(variable1.address, 4); // 0x00000100 = 4? My assertion fails because it says that 256 != 4 read more
c
binary
5votes
1answer

Server Suddenly became Unresponsive to SSH

Server suddenly became unresponsive to SSH, I reported the previous time it happened here on another server I have about 2 months ago. The server setup is CentOS6 64bit, it runs a very basic apache2 server that serves up static files and should be under very small loads, as it [...] read more
ssh
centos
5votes
1answer

Acrobat DC - Change application background color? (GUI too bright)

I'm trying to change (through Hex Editors, Resource Hackers, etc.) the background color of Adobe Acrobat DC, the latest version of Adobe Acrobat. This version makes the background color much lighter. It's too bright. It hurts my eyes to use, and is distracting from the white-background documents I want to [...] read more
user-interface
adobe
acrobat
hex-editors
5votes
3answers

DEADLINE scheduling policy not found

I want to implement the DEADLINE scheduling policy in C. I know the feature is implemented since Linux 3.14.10 and I'm using Ubuntu 14.04 Linux #### 3.17.0-031700-lowlatency #201410060605 SMP PREEMPT which should be recent enough. I develop the program with Eclipse (launched as sudo). I've defined _GNU_SOURCE and included sched.h [...] read more
c
linux
linux-kernel
sched-deadline
3votes
1answer

Debian Server Keeps Restarting Unexpectedly

My laboratory' server with Debian-Wheezy-7.8-Stable keeps restarting few times after some hours of uptime without any notification. This server is set up for considerably high load numerical computation as well as parallel computation. I have printed log from var/log/messages and last reboot but I found it hard to understand this [...] read more
linux
debian
hardware
uptime
3votes
1answer

ShellExecuteEx crashes in Excel VBA

Since Windows updates occurred, an API call to ShellExecuteEx(sExecuteInfo) crashes, saying: > unhandled exception at 0x75F7A529 (shell32.dll) Access violation reading > location 0x68686903 I have no clue what is wrong here, can you help me please? Definition : Private Type SHELLEXECUTEINFO cbSize As Long fMask As Long Hwnd As Long [...] read more
excel
vba
shellexecuteex
shell32.dll
3votes
2answers

WndProc in my WPF app not 'handling' WM_INPUT event

[Edit] Here's what I've gleaned about mouse input handling thus far. Note that I've learned this via a bunch of different sources and via experimentation, so don't take this as gospel: 1) Mouse event originates with mouse move 2) SetWindowsHookEx(WH_MOUSE_LL) handler LowLevelMouseProc sees event first 3) OS/app framework handles Mouse [...] read more
c#
wpf
wndproc
3votes
1answer

building minimal piece of assembly code produces empty binary file

I'm trying to build a minimal startup code for my MCU (tms570lc4357zwt, ARM Cortex-R5f), but when I build it and convert it to binary format, the size of the produced .bin file is 0. The structure of test files is: test +--CMakeLists.txt +--gnu.cmake +--isr.S +--linker.ld The version of the tools [...] read more
assembly
linker
arm
elf
bin
3votes
1answer

How to specify to createfilew function get uncached result?

I need to check whether a file (on a remote server via UNC path) exists or not (permission is not a problem here; I make a required impersonation etc.). I use CreateFileW function for creating file handle. I've also tried GetFileAttributesEx but the behavior is the same. HANDLE CreateFileW( LPCWSTR [...] read more
c#
c++
.net
filesystems
3votes
1answer

How to get the My Documents folder paths from all users of a machine

I am looking for a way to get the paths of the My Documents folders from all users (each user) of a local machine. I found several articles, but they show how to do this for the current user. I tested the code below, using SHGetKnownFolderPath, but it works only [...] read more
c#
.net
2votes
1answer

Testing multicast - not getting proper results

This question was asked before here: https://networkengineering.stackexchange.com/questions/71813/testing-multicast-problem But I was pointed here. I use this tool: https://www.winsocketdotnetworkprogramming.com/winsock2programming/winsock2advancedmulticast9a.html With turned off Windows Firewall and with turned off ESET Security Firewall. Using: C:\2>ipconfig Windows IP Configuration Ethernet adapter Połączenie lokalne: Connection-specific DNS Suffix . : IPv4 Address. . . . . . [...] read more
multicast
2votes
1answer

OS X - GPU Panic

For half a year, I've been experiencing random freezes/reboots on my MacBook Pro Retina Mid 2012 model. My current OS is OS X Yosemite, but I started experiencing the issue in the Mavericks era. The laptop has endured some occasional, unintended slight physical abuse, but nothing very serious. Just mentioning [...] read more
macos
gpu
kernel-panic
2votes
1answer

Unusable open souce ATI driver on Debian Jessie

BACKGROUND I'm now forced to use open source proprietary driver (radeon kernel module) since after the last upgrade I got Xorg version 7.7 and fglrx just doesn't support it. For what concerns the normal desktop usage this driver works fine, even better than fglrx, I even have high resolution frame [...] read more
debian
crash
amd-radeon
2votes
1answer

Can't get Laravel Homestead to work under MacOS Catalina, random kernel panics in VM

I am a seasoned full stack web dev, a happy user of Laravel's Homestead for a couple of years, but I have been running into problems with Laravel Homestead under MacOS Catalina on my new 16" MacBook Pro for weeks now, and I just can't find out what the problem [...] read more
laravel
virtualbox
homestead
macos-catalina
2votes
1answer

Python ctypes use winmode to load DLLs

I've installed an C++ API application which puts a couple of DLLs (A.DLL and B.DLL) in my programs folder. A.DLL has a dependency on B.DLL I can load them successfully with ctypes.WinDLL IF from the installation folder like C:\Programs Files\XXX-API\A.DLL while if I move the folder to another place C:\TEMP\ [...] read more
python
ctypes
2votes
1answer

Control AMIS-30543 with STM32F030R8 via SPI

I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm unsure where the error(s) are hiding. [...] read more
c
embedded
stm32
bare-metal
cmsis
2votes
1answer

Alternative to dynamic creation of variable names

I have a header file (not written by me, which I cannot change) which contains definitions in the following format: #define SPC_TMASK0_NONE 0x00000000 #define SPC_TMASK0_CH0 0x00000001 #define SPC_TMASK0_CH1 0x00000002 #define SPC_TMASK0_CH2 0x00000004 #define SPC_TMASK0_CH3 0x00000008 #define SPC_TMASK0_CH4 0x00000010 #define SPC_TMASK0_CH5 0x00000020 #define SPC_TMASK0_CH6 0x00000040 #define SPC_TMASK0_CH7 0x00000080 #define SPC_TMASK0_CH8 0x00000100 [...] read more
c++
2votes
1answer

Trouble implementing code example using PInvoke Declarations

I am referencing the following thread here for my question: Get ToolTip Text from Icon in System Tray I basically want to do the same thing as the OP, but unlike some other users who responded to this thread, I am having trouble getting the code to work after adding [...] read more
c#
tooltip
pinvoke
tray
2votes
0answers

GetSecurityInfo always returns Access Denied

I am trying to get file owner using GetSecurityInfo, but get GetSecurityInfo is always returning 5, "ACCESS DENIED" even if I have access to get ownership of the file. The .NET method "GetOwner" works, but I need long filename support, and am restricted from using .NET 4.6.2 or 3rd party [...] read more
c#
winapi
pinvoke
2votes
1answer

How do I properly read multiple sectors from a disk using 28-bit PIO in assembly?

How do I properly read multiple sectors from a disk using 28-bit PIO in assembly? This is my load sectors subroutine: load32: jmp load32_skipvars: load32_source dd 0 load32_return dd 0 load32_skipvars: mov dword [load32_source], esi mov dword [load32_return], ebx mov ebx, ecx mov al, byte [load32_source + 3] or al, [...] read more
assembly
io
x86
kernel
1vote
1answer

Importing a machine from VMware to xenServer

I've exported my VM from VMWare and tried importing it into XenServer (xcp-ng 7.6) XenConvert 2.1.1 but I always get this error: Friday, May 24, 2019 11:15:04 XenConvert 2.1.1.2199 Copyright (c) 2001-2009 Citrix Systems, Inc. Microsoft Windows 7 (Suite=0x00000100) SP 1 Processor Architecture: x64 Number of processors: 4 OVF to [...] read more
virtual-machines
xenserver
vmware-workstation
import
convert
1vote
0answers

wired dmesg output and high cpu load

I have like 50 Linux servers with the same hardware and kernel, but recently found that some of them suffers from high CPU load, runs very slowly, top and ps show TIME column with impossible large numbers; ps aux output with many 99% CPU. the kernel is Linux 3.0.13, it's [...] read more
high-load
dmesg
1vote
1answer

After resizing an encrypted LVM device, the machine takes 4 hours to boot

I have a host, under Debian Wheezy. The virtualisation software is qemu/KVM, and uses LVM Volumes as disks for the guests. The guests all have been installed using debian wheezy, full-disk encryption, LVM (/boot is out of the luks device, LVM is divided into /, /home, swap). Two times I [...] read more
debian
lvm
encryption
1vote
1answer

My dGPU (Nvidia GTX 880M) looks dead, any hope?

Yesterday I started playing Kenshi (interesting game btw), and after some time it crashed. I had no overheating problem (far from that), nothing is overclocked on my laptop, and my not-so-young GTX 880M was still more than capable of running it, but at this point it seems it stopped working. [...] read more
linux
windows-10
graphics-card
crash
gpu
1vote
2answers

Trouble installing Chrome using wine on Linux

As some of google chrome's dependencies for Linux are unable to be met (libstdc++6 and lsb-base), I've been unable to update it, which bothers me. So I've tried to install Google Chrome for Windows. I have installed wine (version 1.6.1) and it seems to be working. In addition, I've gotten [...] read more
google-chrome
linux-mint
wine
winetricks
1vote
1answer

Error 'Unexpected licence packet' with xfreerdp connection to Windows Server 2012

i am having the following problem with RDP connections on Xubuntu 14.04.1 LTS 64 bit: I am trying to connect to a Windows Server 2012 Standard (64 bit). It's in a workgroup named 'WORKGROUP' (it that matters). First of all: connecting with an Windows Administrator account (including 'attach to console') [...] read more
remote-desktop
1vote
0answers

Debian Linux running on TS-7880 Arm Board; Cannot run shell scripts with non-root user

Here is the snippet of the script that I am trying to run some shell scripts on a TS7800 Arm Board through a non-root user: echo > /dev/ttts4 echo " `hostname`" > /dev/ttts4; echo "`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' `" [...] read more
debian
webserver
apache-http-server
arm
1vote
0answers

Mac crash report info - what can I learn from it?

My Mac (MacBook Pro, 10.7.3 OS) is crashing a couple of times a day. I started this behaviour just recently, and for no apparent reason. I've done a disk check and it all seems fine. When it crashes, the screen goes black and I have to long-press the power button [...] read more
macos
mac
crash
1vote
0answers

Mac crashing with black screen on XCode install + random other times

I have a Macbook Pro bought over a year ago without extended warranty. Lately it has started crashing as follows - the screen goes black. The last note of the music (if playing, radio or iTunes) loops repeatedly. It will not go into in standby when screen is closed. Power [...] read more
mac
crash
xcode
1vote
1answer

Why is my CUDA ray tracer giving me error code 700 with this thread layout?

My goal is to write a simple ray tracer with the phong shading model with CUDA in C++. It is supposed to calculate the appropriate colors and write them into a frame buffer on the GPU and afterwards I write the values in the frame buffer into a .ppm file [...] read more
c++
multithreading
memory
cuda
gpu
1vote
1answer

Can't symbolicate using WinDBG, the exe and its associated pdb

I've been trying to use a crash reporter a previous colleague on a project. It outputs the stacktrace when a crash occurs which contains, for example, something like this (only showing the most important line of the stacktrace): Event: APPLICATION_CRASH SE EXCEPTION_ACCESS_VIOLATION at address 0x00007FF773D681E6 inside MyApp.exe loaded at base [...] read more
c++
windows
debugging
windbg
1vote
2answers

Qemu showing as black screen for ARM (VM)

So I'm using this site to setup Qemu on my Lubuntu VM. https://azeria-labs.com/emulate-raspberry-pi-with-qemu/ My errors happen when im trying to run the Qemu but the screen appears as black and it says "Guest has not initialized the display (yet)." Looking at the error it says: > Error: invalid dtb and [...] read more
linux
ubuntu
raspberry-pi
qemu
1vote
1answer

Emulate Touch Event in Windows 8 using Python

I am trying to write a sort of driver using python for windows 8. I will be receiving touch coordinates via serial which I then want to use to make it appear as though someone touched those coordinates on the screen (emulate a touch). My first question is: Is a [...] read more
python
windows-8
touch
simulation
ctypes
1vote
0answers

Click Event On Object Created Using WINAPI in CE Lua

I did a test and able to make button with icon using Cheat Engine Lua script + winapi. But I fail to find how to handle the events for the buttons created using winapi. Below is the code I am used via Cheat Engine Lua scripting including winapi functions called [...] read more
winapi
lua
cheat-engine
1vote
0answers

How to control the frames per second rendered by OpenGL driver?

For a simple scene, on windows with Intel graphics we are showing 500fps. Of course that does not mean we can actually show that many given a normal screen refresh rate of 60 to 130, but there is clearly headroom. On my laptop running Ubuntu with a decent NVIDIA card, [...] read more
opengl
driver
throttling
1vote
1answer

STM32 GPIO register level input

It's actually a basic code for controlling buzzer with leds. I did with HAL libraries.But the institution I was working with wanted to do this at the register level too. But I couldn't it. It's not too complicated however i don't understand where the problem is. My code in below. [...] read more
arm
embedded
stm32
gpio
keil
1vote
0answers

ubuntu stuck on initramfs kernel panic exit code-0x00000100

I have a system with ubuntu 18.04, and i edited profile file with wrong directory(and reloaded the profile with source), after few seconds all the windows has started shutting down. on restart i get now the BusyBox 1.27.2 shell which get me to (initramfs). tried to type "exit" and i [...] read more
ubuntu
initramfs
1vote
0answers

Obtaining a handle to a USB WebCam (Windows 10/CPP)

I'm trying to obtain a handle to my USB WebCam (Microsoft LifeCam HD-3000 ) device. I dont want to use it in a conventional way so usage of any multimedia framework are not considerable. I need to be able (if possible) to send to it IRP's via DeviceIoControl etc. Reversing [...] read more
driver
reverse-engineering
webcam
kmdf
wdf
1vote
1answer

'undefined debug reason 7 - target needs reset' Error when debug ARM Cortex-M33 using OpenOCD in FTDI SWD Mode

I am currently using OpenOCD to debug Cortex-M33 processor. However, after it connects to gdb and starts debugging, it shows the following message: Try to search windows process Found openocd running, Kill it SUCCESS: The process "openocd.exe" with PID 18768 has been terminated. Open On-Chip Debugger 0.10.0 Licensed under GNU [...] read more
cortex-m
ftdi
gdbserver
openocd
swd
1vote
2answers

Java 9.0.1 OpenJdk crashed the JVM with problem with AdaptiveWeightedAverage

My application failed for a customer crashing the JVM I have these details: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xb6b48b12, pid=31447, tid=31508 # # JRE version: OpenJDK Runtime Environment (9.0+11) (build 9.0.1+11) # Java VM: OpenJDK Client VM [...] read more
java
crash
1vote
1answer

How to distinguish which event caused the mcu to exit Standby / Sleep mode

My config: STM32F407VGT, ide STM32CubeIDE. I put MCU in standby mode and there is two ways to MCU leave standby state. First way is to connect PA0 pin with 3.3v and second way is to wait for RTC timer to count to the specified value. Both ways works fine. Now [...] read more
c
embedded
sleep
stm32
standby
1vote
1answer

Assembly clone syscall thread function not called

Im trying to create a thread using 'clone' syscall ... i searched toooooooo much ! for example, link1 link2 and now this is my source code in assembly for linux x64: FORMAT ELF64 EXECUTABLE ENTRY thread_linux_x64 THREAD_MEM_SIZE = 1024 define PROT_READ 0x1 define PROT_WRITE 0x2 define PROT_EXEC 0x4 define MAP_PRIVATE [...] read more
linux
assembly
x86-64
system-calls
fasm
1vote
0answers

Android `service` command - how to use compound types as arguments?

I'm trying to automate replies to a group MMS with Tasker. So far, I've been able to write a couple shell scripts with Termux that can poke into the SQLite database where received messages are stored, and get the content of those messages and the numbers of the participants in [...] read more
android
tasker
1vote
1answer

Registering a touch screen HID with RegisterRawInputDevices does not work

I am trying to get raw input data from a Surface touch screen, using RAWINPUT API. Getting the devices list works good. But when I want to register the touch screen device with RegisterRawInputDevices, I have issues : the function returns false with 87 (ERROR_INVALID_PARAMETER) in GetLastError... I have tried [...] read more
c#
windows-8.1
touchscreen
raw-input
1vote
0answers

How to determine the file name involved in an IO operation using windows etw tracing?

I am trying to create a consumer application in vc++, which will collect all disk events using etw tracing at real-time. I have enabled two flags, the EVENT_TRACE_FLAG_DISK_FILE_IO and the EVENT_TRACE_FLAG_DISK_IO for tracing but the problem is I am not getting as many FileIO_Name events compared to the number of [...] read more
windows
visual-c++
etw
1vote
1answer

Stock boot.img not booting after re-packing

I have a fully functional and previously tested official boot.img for my device. But when I tried to unpack it and repack it again(with no modifications whatsoever), the kernel fails to start as usual. I get a "Kernel is not seandroid enforcing" text on the top left of my screen [...] read more
android
linux-kernel
android-source
android-kernel
custom-rom
1vote
1answer

How to enable UART Interrupt in imx6q?

I am using I.MX6Q Sabre SD board. I am trying to build custom image with my own start script and ld script. The image is to be loaded with u-boot. I am trying to enable the UART receive interrupt for UART1. But it does not enter the Interrupt service routine. [...] read more
interrupt
uart
imx6
1vote
1answer

How to create Python ctypes structures for MS Windows PACKAGE_ID and PACKAGE_INFO structures?

I'm trying to translate this SO answer code into Python (and a bit from the other answer there) with the help of official documentation for PACKAGE_ID and PACKAGE_INFO. I'm getting full package names by GetPackageFullName, but some of my structures aren't formed well as OpenPackageInfoByFullName gives Unicode characters that are [...] read more
python
struct
uwp
ctypes
pywin32
1vote
1answer

Trouble Converting Smart Card Program to UWP

I'm working on converting what was originally a web forms .NET application to UWP. The application is for using company-issued badges to record meeting attendance instead of our current paper sign in sheets. The original program uses an Omnikey 5427 CK in keyboard wedge mode and has no problems. For [...] read more
uwp
raspberry-pi
smartcard
windows-10-iot-core
smartcard-reader
1vote
1answer

Python process not reponding when writing file to EFS docker volume

After setting up a docker swarm with cloudformation using the info from https://docs.docker.com/docker-for-aws/. The swarm runs a Django stack (django, nginx, celery) and for media storage a docker EFS volume is used (same setup as the shared storage volume in https://docs.docker.com/docker-for-aws/persistent-data-volumes/). When I'm uploading a file through the website (using [...] read more
python
docker
amazon-cloudformation
nfs
amazon-efs
1vote
1answer

Opengl vertex color always leads to a black triangle

My first triangle works well if the color is specified in the fragment shader. When I add a vertex color to the buffer the triangle is always black. A minimal code with the issue: type OGLfloat = float32 OGLuint = uint32 OGLint = int32 const GLFW_CONTEXT_VERSION_MAJOR = 0x00022002 GLFW_CONTEXT_VERSION_MINOR = [...] read more
opengl
nim-lang
1vote
1answer

How to debug LoadLibraryEx when used from C#

I am trying to load a win32 dll in C# using the LoadLibraryEx. It is not working - I get a message stating in visual studio "vshost32.exe has stopped working". No exceptions or any clue as to why it doesn't work. I don't believe it is a dependency problem because [...] read more
c#
pinvoke
loadlibrary
1vote
1answer

Linux: Buffer overflow of simple C program is giving SIGBUS

I am a beginner in binary exploitation, and I'm training for the exploitation of buffer overflows. I made a useless short C program: #include <stdio.h> #include <stdlib.h> int main(void) { setbuf(stdout, NULL); char buffer[64]; puts("\nWELCOME TO THE REMOTE TEMP CLEANER SERVICE\n"); printf("Please enter a password: "); gets(buffer); puts("\n"); if(strcmp(buffer, "securepassword1234") [...] read more
c
gdb
stack-overflow
buffer-overflow
exploit
1vote
2answers

How to upload a file with unique name in Visual Studio Webtest

Using Visual Studio 2015 I've recorded a web test which includes uploading a file to the website. This site doesn't allow to upload files with the same name. In webtest scenario I have a File Upload Parameter with the property Generate Unique Name set to True: enter image description here [...] read more
visual-studio
load-testing
web-testing
webtest
1vote
1answer

Yocto with Jethro 2.0 and meta-altera

All, I am working on modifying the Yocto Jethro 2.0 branch with meta-altera layer for a custom Cyclone V SOC board, but having trouble to understand how to modify the devicetree and set the filesystem location. I believe the dts is located at ./tmp/work-shared/cyclone5/kernel-source/arch/arm/boot/dts/socfpga_cyclone5_sockit.dts But, my changes to the dts [...] read more
linux
embedded-linux
yocto
intel-fpga
jethro
1vote
2answers

Is there Linux kernel version limitation for virtual machines to run on GCE?

I migrated CentOS6.0 run on VirtualBox to GCE by using CloudEndure, but migrated VM could not be launched by following error: SeaBIOS (version 1.8.2-20171012_061934-google) Total RAM Size = 0x00000003c0000000 = 15360 MiB CPUs found: 4 Max CPUs supported: 4 found virtio-scsi at 0:3 virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0 virtio-scsi [...] read more
migration
google-cloud-platform
google-compute-engine
1vote
0answers

C - Get File Bytes as Unsigned Int

I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
c
1vote
0answers

System.ComponentModel.Win32Exception (0x80004005): The network name cannot be found

I've copied the following class from stack overflow. /// <inheritdoc /> /// <summary> /// Provides access to a network share. /// </summary> public class NetworkShareAccesser : IDisposable { private string _remoteUncName; private string _remoteComputerName; public string RemoteComputerName { get { return _remoteComputerName; } set { _remoteComputerName = value; _remoteUncName = [...] read more
c#
file-io
windows-services
impersonation
0votes
0answers

Gnome loosing session every time I want to relogin

Most of the time when I try to log into my laptop after the session automatically closes for inactivity the session closes and I have to open again the applications. I suspect the problem is related to the nvidia drivers, any suggestion: Nov 5 19:46:35 Laptop1 /usr/lib/gdm3/gdm-x-session[1671]: /etc/gdm3/Xsession: Beginning session [...] read more
debian
gnome
0votes
1answer

How should we understand this 'locked for more than 120 seconds' call trace?

Yesterday a Java service in our Docker Swarm cluster suddenly stopped responding. The task (container) for this service just hung, did not answer any requests, and could not be killed. Looking at /var/log/syslog, we see the following at the time when the service stopped. We're just a little bit in [...] read more
linux-kernel
0votes
1answer

need help SolusVM Xen-pv error

I recently use Solusvm and xen and I have a problem with xen-pv there is a xen-pv template by default with the solusvm Centos-5.3-x86 I have created a machine to test it but I have this error : xm create -c vm103.cfg Using config file "./vm103.cfg". Started domain vm103 (id=45) [...] read more
linux
xen
0votes
1answer

chroot from live cd gives : /bin/bash: error while loading shared libraries: __vdso__time: invalid mode for dlopen(): Invalid argument

Tried to fix boot problem kernel panic not syncing attemped to kill init exitcode=0x00000100 And trying to chroot from live cd and im getting this error: /bin/bash: error while loading shared libraries: __vdso__time: invalid mode for dlopen(): Invalid argument Seems i messed up with some libraries. Anyone know how to [...] read more
linux
ubuntu
chroot
0votes
1answer

Mysql instance on centos 6.4 suddenly stopped

We have a mysql instance running well and suddenly it stop. I have gone through the logs file but found no indication why it stopped? But there have some instance start and stop before this? Below is the snippet of mysqld.log 121229 22:17:45 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended [...] read more
mysql
centos
0votes
1answer

Amazon EC2 unable to connect to instance

I had to change keypair on my instance. I have created an EBS AMI image of the original instance and created a new one with the image. I can ping the instance but ssh connection is refused. One thing that may be causig the problem is that a passphrase is [...] read more
apache-2.2
ssh
amazon-ec2
connection
startup
0votes
1answer

Fedora error log file

I am running a java application using this wrapper service yajsw. The problem it just stopped without any error in its logs file. So I was wondering will there be any system log file which will indicate the cause of it going down? Partial of the log file. Apr 6 [...] read more
centos
java
0votes
0answers

Stuck at blinking cursor with Linux VMs

Host: Windows 10 VM: ubuntu-18.04.3-desktop-amd64 enter image description here [https://i.stack.imgur.com/wz4Mb.png] When I boot the VM it only shows the black screen with a blinking cursor. I checked the BIOS, VT-X is enabled. Windows Hyper-V is also disabled. VM Log didn't show VT-X error. What could be the problem? 00:00:06.225090 Features [...] read more
windows-10
virtualbox
ubuntu-18.04
0votes
1answer

Fedora 31 uses llvmpipe as default OpenGL renderer instead of Nvidia (nvidia-settings also don't work)

I want to use only my Nvidia card on laptop MSI GL63 8RD (Optimus Bumblebee works horrible for me) with Fedora 31 (freshly installed). This is my cards: lspci | egrep 'VGA|3D' 00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) 01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX [...] read more
linux
graphics-card
fedora
optimus
0votes
1answer

How to Install Wine Library by GUID?

I know you can uninstall stuff by typing wine uninstaller --remove '{E45D8920-A758-4088-B6C6-31DBB276992E}', but what is the command to install a library by GUID ? If I try to run Geforce Experience with Wine I get this: fixme:exec:SHELL_execute flags ignored: 0x00000100 fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) [...] read more
linux
opensuse
nvidia-geforce
wine
geforce-experience
0votes
1answer

Boot ISO image with Kaspersky antivirus via Grub

I have difficulties when trying to boot ISO image provided by Kasperky. I have tried two options: A. Boot by loading kernel: menuentry "Kaspersky Rescue" { # Taken from http://rescuedisk.kaspersky-labs.com/rescuedisk/updatable/kav_rescue_10.iso set isofile="/iso/kav_rescue_10.iso" echo "Booting from $isofile. Wait for a minute..." loopback loop $isofile set root=(loop) # From $isofile/boot/grub/i386-efi/cfg/kav_menu.cfg linux /boot/rescue [...] read more
boot
iso-image
grub2
dracut
0votes
1answer

Frequent BSOD 0x9F driver_power_state_failure

I have been experiencing lots of BSODs in the past few weeks. The stop code is always 0x9F (driver_power_state_failure). I have saved four memory dumps from the past three days, and used WinDbg from the Windows SDK to compare them. The debugging details mostly look the same (see the bottom [...] read more
windows-7
drivers
bsod
nvidia-geforce
0votes
1answer

qemu valid dtb and unrecognized/unsupported machine ID

I am following this tutorial to run Raspbian on my Windows PC, but it does not work. I renamed my system img and kernel to fit the command, but no success. valid dtb and unrecognized/unsupported machine ID r1=0x00000183, r2=0x00000100 r2[]=05 00 00 00 01 00 41 54 01 00 00 [...] read more
raspbian
qemu
0votes
1answer

How to encrypt and decrypt using TPM EK

I am using TPM Java library provided by Microsoft. Connection is working for simulator. Stuck in how to encrypt string using TPM Endrosment public key and decrypt using TPM Endrosment Private key. Below is the code which is incorrect functionality, Where TPM private EK is not visible outside world then [...] read more
java
encryption
tpm
0votes
0answers

ValueError: header version and dt cannot be set at the same time

I am trying to compile an Orange Fox recovery. Source sync was 100%. I generated device tree using "TWRP device tree generator". Now when I try to compile, I am getting this error and I have no idea how to solve it. What should I do (I am using ubuntu [...] read more
android
linux
0votes
0answers

DocumentProperties not updating the print job with new DEVMODE structure

I am trying to update a print job with a new property set to the printer's DEVMODE structure in my C# win forms application. Specifically, the tray to print to. [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class DOCINFOA { [MarshalAs(UnmanagedType.LPStr)] public string lpszDocName; [MarshalAs(UnmanagedType.LPStr)] public string lpszOutput; [MarshalAs(UnmanagedType.LPStr)] public string lpszDatatype; [...] read more
c#
winapi
printing
print-spooler-api
0votes
0answers

Flashing custom kernel into Android phone (Pixel)

I'm trying to modify the kernel of a Pixel 4a 5g phone. For that, I've downloaded the stock boot.img from https://developers.google.com/android/images. I've also got a kernel src code (https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19-stable) and compiled it. It results into an Image and Image.gz files. In my understanding, I have to unpack the boot.img file, [...] read more
android
linux-kernel
google-pixel
0votes
0answers

Determining Tag,set,offset, and hits/misses in Cache block

Hello I have this problem on my homework and I wanted to check to make sure I was doing it right? Consider a 16B direct-mapped cache with 8B blocks and 2 sets for an 8-bit architecture (i.e., 256 bytes of memory): a. How many address bits are used to represent [...] read more
caching
tags
set
block
offset
0votes
0answers

Scapy http_request "Failed to open URL"

Im working on creating a Scapy script that does the three-way handshake, GET request, and then finally grabs the contents of a file via HTTP_request thats on a remote apache server, and then display it in the browser on my machine. I've managed to get everything working except for when [...] read more
python
http
httprequest
scapy
http-get
0votes
0answers

Windows Console Application c#: RegisterRawInputDevices

I am using RegisterRawInputDevices of user32.dll to register the keyboard in one specific application and I'm getting Error 87 (ERROR_INVALID_PARAMETER) with GetLastWin32Error() function. When printing the Main Window Handle of the application I get "460346", it doesn't seem to be a wrong value. I also tried with The Current Process [...] read more
c#
windows
console-application
barcode-scanner
0votes
0answers

Freeling analizer is not working with NER, dates, numerals

I am trying to use freeling to recognize and classify named entities in Spanish, I am testing with the analizer as I still don't understand how to use the Python API. So when using the analizer in a text it doesn't recognize or classify named entities or dates or anything [...] read more
python
nlp
ner
freeling
0votes
1answer

Get path of process without Admin privileges in C#

I am trying to get the path of a running process without admin privileges. There is lots of tutorials online, but i can't get them to work. This is the basic premise that works great when running as administrator: // main Process pname = Process.GetProcessesByName(processName)[0]; string path = GetExecutablePath(pname); // [...] read more
c#
0votes
3answers

How to configure SWD pins using registers in STM32?

Info: I create Blink using registers in STM32. This works, except that after the firmware the SWD connector stops working for me. The reason most likely is that the SWD is on the same port along with the LED. When configuring the port and the LED pin, I probably reset [...] read more
stm32
cpu-registers
0votes
3answers

System Error Code 0x32 when trying to attach debugger to calc.exe

I am currently learning how debuggers function and I am trying to program one myself following the book 'Gray Hat Python' by Justin Seitz. I am quite new to python and using the Windows API so any help is appreciated. I am using python 2.7 and Windows 10 64bit (in [...] read more
python
ctypes
0votes
0answers

STM32F407VG discovery SPI communication (nrf24l01+pa+lna)

Trying to setup communication between stm32f407VG discovery and nrf24l01 via SPI. It looks like reading data from registers is going fine, but there is trouble with writing to them because, doesn't matter if i write something to register or if I don't, it always shows same values, different for every [...] read more
c
spi
stm32f4discovery
cmsis
0votes
0answers

Error while trying to run msi, with WinonX64?

I am having this problem: W11 Version 412/-1 OS Version: Version 10.13.6 (Build 17G66) Memory: 8192 Processors: 4 Active Processors: 4 Case Sensitive: 0 runtimePath: /Users/*/Library/Group Containers/L4U3JC8648.winonx/engines ------- END HEADER ------- exp len: 0 Winit executeEnvironment: (null) ------- EXEC ------- 0037:fixme:exec:SHELL_execute flags ignored: 0x00000100 0039:fixme:ntdll:NtLockFile I/O completion on lock not [...] read more
windows-installer
0votes
0answers

WTSQueryUserToken() return false

I'm trying to run the c# watchdog windows service application from this stackoverflow thread The issue I'm having is that WtsApi32.WTSQueryUserToken is return false with the following message The operation completed successfully in this snippet of code: // Retrieve the active session ID and its related user token. var sessionId [...] read more
c#
windows-10
windows-services
64-bit
watchdog
0votes
1answer

Updates certain values only if a matching int flag is received

I have an object class that tells me what type of data has changed. object Part { const val CONTRAST = 0x00000001 const val SATURATION = 0x00000010 const val PIXELATION = 0x00000100 const val SHARPNESS = 0x00001000 const val BRIGHTNESS = 0x00010000 const val ALL = 0x11111111 } In my [...] read more
java
kotlin
0votes
0answers

Operate with i2c-device from tasklet

I write a driver for i2c rtc chip for learning purpose. The driver can detect interrupts on GPIO pin from rtc chip. I want to schedule a tasklet into interrupt context and do some usefull work into the tasklet later. GPIO irq handler: static irqreturn_t alarm_irq_handler(int irq, void *dev) { [...] read more
linux-kernel
linux-device-driver
tasklet
0votes
1answer

Using virt-install to install Ubuntu Server 18.04 but hangs

The host machine is a Ubuntu Server 19.10 with no GUI. I've installed KVM and try to install a Ubuntu Server 18.04 virtual machine using the command sudo virt-install \ --name demo1 \ --os-variant=ubuntu18.04 \ --ram=4096 \ --vcpus=8 \ --network bridge=br0 \ --graphics none \ --disk path=/var/lib/libvirt/images/demo1.img,bus=virtio,size=16 \ --location /home/ubuntu/virtualization/ubuntu-18.04.4-live-server-amd64.iso [...] read more
ubuntu
kvm
libvirt
0votes
0answers

How do correlate symbol information from PDB with PE contents?

I've been trying to get a better understanding of where my C++ source code ends up in a PE format and how to find specific points in my source code in the PE. For example, I have a simple program which I've compiled with /Od and /ZI flags. There's one [...] read more
c++
windows
linker
symbols
virtual-address-space
0votes
1answer

Code executes correctly only if prints are present (C)

I'm setting up a prototype for a DAQ system for Zynq FPGAs. I receive data from a server through ethernet, write it to a FIFO using the DMA and viceversa using two different pthreads. However, threads work correctly only if printf are executed. I expect there is a memory leak [...] read more
c
pointers
memory-leaks
shared-memory
mmap
0votes
1answer

XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder

Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that. It turned out that the error is being thrown inside parsing the JMS envelope and inside the ParseJmsFolder method. This is the exception we [...] read more
.net
jms
ibm-mq
xms
rfh2
0votes
2answers

Convert char array to integer value

I'm having a bit of a trouble figuring out the correct calculation of WORD, DWORD etc. I'm having kind of a knot in my brain, probably sitting on this problem for too long. I'm reading a PE-section header. So far everything is ok. Here is a sample output from a [...] read more
c++
binary
hex
portable-executable
0votes
0answers

File type returns empty string

I'm trying get file type name (like Folder, bitmap image, Text file etc...) with c#. I dont want get from registry because of privilege reasons. I found this method from internet. It working well for get file icon (SHGFI_LARGEICON, SHGFI_SMALLICON) But This method always returning blank szTypeName. I've tried different [...] read more
c#
shell32
shell32.dll
0votes
1answer

What is 'FT' means in Nginx NGX_HTTP_UPSTREAM_FT_* macro/const

There are some macro about nginx upstream and What is 'FT' means in these definitions? #define NGX_HTTP_UPSTREAM_FT_ERROR 0x00000002 #define NGX_HTTP_UPSTREAM_FT_TIMEOUT 0x00000004 #define NGX_HTTP_UPSTREAM_FT_INVALID_HEADER 0x00000008 #define NGX_HTTP_UPSTREAM_FT_HTTP_500 0x00000010 #define NGX_HTTP_UPSTREAM_FT_HTTP_502 0x00000020 #define NGX_HTTP_UPSTREAM_FT_HTTP_503 0x00000040 #define NGX_HTTP_UPSTREAM_FT_HTTP_504 0x00000080 #define NGX_HTTP_UPSTREAM_FT_HTTP_403 0x00000100 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000200 #define NGX_HTTP_UPSTREAM_FT_HTTP_429 0x00000400 #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000800 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK [...] read more
nginx
0votes
1answer

How can I treat bit mask graceful in C++?

I have met code like this. #define JOB_STATUS_PAUSED 0x00000001 #define JOB_STATUS_ERROR 0x00000002 #define JOB_STATUS_DELETING 0x00000004 #define JOB_STATUS_SPOOLING 0x00000008 #define JOB_STATUS_PRINTING 0x00000010 #define JOB_STATUS_OFFLINE 0x00000020 #define JOB_STATUS_PAPEROUT 0x00000040 #define JOB_STATUS_PRINTED 0x00000080 #define JOB_STATUS_DELETED 0x00000100 #define JOB_STATUS_BLOCKED_DEVQ 0x00000200 #define JOB_STATUS_USER_INTERVENTION 0x00000400 #define JOB_STATUS_RESTART 0x00000800 DWORD func(); The func return a dword which [...] read more
c++
0votes
0answers

Make my WinForms application behave just like a Console application when using Console.WriteLine()

I have a .NET WinForms application written in C#. The application has two operational modes: * Regular GUI mode. * Possibility to execute calls with a CLI. When I run my application from a Cmd window, the output appears on screen, but the application does not close until I press [...] read more
c#
pinvoke
0votes
1answer

embedded linux buidling/booting issue

I am trying to cross compile the Linux for a dual-core ARM Cortex A9 device. While booting I got the following prints on the UART which is showing some sync issue when Core-1 is starting. I remember I have enabled multi programming while compiling the kernel. What part of the [...] read more
linux-kernel
embedded-linux
buildroot
busybox
intel-fpga
0votes
1answer

Why can the server close_wait be clear when the process of the client had been killed

It has 4 steps on closing a TCP socket. > client close FIN_WAIT_1 FIN M => server > > client FIN_WAIT_2 <= ACK M + 1 server CLOSE_WAIT > > client TIME_WAIT <= FIN N server LAST_ACK > > client ACK N + 1 => server CLOSED If the client [...] read more
node.js
http
https
tcp
0votes
1answer

nifi convert text file to json

I'm trying to load log text files from a ftp server to elastic . The log files look like this : 0:0:21: Processing events from events 0:0:21: Processing croned build types from q_type 0:0:21: Process croned releases from trls 0:0:22: Processing croned regression list from regression 0:0:22: Processing commit loop [...] read more
elasticsearch
apache-nifi
elastic-stack
0votes
1answer

Saving DNS response in assembly using syscalls

So I am wanting to learn more about DNS and I am wanting to use assembly to accomplish the task. I noticed in tcpdump that my request appears to be accurate and I receive a response back, but my code doesn't know how to handle this. I looked on a [...] read more
linux
sockets
assembly
dns
x86
0votes
1answer

Not working Send() and Mouse Click in window with Class:SunAwtFrame on third level

I try to automate procedures in my Oracle MiddleWare Environment and when I get to the bottom of it, where I should click "Run" button (in Cyrrilic), I can't do this with Send, or Control, or Mouse. However, it is third level of the submenu, all other levels work (I [...] read more
autoit
oracle-fusion-middleware
0votes
0answers

CreateProcess Pipe is always empty

I am trying to produce a .dll for my C# UWP application in C++. I want to get the output of the CreateProcess command using Pipes. The result should be the consoleoutput of the .jar file but what I get is an empty string. Maybe the problem is the STARTF_USESTDHANDLES [...] read more
c++
winapi
uwp
0votes
1answer

My Opengl triangle has unexpected vertex colors

Hello I drawn an opengl triangle that worked fine with 3 floats color vertex attributes. The alpha one was in the shader. Now in this version I'm trying to send color attributes with 4 floats. But the colors are wierd and the third vertex is always black. The programming language [...] read more
opengl
nim-lang
0votes
0answers

How to cause Windbg to download the compressed versions of MS public symbols

Microsoft state here: > The Microsoft Symbol Server provides compressed versions of the symbol files. > The files have an underscore at the end of the filename’s extension to > indicate that they are compressed. For example, the PDB for ntdll.dll is > available as ntdll.pd_. I have 2 questions [...] read more
debugging
windbg
debug-symbols
0votes
2answers

Print correct format from double value to hexadecimal

#include <stdio.h> typedef unsigned char*pointer; void show_bytes(pointer start, size_t len) { size_t i; for (i = 0; i < len; i++) printf("%p\t0x%04x\n",start+i, start[i]); printf("\n"); } int main() { double a = 4.75; printf("Double demo by %s on %s %s\n", "Toan Tran", __DATE__, __TIME__); printf("Double a = %.2f (0x%08x)\n", a, a); [...] read more
c
linux
ubuntu
0votes
1answer

Writing to socket fails with the addition of any single line of code to c program

I'm writing a c program designed to transfer data over a socket to python client. I've encountered a really strange issue where writing to the created socket stops working with the addition of virtually any line of code after a certain point in the program. To expand on the issue: [...] read more
c
sockets
memory
embedded
0votes
2answers

Why does LoadLibrary fail while DllImportAttribute works?

I'm creating a .NET application for a client that performs I/O with one of their third-party systems. As they regularly change the password of this system, I should retrieve it dynamically by calling a native DLL that they provide in a dedicated directory (not besides my EXE file). However, I [...] read more
c#
.net
dll
interop
pinvoke
0votes
1answer

QEMU Showing Black Screen After Creating Linux uImage for ARM

So I have been following this article: https://opensourceforu.com/2011/06/qemu-for-embedded-systems-development-part-1/ I first made sure that I enabled the “Use the ARM EABI to compile the kernel” option in the menuconfig and saved it as .config After that I ran the following command and got the following output: ivan@UbuntuMATE:~/Programming/linux$ make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- uImage [...] read more
linux-kernel
arm
qemu
0votes
1answer

Access is denied from WinAPI OpenProcess

So I decided I want to inject a DLL into a notepad process for educational purposes. IntPtr hProcess = OpenProcess(ProcessAccessFlags.VirtualMemoryWrite | ProcessAccessFlags.VirtualMemoryWrite | ProcessAccessFlags.VirtualMemoryOperation, false, process.Id); _log.Info({0}, new Win32Exception(Marshal.GetLastWin32Error()).Message); This seems to fail with "Access is denied". The strange thing is that hProcess is not IntPtr.Zero and it looks like [...] read more
c#
winapi
pinvoke
0votes
0answers

occurred starting process 'command 'C:\*********\Sdk\ndk-bundle\ndk-build.cmd'' in android studio

I am using yt-watchme-master for live streaming videos from our mobile to Youtube. I used one third party library :- https://github.com/youtube/yt-watchme Here, they are using c++ code that's why I installed NDK in my android studio but still errors are coming up. Can some one help me please? Below is [...] read more
android
android-ndk
0votes
1answer

Why is the process I am writing the memory to crash?

So I recently stumbled onto a blog that described how to run your WinForms application from another process. I instantly thought this was something really cool an unique and wanted to test it out myself. While there was no code it explained how to do so and this is what [...] read more
c#
.net
process
0votes
0answers

I am trying to create ntp client which is connecting with some ntp server to sync its clock

I have tried creating a ntp client by creating a packet with ntp request send that to server. but I am not able to code to calculate offset and set time according to that offset. Though whatever i have done through that I am getting some offset value but i [...] read more
c++
ntp
0votes
0answers

Total pages printed on python and winspool.drv

Recently I had copied this code (Thanks CristiFati): Python- How to communicate with printer While its working on its own, I can't figure out how can I get total page counting to work, I added it to DEFAULT_FIELDS var and to NotifyData method, without luck as follow: def NotifyData(self): if [...] read more
python
ctypes
pywin32
-1votes
0answers

iVMS 4200 Linux Wine

I am trying to run iVMS 4200 on Linux with Wine. Before installation I ran export winearch=win32 command because I read this post: https://forum.winehq.org/viewtopic.php?t=31739#p120106 After installation I tried to run shortcut on desktop but nothing would happed, so I ran the launch command in terminal and got the following error: [...] read more
linux
wine
hikvision
-1votes
1answer

Raw Input for mouse tracking always returns 0 for delta values

Registered Raw Input Device doesn't give mouse delta, WM_INPUT does get triggered and it does pass the if(raw->header.dwType == RIM_TYPEMOUSE) statement, but values given are always 0 void InputSetup() { RAWINPUTDEVICE rid; rid.usUsagePage = HID_USAGE_PAGE_GENERIC; //0x01 rid.usUsage = HID_USAGE_GENERIC_MOUSE; //0x02 rid.dwFlags = RIDEV_INPUTSINK; //0x00000100 rid.hwndTarget = hWnd_main; //Window Handle RegisterRawInputDevices(&rid, [...] read more
c++
winapi
raw-input
-1votes
1answer

Read text of a control that is not shown under Visible Text using AutoIt Window Info tool

I have a window inside which I have a Control. I can read the Class and Instance of this control using AutoIt Window Info Tool, but the Visible Text column does not display the text that is visible inside this control. Hence, I am not able to read the text [...] read more
autoit
-4votes
1answer

c# an object reference is required for the non static field in main

when attempting to debug this, even after asking help from friends and of course google, i cant seem to debug this stupid simple problem. namespace BO2_Console { class Program { #region Mem Functions & Defines [Flags] public enum ProcessAccessFlags : uint { All = 0x001F0FFF, Terminate = 0x00000001, CreateThread = [...] read more
c#

Comments

Leave a comment

(plain text only)

Sources

  1. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0