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
31votes
0answers

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
7votes
1answer

Should using MOV instruction to set SS to 0x0000 cause fault #GP(0) in 64-bit long-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
7votes
4answers

Use Windows API from C# to set primary monitor

I'm trying to use the Windows API to set the primary monitor. It doesn't seem to work - my screen just flicks and nothing happens. public const int DM_ORIENTATION = 0x00000001; public const int DM_PAPERSIZE = 0x00000002; public const int DM_PAPERLENGTH = 0x00000004; public const int DM_PAPERWIDTH = 0x00000008; public [...] read more
c#
windows
sdk
6votes
3answers

Python hexadecimal comparison

Hey guys, 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 [...] read more
python
hex
6votes
1answer

FSEvents file flags are set regardless of event stream creation options

According to Apple documentation, in the callback to FSEvents, /* These flags are only set if you specified the FileEvents */ /* flags when creating the stream. */ kFSEventStreamEventFlagItemCreated = 0x00000100, kFSEventStreamEventFlagItemRemoved = 0x00000200, kFSEventStreamEventFlagItemInodeMetaMod = 0x00000400, kFSEventStreamEventFlagItemRenamed = 0x00000800, kFSEventStreamEventFlagItemModified = 0x00001000, kFSEventStreamEventFlagItemFinderInfoMod = 0x00002000, kFSEventStreamEventFlagItemChangeOwner = 0x00004000, kFSEventStreamEventFlagItemXattrMod [...] read more
macos
cocoa
filesystems
osx-lion
fsevents
6votes
3answers

libvirtError: internal error Cannot find suitable CPU model for given data

I am trying to run a simple instance after a fresh installation of OpenStack. The instance cannot start and in the log I found "libvirtError: internal error Cannot find suitable CPU model for given data". Please help. Some info: libvirt.x86_64 0.10.2.6-5.el6.centos.alt qemu-kvm.x86_64 2:0.12.1.2-2.355.0.1.el6.centos.6 CentOS release 6.4 (Final). (Linux 3.4.54-8.el6.centos.alt.x86_64 #1 [...] read more
openstack
kvm
libvirt
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
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
4votes
2answers

Java.lang.UnsatisfiedLinkError: No implementation found for int

I executed youtube watch me android application project. I just add some classes in my project and build with ndk. I got the error like > java.lang.UnsatisfiedLinkError: No implementation found for int com.ephronsystem.mobilizerapp.Ffmpeg.encodeVideoFrame(byte[]) (tried Java_com_ephronsystem_mobilizerapp_Ffmpeg_encodeVideoFrame and Java_com_ephronsystem_mobilizerapp_Ffmpeg_encodeVideoFrame___3B). My code: package com.ephronsystem.mobilizerapp; public class Ffmpeg { static { System.loadLibrary("ffmpeg"); } public [...] read more
android
ffmpeg
android-ndk
youtube-api
java-native-interface
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

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

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 lpVerb [...] read more
excel-vba
shellexecuteex
shell32.dll
vba
excel
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

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
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 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

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
2votes
2answers

What is wrong with my project by arm-none-eabi-gcc on stm32?

I just want to deal with stm32 programming in c by arm-none-eabi-gcc from scratch and just working by registers, not drivers! so very simple piece of code to set PortC.8 to 1 and switch on LED on stm32f1 discovery board. I am compiling by this script: arm-none-eabi-gcc --specs=nosys.specs -T *.ld [...] read more
c
gcc
arm
embedded
stm32
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
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

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

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

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
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
0answers

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
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
1vote
0answers

Low Level Keyboard Hook Lockscreen C#

I am using this code from github to create and use a low level keyboard hook: class GlobalKeyboardHookEventArgs : HandledEventArgs { public GlobalKeyboardHook.KeyboardState KeyboardState { get; private set; } public GlobalKeyboardHook.LowLevelKeyboardInputEvent KeyboardData { get; private set; } public GlobalKeyboardHookEventArgs( GlobalKeyboardHook.LowLevelKeyboardInputEvent keyboardData, GlobalKeyboardHook.KeyboardState keyboardState) { KeyboardData = keyboardData; KeyboardState = keyboardState; [...] read more
c#
keyboard
hook
1vote
0answers

Why does Common.Logging in NuGet use .NET Portable?

I am using: * MonoDevelop 7.1 * .NET Framework 4.6.2 * Mono 5.0.1.1 (2017-02/5077205 Thu May 25 09:16:53 UTC 2017) (64-bit) * No PCL or profiles (to my knowledge) * msbuild 15.2.0.0 (Thu May 11 17:28:41 UTC 2017) <NoStdLib> is not specified; that is, it's left at its default. <TargetFrameworkVersion> [...] read more
.net
msbuild
mono
mscorlib
common.logging
1vote
0answers

Android OpenSL ES, how to choose speaker

Does anyone know how to play the sound through the speaker that we normally use during the phone conversation (not the loud speaker, but the ear speaker)? I have developed the app similar to Skype and my only problem is that when the sound is played through the loud speakers, [...] read more
android
opensl
1vote
1answer

AutoIT Controls not working on App

We have a backup app for backing up our business App that needs to be run manually. I'm trying to automate this process. I've ben using AutoIt for a while and for different purposes but this is new kind of problem for me. App is not accepting Send, ControlSend, ControlClick [...] read more
autoit
1vote
3answers

C++ WinSDK header compilation error

I am trying to compile a program in Visual Studio 2010 in Windows 7. I am getting a compilation error C2061: syntax error: identifier 'KNOWN_FOLDER_FLAG' in Windows header shlobj.h at the marked line: #if (NTDDI_VERSION >= NTDDI_VISTA) typedef enum { KF_FLAG_DEFAULT = 0x00000000, KF_FLAG_CREATE = 0x00008000, KF_FLAG_DONT_VERIFY = 0x00004000, KF_FLAG_DONT_UNEXPAND [...] read more
c++
windows
visual-studio-2010
1vote
2answers

Find out if an int contains an element from an enum set using binary operations

I am using a library that concatenates one or more enums by ORing their values like this: TestEnum { VAL1(0x00000001), VAL2(0x00000002), VAL3(0x00000100), VAL4(0x00000200), VAL5(0x00000400), VAL6(0x00000800), VAL7(0x00001000), VAL8(0x00002000), VAL9(0x00004000), VAL10(0x00008000), // special values VAL11(0x00000000), VAL12(0x00000010), VAL13(0x00000020), VAL14(0x00000030); private static final Map<Integer, TestEnum> TEST_ENUM_MAP; // constructor, populate map etc. public static TestEnum [...] read more
java
enums
binary-operators
1vote
2answers

Print volume name from each array value

I've an array with values as follow -$VolErrChk[0] has : VOLUME #2 I: \Device\HarddiskVolume8 \\?\Volume{3559b156-d159-11e4-80c1-0050569cf1fd} 5117 MB. 0x000000304f65e304. \\.\Volume{3559b156-d159-11e4-80c1-0050569cf1fd} > **** WARNING: DATA NOT AVAILABLE [0x00000100] **** $VolErrChk[1] has : VOLUME #4 B: \Device\HarddiskVolume20 \\?\Volume{3bf4ee0a-d050-11e4-80be-0050569cf1fd} 81917 MB. 0x000000304f65e304. UNKNOWN. > **** WARNING: DATA NOT AVAILABLE [0x00000100] **** I'm doing as [...] read more
powershell
1vote
2answers

Remove blank lines from command output stored in a variable

My variable output may have 100 lines. This is how it appears: VOLUME #28 drive letter = I: dev_name = \Device\HarddiskVolume8 guid_name = \\?\Volume{35596739-d159-11e4-80c1-0050569cf1fd} size = 5117 MB. disk tag = 0x000000304f65e304. descriptor = \\.\Volume{35596739-d159-11e4-80c1-0050569cf1fd} **** ERROR: DATA NOT AVAILABLE [0x00000100] **** VOLUME #28 drive letter = B: dev_name = [...] read more
powershell
1vote
0answers

Detect color of pixel and click on that pixel in loop

With this code can be detect color of pixel and click on that pixel. I want to detect color of pixel after click Login button in infinite loop that each time color found program automatically play sound! For example, in an infinite loop or any one second! And finally, I [...] read more
c#
visual-studio
screenshot
1vote
4answers

Decoding pcie config space capabilites manually - looking for example

I don't have an o/s running so I can't decode pcie using something like lspci (I wish lspci would take input from a file!). I have a hex dump below (this is a Xilinx Ultrascale FPGA but the question is generic), I'm trying to understand where the capabilities start and [...] read more
pci
pci-e
1vote
0answers

Link variable at specific address

I'm writing an application for an embedded system using an Atmel ARM core processor using GCC tools provided with Atmel Studio. The production programming device I'll be using can write a serial number to a specified ROM location during programming which is nice because it's an automated process and avoids [...] read more
c++
c
gcc
linker
embedded
1vote
1answer

programing power source over GPIB with Qt

I'm trying to communicate with a Yokogawa GS200 DC source connected to windows PC over GPIB using c++ and Qt. I found a library from Yokogawa ( https://y-link.yokogawa.com/YL008.po?V_ope_type=Show&Download_id=DL00002096&Language_id=EN ) that should do the task; however, when I tried running a simple code it compiled without errors, but the there was [...] read more
c++
qt
gpib
1vote
0answers

Disable all gestures in app on Windows multi touch device (e.g. MS Surface)

I have PyQt test application which opens window. I use event filter to disable all gestures on MS Surface for my application. Some guestures (e.g. "Press and hold") are not recognized now, but not all. If one finger presses the screen and you press a second finger, transparent square appears [...] read more
windows
qt
winapi
1vote
1answer

How to work with integer flags

I am trying to set an integer variable to a combination of an enum values, the enum is: public enum WebBrowserDownloadControlFlags : uint { DLIMAGES = 0x00000010, VIDEOS = 0x00000020, BGSOUNDS = 0x00000040, NO_SCRIPTS = 0x00000080, NO_JAVA = 0x00000100, NO_RUNACTIVEXCTLS = 0x00000200, NO_DLACTIVEXCTLS = 0x00000400, DOWNLOADONLY = 0x00000800, NO_FRAMEDOWNLOAD = [...] read more
c#
enums
1vote
1answer

Robotframework RIDE AutoIt control to press Stop

I am trying to use AutoIt to activate a running RobotFramework RIDE window and press the stop button. When using the AutoIt info tool I find that the Stop button is located within a toolbar. I have pasted the output from that tool here: >>>> Window <<<< Title: RIDE - [...] read more
automation
autoit
robotframework
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

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

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
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

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=0x00000100And 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 fix [...] 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
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 process had been killed before the [...] read more
node.js
http
https
tcp
0votes
0answers

Can I access a shared folder with a different user configured in IIS?

I have a problem accessing a shared folder with a webservice. In IIS I have configured a user like "IIS_USER", but he can not see the shared folder because it can only be seen by accounts in our domain. I need to request that file with another user like (domain\user)+pwd [...] read more
asp.net
windows
web-services
shared-directory
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
0answers

Run and Install MSI file in CentOS 6

I am trying to run the MSI file, i.e. ArgoSoft to set up a local mail server for my application. I can't run it on my local machine as I am using VPN, I am running all my services on CentOS 6 provided to me by my client I have [...] read more
centos
windows-installer
centos6
wine
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
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
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 here: 1. The [...] 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
0answers

__imp_Disasm unresolved external symbol

i'm working on some vm and faced a problem. I'm unable to compile vm because of BeaEngine. I'm using such files: BeaEngine.h, basic_types.h,export.h,macros.h. So here is the error code : LNK2019 UNRESOLVED EXTERNAL SYMBOL __imp__Disasm in function "unsigned long __cdecl Virtualize(class CodeChunk *,void *,unsigned long)" (?Virtualize@@YAKPAVCodeChunk@@PAXK@Z) I have main file [...] read more
c++
disassembly
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
1answer

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

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
0votes
3answers

How to get progress bar to update DURING execution of an app running in a backgroundworker

I have found a lot of information on the Backgroundworker updating a progress bar and I have written numerous versions of this code. But none of the versions has updated the progress bar DURING the time my upgrade application is running. Here is one of the DoWork handler versions that [...] read more
c#
multithreading
background
progress-bar
updating
0votes
0answers

How do I write and then execute kernel code from a file in protected mode?

When using rep insw in 32-bit protected mode to load my kernel from disk to memory, how do I properly write the data to memory, and then execute it? If I understand correctly, the data segment can be written to, but not executed, and the code segment can be executed [...] read more
assembly
memory
kernel
protected-mode
0votes
1answer

Getting debugger break on SerialPort Write command

I built a firmware updater app for a device and the host app connects to the device via a serial connection. The app has been working on small apps (~18KB) and I recently upped the firmware size to ~200KB. Now the host app (C#) hangs on a serial port write [...] read more
c#
debugging
serial-port
hang
0votes
0answers

Rendering in a NativeWindow OpenGL control

I've created my own OpenGL context using native API calls and NativeWindow in C#. I based on WIN32 OpenGL examples and got this: public class OpenGLControl : System.Windows.Forms.NativeWindow{ private IntPtr HDC; //private Form Parent; #region Imports [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true, ExactSpelling = true)] static extern IntPtr GetDC(IntPtr [...] read more
c#
opengl
0votes
1answer

Ffmpeg in Android Studio

i'am trying to add Ffmpeg library to use it in Live Streaming app based in Youtube APi when i add it and i use Cmake Build tool the header files only shown in the c native class which i create and i want it to be included in the other [...] read more
android
android-studio
ffmpeg
cmake
native
0votes
0answers

c# - After changing screen resolution the cursor hover area is offset

I have the below code to change my 2nd display screen resolution. It all works fine and changes as expected. However once it has been changed my mouse/cursor is offset. eg the active location is not where the pointer shows on the screen. https://i.snag.gy/DmniXd.jpg [https://i.stack.imgur.com/qIuUP.png] Thoughts? using System; using System.Windows; [...] read more
c#
0votes
1answer

RegisterRawInputDevices returning false

I am using RegisterRawInputDevices of user32.dll to register the keyboard, but it's returning false. I am developing an Office add-in using VSTO and C#. [StructLayout(LayoutKind.Sequential)] public struct RAWINPUTDEVICE { [MarshalAs(UnmanagedType.U2)] public UInt16 usUsagePage; [MarshalAs(UnmanagedType.U2)] public UInt16 usUsage; [MarshalAs(UnmanagedType.U4)] public int dwFlags; public IntPtr hwndTarget; } [DllImport("User32.dll", SetLastError = true)] public [...] read more
c#
vsto
0votes
0answers

Bad file descriptor message when creating compressed file with gzip.exe on Windows, using Visual FoxPro9 and WINAPI functions

What i'm trying to do is write text to gzip.exe StdIn and redirect its StdOut to a file, all this using WINAPI functions and visual Foxpro 9. The problem is that I always get "Stdin: Bad file descriptor" error and no output. What I expect to have is the file [...] read more
winapi
visual-foxpro
0votes
0answers

how to boot uImage of arm 64 bit kernel on raspberrypi 3?

I build the linux kernel-4.6 for rpi3 and tried to boot it up from u-boot using the following commands. In u-boot console fatload mmc 0:1 $fdt_addr_r bcm2710-rpi-3-b.dtb fatload mmc 0:1 $loadaddr Image setenv bootargs root=/dev/mmcblk0p2 rw rootwait console=tty0 rootfstype=ext4 booti $loadaddr - $fdt_addr_r All the binaries are in place and [...] read more
linux-kernel
u-boot
raspberry-pi3
0votes
0answers

C# - Redirect child process input to read what win service parent process writes

I'm reading a lot about the topic but I am not able to get it. I have an SSCCE with a service who create a child process with CreateProcessAsUser. This child process is only intended to read from its stdin; what parent process writes, but I don't get anything from [...] read more
c#
.net
0votes
1answer

OpenCL / OpenGL and osx crashes

I've been working on an opencl octree ray caster which is written in openframeworks. It takes point clouds of 5-10m points, builds an octree, passes the octree to the kernel and then runs about 200k raycasts to find point interceptions. The code is working well enough, with results being rendered [...] read more
opengl
kernel
opencl
osx-elcapitan
openframeworks
0votes
1answer

Programatically Change Attributes of Windows File with Wild Cards (*.jpg) in VFP

Hoping to use a windows shell API call that can accept wild cards to change attributes programmatically. Utmost thanks/blessings for any/all thoughts. Borrowing code from http://www.resolvinghere.com/sm/how-do-i-change-an-attribute-of-a-file-from-within-a-visual-foxpro-program.shtml RUN /N ATTRIB +H "c:\test.txt" && Hidden causes dos window to noise itself RUN /N ATTRIB -H "c:\test.txt" && UnHidden Tom recalled this ... [...] read more
attributes
visual-foxpro
windows-shell
0votes
1answer

Cause register's value in MIPS32 architecture

If the value in the cause register is, for example, 0x00000100, how can I obtain the type of exception that has generated that code?(from the table below) 0 Int interrupt (hardware) 4 AdEL address error exception (load or instruction fetch) 5 AdES address error exception (store) 6 IBE bus error [...] read more
exception
exception-handling
mips
mips32
0votes
1answer

Google compute engine boot fails after hardware upgrade to Hashwell

I have a f1-micro instance running on Google Compute Engine running CentOS. Some time ago I got a mail stating that the zone I am using (us-central1-b) is going through a hardware upgrade to new Hashwell servers, and all instances need to be restarted. So, I did restart. I shut [...] read more
centos
google-compute-engine
0votes
1answer

User creation through a profile for Outlook 2013

I would like to create an Outlook 2013 mailbox user with a profile file. Is there a .prf template that should be OK for Outlook 2013/Exchange 2013 ? The following command generates the following popup error: > & 'C:\Program Files\Microsoft Office\OUTLOOK.EXE' /importprf C:\test2.prf The connection to Microsoft Exchange is unavailable. [...] read more
exchange-server
outlook-2013
0votes
1answer

Initial stack pointer not starting at the required offset (where are the extra byte offsets coming from?)

I have this following sample code in the start-up file for Cortex-M3 taken from Keil(compiling it with Microlib). ; <h> Stack Configuration ; <o> Stack Size (in Bytes) <0x0-0xFFFFFFFF:8> ; </h> EXPORT __initial_sp Stack_Size EQU 0x00000100 AREA STACK, NOINIT, READWRITE, ALIGN=3 Stack_Mem SPACE Stack_Size __initial_sp And this area is finally [...] read more
stack
arm
cortex-m3
keil
-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
-1votes
1answer

c# - using LoadLibrary returns 0 with Win32Error 193

I'm building a c# class library that calls third party DLLs supplied by a vendor we're working with. The vendors examples are all in vc++ and are running and working. I'm trying to load one of the DLLs and it's returning an IntPtr 0. When I call Marshal.GetLastWin32Error() I get [...] read more
c#
c++
.net
visual-c++
dll
-1votes
2answers

How to choose the initramfs source files with buildroot and Nios2 FPGA

I built latest version of Linux from Altera for my Altera DE2-115 FPGA. It won't boot properly because of something with the file system. Maybe you know what I should do? I suppose it is some option in make menuconfig but I don't know what do to. Linux version 4.9.0-00104-g84d4f8a-dirty [...] read more
linux
fpga
boot
intel-fpga
nios
-1votes
1answer

in arm7tdmi, when FIQ and RIQ occures at same time so how both are executed sequentially,first FIQ and thenIRQ?

in arm7tdmi, suppose instruction is being executed and at same time FIQ and IRQ both occur at same time.now according to priority FIQ will be handled then IRQ but my question is that how it will handled IRQ after return from FIQ i means what will be process done at [...] read more
exception
arm
irq
arm7
fiq
-1votes
1answer

CreateWindowEx failing with error 1400

The title says it all. I'm just trying to create a window using CreateWindowEx in assembly and the call is failing with error 1400 (Bad Window Handle). I've verified that no other API calls are failing and DefWindowProc is returning 0 (pass) for WM_CREATE. The parameters going to CreateWindowEx look [...] read more
winapi
nasm
-2votes
1answer

Improvement: detect the color of a pixel on screen and move the mouse

This code is written by someone and this function code is as follows: According to color pixel location can be found and click on position was found, so far, the performance is excellent but a problem with this code, quickly find the position and the color is too low that [...] read more
c#
winforms
-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