Windows error 0x00000020, 32

Detailed Error Information

SHARING_VIOLATION[1]

MessageThe process cannot access the file because it is being used by another process.
Declared inwinerror.h

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

KERNEL_APC_PENDING_DURING_EXIT[2]

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

HRESULT analysis[3]

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[3][1]
DescriptionThe default facility code.[3][1]
Error Code32 (0x0020)

Questions

43votes
10answers

Drawing on top of controls inside a panel (C# WinForms)

I know this question had been asked more than a few times, but so far I haven't been able to find a good solution for it. I've got a panel with other control on it. I want to draw a line on it and on top of all the controls [...] read more
c#
.net
winforms
40votes
5answers

DeadObjectException on android app

Sometimes I start an Activity of my app, or switch fast between Fragments of a ViewPager which is in that specific Activity, I got DeadObjectException like this: W/ActivityManager( 669): android.os.DeadObjectException W/ActivityManager( 669): at android.os.BinderProxy.transact(Native Method) W/ActivityManager( 669): at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660) W/ActivityManager( 669): at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:776) W/ActivityManager( 669): at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2501) W/ActivityManager( 669): at [...] read more
java
android
memory-management
android-activity
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
15votes
8answers

Can't write and save a video file using OpenCV and Python

I'm trying to process frames from a video stream, and it as a new video. This is what I'm doing : fourcc = cv2.VideoWriter_fourcc(*'XVID') out = cv2.VideoWriter('Videos/output.mp4',fourcc, fps, (1080,1080)) I keep getting : OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 13 and format 'mp4 / MP4 (MPEG-4 [...] read more
python
opencv
11votes
1answer

STM32 USB OTG HOST Library hangs trying to create file with FatFs

I am trying to create a file with FatFs on USB flash, but my f_open call trying to read boot sector for first time file system mount hangs on this function. DRESULT disk_read ( BYTE drv, /* Physical drive number (0) */ BYTE *buff, /* Pointer to the data buffer [...] read more
c
embedded
stm32
usb-otg
fatfs
10votes
2answers

PowerShell Change owner of files and folders

Searching the web, I found 2 scripts that are able to change the owner of files and folders. When testing this, it functions perfectly in PowerShell 1.0. Now I'm trying to combine both so they work recursively, because we have folders with over 500 sub directories and files in them. [...] read more
powershell
10votes
1answer

Modular arithmetics and NTT (finite field DFT) optimizations

I wanted to use NTT for fast squaring (see Fast bignum square computation), but the result is slow even for really big numbers .. more than 12000 bits. So my question is: 1. Is there a way to optimize my NTT transform? I did not mean to speed it by [...] read more
c++
performance
optimization
modular-arithmetic
ntt
5votes
2answers

Creating semi-transparent panels/controls. Is there a foolproof way?

I am trying to create a semi-transparent control derived from System.Windows.Forms.Panel. [Edit: Basically what I want to achieve is this]: enter image description here [https://i.stack.imgur.com/irXrP.png] I have gone through numerous web articles as well as SO questions and have come up with this: class SeeThroughPanel : Panel { public SeeThroughPanel() [...] read more
c#
.net
custom-controls
5votes
1answer

Rediredting stdout for createprocessasuser to pipe hangs on read

I'm using CreateProcessAsUser to run a process from a service, and am redirecting the stdout to a named pipe. But when I try to read from the named pipe it hangs on the read and never returns. I tried this in a separate task(as currently implemented below) and just reading [...] read more
c#
pipe
createprocessasuser
5votes
1answer

"Anomaly" in signed integer in C

I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
c
optimization
integer
arm
bit-manipulation
4votes
0answers

How to make GCC create checksum-same builds?

In company where I work there is complicated industrial ARM arch router project, consisting primarily of many C and C++ apps with Linux kernel. Currently we are preparing to certification and certification organization wants us to send them all sources and binary checksum of resulting root filesystem image. Of course [...] read more
c++
c
gcc
build
binary-reproducibility
4votes
1answer

How to zoom the screen programmatically with private coregraphic methods (how to find function arguments)

as you may know Mac OS X has a pretty nice screen zooming functionality built in, which can be enabled in System Preferences => Universal Access. Now I'm trying to trigger this screen zooming programatically. I can do it by sending keyboard shortcuts, but it's not as fluid as it [...] read more
macos
cocoa
core-graphics
private
4votes
4answers

robocopy error with ERROR 32 (0x00000020)

I have two drives A and B. Using a python script I am creating some files in "A" drive and I am running a powerscript which copies all the files in the drive A to drive B in the interval of 1 sec. I am getting this error in my [...] read more
robocopy
3votes
1answer

How i can Change ownership for to shared folders to Domain administrator

This is on a small bussiness server 2008 (windows server standard FE copyright on 2007) with SP1 and powershell version 1 for some strange reason the server cannot update to sp2 and no longer updates work it reports (80072EFE error though it directly connected to internet without a firewall) so [...] read more
windows
network-share
3votes
3answers

Exception loading CEFSHARP.CORE.DLL

On some of our machines, we get an exception when trying to start CefBrowser from WPF code. I have been trying to troubleshoot this, but cannot really understand what goes wrong. The machines are all Win7 running 64-bit OS. Below, I have captured a trace using "Dependency Walker" running the [...] read more
c#
.net
wpf
windows-7-x64
cefsharp
3votes
2answers

Logging from multiple processes with nLog missing logs and inconsistent archives

I have a process that runs on a windows server from multiple users on multiple sessions (could be as many as 50 concurrent users), I would like to: 1. Log from all processes to a single log file 2. limit the size of the logs to 1.5MB (for the purposes [...] read more
c#
logging
nlog
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
2answers

C++ OpenCV 3.4 / FFMPEG 3.4.1 VideoWriter and MP4 Output File Format

I'm running on an ARM BeagleBone X-15 Debian machine with Linux Kernel 4.9.35-ti-r44. In my C++ ( Qt 5 ) application, I want to save my cv::Mat frames to an MP4 format video. I have libx264 installed and compiled from scratch both ffmpeg and OpenCv. I can successfully record and [...] read more
c++
opencv
ffmpeg
2votes
2answers

VSS writer NTDS State 11 failed and other writers state 5

We use Altaro VMBackup V7.0.20.3 to back up some VMs hosted on a single Hyper-V Host running Windows Server 2012 R2. One of the VMs running Windows Server 2008 gets the following error after the backup completes: > A Shadow Copy of the host was taken successfully, but an internal [...] read more
windows-server-2008
backup
windows-server-2012-r2
hyper-v
vss
2votes
1answer

Powershell: set Registrykey owner to SYSTEM user

I have to add an exclusions path to Windows Defender registry key. I am aware that there are Cmdlets provided from Windows Defender to use them directly for these kinds of purposes. But unfortunately, in Windows 7 and Powershell v2, they are not available. So I am trying to build [...] read more
powershell
access-control-list
windows-registry
2votes
0answers

Is there a way to audit file deletion on Solaris?

Can the timestamp and user+process that performed the file delete be tracked? I have now setup solaris auditing and have made the following audit_control, audit_class and audit_event entries: $ grep pf /etc/security/audit_control flags:pf,fd $ grep pf /etc/security/audit_event 6:AUE_UNLINK:unlink(2):fd,pf 48:AUE_RMDIR:rmdir(2):fd,pf 286:AUE_UNLINKAT:unlinkat(2):fd,pf 6182:AUE_filesystem_delete:delete filesystem:as,pf 6185:AUE_network_delete:delete network attributes:as,pf $ grep pf /etc/security/audit_class 0x10000000:pf:rems [...] read more
solaris
solaris-10
2votes
2answers

How to detect robocopy's failure to delete from source?

On my SQL Server instance I use SQL Agent to run a daily backup job in two steps. One of the steps uses Robocopy to move local backup files to network storage. The command to move the files looks like this: robocopy M:\backups \\NAS\backups$\Database /MOV /MIR /XJ /NP /COPY:DT The [...] read more
windows-server-2008
robocopy
sql-server
2votes
1answer

How to read "fsutil usn readjournal C:" output

There is a utility that can be run on the Microsoft Windows command line called fsutil. One of the commands that it accepts is fsutil usn readjournal <volume pathname> along with several other arguments. Is there documentation on how to read the data produced by the program? My specific interests [...] read more
windows
documentation
journaling
fsutil
2votes
0answers

Opening a H264 stream from DVR using VLC/FFmpeg

I've been tinkering with ITX's DVR for the past few days, trying to connect to its RTSP stream using the SDK that manufacturer provides. The official syntax goes like this: PLAY rtsp://192.168.100.134/live?Live_video_channel_mask=0x0000FFFF&Live_audio_channel_mask=0 x00000000&Iframe_only=0&Stream_index=2/ RTSP/1.0\r\n Video channel mask declares the number of video channels one wants to see, e.g. if I [...] read more
ffmpeg
vlc-media-player
rtsp
dvr
cctv
2votes
1answer

Blue Screen of Death when accessing a mapped network drive

I'm facing a hard time solving a BSOD which happens whenever I access a mapped network drive. It only happens when I access a particular folder in this drive. The error code is: BAD_POOL_HEADER STOP : 0x00000019(0x00000020, 0x88EE2E28, 0x88EE2ED8, 0x0A160001) Is there any way to fix this besides formatting my [...] read more
windows-xp
bsod
network-drive
2votes
1answer

No success to simulate mouse click in C#

I'm new to C# and I want to simulate a mouse click(I'm using visual studio 2017 on windows 10). I found this code: using System; using System.Runtime.InteropServices; public class MouseOperations { [Flags] public enum MouseEventFlags { LeftDown = 0x00000002, LeftUp = 0x00000004, MiddleDown = 0x00000020, MiddleUp = 0x00000040, Move = [...] read more
c#
mouseevent
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
0answers

struct inode_operations permission function arguments

I'm trying to implement permission management for my device driver and found the following official Kernel documentation related to struct inode_operations: struct inode_operations { //... int (*permission) (struct inode *, int); //... }; The documentation for the permission function: > called by the VFS to check for access rights on [...] read more
c
linux
file-io
linux-kernel
linux-device-driver
2votes
2answers

Julia language: Redirecting stdout does not affect every println // How to extract value from stdout

My original aim was to perform a ttest and gaining a pvalue. I used OneSampleTTest which looked promising yet the results ended up in stdout like this: julia> OneSampleTTest([1,2,3,4,5],3.1) One sample t-test ----------------- Population details: parameter of interest: Mean value under h_0: 3.1 point estimate: 3.0 95% confidence interval: (1.0368, [...] read more
julia
stdout
p-value
t-test
2votes
0answers

calling (kinect) functions in DLL using ctypes

I'm trying to write a wrapper for the MSoft Kinect function which are exposed in the MSRKINECTNUI.DLL. I am converting the Skeletal Viewer example that ships with the official drivers. This example is using C++ and is using the same function from the DLL. The original C++ doc that describes [...] read more
python
kinect
ctypes
2votes
0answers

Different results when using different cl.exe compiler options

I'm on Windows 7 64bit, using VS2013 Express for Desktop. Compile as default (using SSE) D:\Work>cl printf-test.c Microsoft (R) C/C++ Optimizing Compiler Version 18.00.21005.1 for x86 D:\Work>printf-test.exe FPU control word 0x0000037f 0. FPU status 0x00000000 1. 0x43380000 0x00000000 1. FPU status 0x00000000 2. 0x43380000 0x00000001 2. FPU status 0x00000000 3. [...] read more
visual-c++
sse
inline-assembly
fpu
x87
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

Transparent Custom Graphing User Control: Turning Black on Runtime

I have a custom graphing usercontrol which has support for transparent backcolor. During design, the usercontrol shows properly. However, on runtime, the backcolor turns black. Chart on Runtime [https://i.stack.imgur.com/mjHth.png] I have searched stackoverflow for a solution, but most of the articles refer to WPF or controllers. :( Things I have [...] read more
c#
winforms
user-controls
transparency
graphing
2votes
1answer

c# Windows Shutdown process weirdness

I need help on an issue which is kind of simple but weird. The problem is with the shutdown and restart windows from my app. I know its simple and there are many examples online, but here's the deal. The shutdown/restart performed by these methods like process.start() or win api [...] read more
c#
wpf
windows
wcf
1vote
1answer

Troubleshooting NIC Logs by NETDEV WATCHDOG

I have a CentOS 6.6 server (Linux 2.6.32-504) running on a brand new Dell PowerEdge R320. Just the other day, I began noticing problems in /var/log/messages related to one of my NICs. Note: this is a server cluster that requires eth0 to be used in a crossover network to a [...] read more
linux
centos6
dell-poweredge
nic
broadcom
1vote
1answer

bond failing to start the backup network card on failure of main one

Our production server has 4 network cards, linked 2 by 2 on 2 bonds. External network: bond0 : eth0 up & running, eth1 active-backup Internal network: bond1 : eth2 up & running, eth3 active-backup We got at the same time failure of eth0 and eth2 : Mar 3 10:38:16 localhost [...] read more
networking
linux-networking
ethernet
bonding
1vote
1answer

Altaro backup warning

I have a VM, which was originally running on Windows Server 2008 R2 with the Hyper-V role. The guest was a Server 2012 which was just serving as a domain controller (a backup one to the SBS 2011 server running on another physical machine). I moved the VM by shutting [...] read more
backup
virtualization
windows-server-2012-r2
domain-controller
hyper-v-server-2016
1vote
0answers

RunOnceEx not generating log files (Windows 7)

I'm following the RunOnceEx documentation from here: https://support.microsoft.com/en-ie/help/310593/description-of-the-runonceex-registry-key and I want it to generate a log file, so I use both log-file flags: > 0x00000010 Create Error Log File Create C:\Windows\RunOnceEx.err file if errors occur 0x00000020 Create Execution Log File Create a C:\Windows\RunOnceEx.log file with status of commands But no [...] read more
windows-7
boot
automation
logging
1vote
1answer

Multiple BSOD Windows 7

I'm using Windows 7 and I've gotten multiple BSOD errors when browsing with chrome or watching videos. I've updated my integrated graphics card driver but it didn't solve the problem. I've run Memtest86+(12 passes) - everything was OK, I've also tested the HDDs - no problem, too. I've disabled GPU [...] read more
windows-7
google-chrome
memory
bsod
1vote
0answers

Cisco TSP - Tool migration from 32bit to 64bit in C#

Currently I have the problem that I should migrate a tool which communicates via Cisco TAPI. Currently it is running under a 32bit compilation. If I switch the compilation set to 64bit and update the nuget package "ATAPI" (by Mark Smith <2>) to the 64bit version. If I build this [...] read more
c#
cisco
tapi
1vote
2answers

(C# Winforms) Drawing a circle on a TextBox

Sorry for my poor English. I have a user control which includes two text boxes. I wanna draw a circle over that like next image 1. image1 [https://i.stack.imgur.com/VZNRk.png] I tried to use a transparent panel like below. (This code is from Drawing circles on top of a form) public partial [...] read more
c#
winforms
1vote
0answers

ESP32 cam keeps rebooting when PIR sensor is triggered

So some background - I have a esp32 cam with a PIR sensor. The esp is in deep sleep, then is waken up by a PIR sensor (GPIO 13) and the esp takes an image. What I want it to do is then monitor for another 15s for movement. If [...] read more
arduino
camera
esp32
1vote
1answer

Auto-Rotating shapes by time while moving them in OpenGL with C++

I want to make my shapes to keep rotating by time while I can move them (Left-Right , Down-Up , Front-Back) using keyboard I added a function called timer() that should change the angles of the cube and pyramid by time. The problem is the code keeps breaking at glutPostOverlayRedisplay(); [...] read more
c++
opengl
3d
glut
opengl-compat
1vote
1answer

Best way to transpose sed regex from Shell to Python script

I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 Using a shell script, the hex values from line starting with F Blocks: can be extracted using the line below : blocks="$(sed -nE 's/F Blocks:[\t ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)/0x\2 0x\4 0x\6/p' [...] read more
python
regex
sed
subprocess
pipe
1vote
3answers

touch scrolling for winforms in C#

Im trying to implement a panel containing a multitude of buttons and panels with a touch UI in C#. In particular I'm interested in the scrolling functionality. The application is supposed to run on a windows 10 tablet which offers this functionality partially (I.e. if you slide your fingers over [...] read more
c#
winforms
touch
windows-10
1vote
1answer

How i change console application project to windows form app. project

I made a console application project for my project but its console application so how I change it to Form application... can anyone help me to change this console application to Windows form application. Who know change console application codes to form application codes. Please help me.. i want put [...] read more
c#
process
console
mutex
pid
1vote
0answers

python get() function gives different values for class str and type str/class int and type int

I am trying to convert a python 2 code to python 3, and just came to know the difference the type() function on both versions. I am basically pulling data from a json file using pandas. I have a variable word = 0x00000010. I wanted to get the value of [...] read more
python
python-3.x
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

Which OpenCV FOURCC codecs should I use for my Python program?

I have implemented a Python script which displays a video to the user and records it. The video is saved either compressed or uncompressed. In an old program I have seen, that the "DIVX" MPEG-4 and the "IYUV" codecs were used. For some reason, they don't work on my computer [...] read more
python
opencv
video
ffmpeg
1vote
1answer

The problem with the flickering of the buttons in the project

Good time of day. The problem is very strange and incomprehensible. After successfully creating the button, and then using it, I noticed a very unpleasant bug, flickering buttons. Namely, it is played very easily, open the project, and press the ALT button. For some reason, the buttons blink once, and [...] read more
c#
winforms
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

Visual Studio - Get the startup project programmatically

I'm building a .Net application that should import a VS2010/2008 solution and find the start up project by reading the .suo file. I looked at How do I programmatically find out the Action of each StartUp Project in a solution? but the solution mentioned works only if I select Multiple [...] read more
c#
.net
1vote
1answer

UART Communication Between STM32F03 and ESP-8266-01

I'm attempting to get a smartphone app to communicate with an MCU (STM32F030R8). The step I'm currently on is getting the WiFi module to talk with the MCU. I'm able use the AT firmware to configure the ESP when using an Arduino Uno/PC terminal, but want to essentially do the [...] read more
c
stm32
esp8266
cmsis
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
1answer

How to make a panel with a truly transparent background

I have a transparent image that I have made in Photoshop which has a 30% opacity to it. Now I am trying to put that as background image for a panel. But an ordinary panel even if putting the background color to transparent, shows a white/control background. The panel doesn't [...] read more
c#
winforms
transparent-control
1vote
0answers

Explanation of st_flags bits

I'm writing a python script to delete files on MacOS, and I run into SIP protected files. I know the presence of st_flags more than likely mean I can't delete the file. Like here: >>> os.stat(f).st_flags 524288 But I'm curious to know what that actually means. I looked in stat.h [...] read more
objective-c
linux
macos
file
unix
1vote
1answer

Link Error during Rust compilation (Cargo)

I'm calling some WinAPI functions with the Rust FFI (in this case MessageBoxA). My code was working until I did a little variable change and the compilation gave me an error as: = note: Non-UTF-8 output: WinAPI-dd8845a539e186b8.4ojwfrbxjnkzuhga.rcgu.o : er ror LNK2019: symbole externe non r\xe9solu MessageBoxA r\xe9f\xe9renc\xe9 dans l a [...] read more
winapi
rust
linker
ffi
rust-cargo
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
0votes
0answers

Database file is being used by another process

We are running an Exchange 2010 SP3 UR27 environment on Windows Server 2008 R2. I am aware that support for Exchange 2010 is ending soon, and we are planning to migrate to a newer platform before then. I am seeing issues with database files being in use by another process, [...] read more
windows-server-2008-r2
exchange-2010
0votes
0answers

Surface pro system reset failure

I am currently experiencing some difficulties with my surface pro 4 so am trying to reset it to factory settings. However, every time i reset from within windows, it prepares, then restarts to the blue reset screen, gets to around 35%, then tells me there was an issue. I have [...] read more
windows
windows-10
system-restore
reset
0votes
0answers

WIFI 6 Card not working even though the computer detects it and up to date drivers are installed

I have run into a dead end here. I am trying to install an Intel AX200 WIFI + Bluetooth network card onto my desktop PC. I connected it to a PCIe port that had more slots than needed but I read that this should be fine. Additionally, a cable from [...] read more
wireless-networking
drivers
network-adapter
computer-building
0votes
0answers

Upgrading to Windows 10 fall creator fails

This is the setuperr.log. 2018-01-23 16:43:24, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteInstallMode(723): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteDownlevelMode(347): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::Execute(237): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupHost::Execute(375): Result = [...] read more
windows-10-v1703
0votes
1answer

How to display the Command prompt during Logon with a batch file

I have a logon script which runs the 'sc config winrm type= own' command. This command changes the registry value at this location: HKLM\SYSTEM\CurrentControlSet\services\WinRM From this Type = 0x00000020 (32) To This Type = 0x00000010 (16) How do i get the changed Registry entry to display in the command prompt [...] read more
command-line
0votes
0answers

Ubuntu 14.04 Digital Audio stops working

I have an Ubuntu 14.04 HTPC for quite some time. It's connected by toslink to a logitech z5500. Sound was working, but suddenly stopped... I've followed almost every guide and how-to to fix my sound, but it won't seem to help. Some information: !!################################ !!ALSA Information Script v 0.4.63 !!################################ [...] read more
ubuntu
audio
spdif
0votes
1answer

Running a C application from a different address than 0

I have two applications one is just starting the second application on the adress 0x20000 I can debug in the first application and it reaches the line that will redirect to the 0x20000 the address. The code from the first application looks like this: uint32_t a_StartAddress = (uint32_t)(uint32_t *)0x20000; ((void [...] read more
c
code-composer
tms570
0votes
0answers

Using PowerShell to take ownership/change permissions of GPOs

Good Morning, So I am having a bit of trouble with this code. I have a gMSA setup to take ownership of Group Policy Objects. I have given the gMSA rights in Group Policy on all Domain Controllers to "Take Ownership of files and other objects". The taking ownership part [...] read more
powershell
active-directory
group-policy
0votes
0answers

How to start the ApacheDS as a windows service in background using batch file or powershell script?

I want to write a batch file or powershell script as a wrapper that can invoke apacheds.bat provided by ApacheDS to create a new ApacheDS instance and register it as a windows service. Currently I use C# to create powershell process and pass argument: "-c & '$scriptFullName' -Service" to powershell [...] read more
powershell
batch-file
windows-services
apacheds
0votes
0answers

Platformio ERROR 1401- Flashing ESP32 with ESPProg gives me an Error

Can anyone help me with the error below? The Problem is that when I'm in debugging mode it cant flash. Note: with esptool it works. > Executing task in folder 200629-213850-arduino-blink: C:\Users\LucaMoser\.platformio\penv\Scripts\platformio.exe run --target upload < Processing esp32dev (platform: espressif32; framework: arduino; board: esp32dev) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled [...] read more
esp32
platformio
0votes
1answer

Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed) error shows when i use ESP now protocol

This error shows in my serial monitor see the code below for ESP32 and please help me to solve > Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed) Core 1 register dump: PC : 0x400d1580 PS : 0x00060034 A0 : 0x400847fc A1 : 0x3ffbe7b0 A2 [...] read more
arduino
esp8266
arduino-ide
esp32
esp-idf
0votes
1answer

CreateProcessWithTokenW winapi return false but no reason why

I am New to winapi and I am trying to run a process with system privileges. Lot of people suggested to use the Function CreateProcessWithTokenW. I wrote the falling code: $run = @" [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct STARTUPINFO { public Int32 cb; public string lpReserved; public string lpDesktop; [...] read more
c#
powershell
winapi
process
token
0votes
0answers

VSS Snapshot Backup of SQL database from default instance and restored in named instance does not work

I have been trying a few experiments with VSS mainly related to backup and restore of SQL database across different scenarios. The experiments that have succeeded so far are: 1. Backed up the VSSTest Database from the default instance and were able to restore the database into the default instance [...] read more
sql
sql-server
windows
backup
volume-shadow-service
0votes
1answer

How to make a custom Button responsiveness smoother?

I made a Custom Control with the functions of a Button. The problem with this controls is that when you hover over it, the color of the button changes: when this action is repeated quickly, it glitches out. To make it more clear, I recorded a video. Update 09.07.2020; I [...] read more
c#
winforms
button
gdi+
0votes
1answer

It doesn't work correctly before making the button

Good time of day. I made my own button, where I did everything necessary for its further operation. Next, I encountered the smoothness of this button, it does not suit me from the word at all, and I decided to use DoubleBuffered, after adding DoubleBuffered, I encountered another problem, more [...] read more
c#
winforms
button
0votes
1answer

get second imei number through adb shell

I was able to get one imei number through adb shell with command adb shell service call iphonesubinfo 1 But device has two imei numbers , How to get second imei number through adb shell The output of adb shell service call iphonesubinfo 1 is as below (which is inbetween [...] read more
adb
0votes
1answer

How to grace period reset with Powershell

My questions are : 1- Im trying to write a script for monitoring RDS grace period which expire in 10 days. it does not work for Powershell. wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays Error : __CLASS : The term '__CLASS' is not recognized as the name of [...] read more
powershell
regedit
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
2answers

Usage of delay in clock enabling GPIO

I am currently just beginning to work on an ARM Cortex-M4 MCU and i came across this code in initialising of a I/O port. SYSCTL_RCGC2_R |= 0x00000020; // 1) activate clock for Port F delay = SYSCTL_RCGC2_R; // allow time for clock to start GPIO_PORTF_LOCK_R = 0x4C4F434B; // 2) unlock [...] read more
c
microcontroller
cortex-m
0votes
2answers

Disassemble instruction set for 8051 microcontroller

I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
assembly
reverse-engineering
microcontroller
disassembly
8051
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
2answers

How to extract few hex numbers from a line?

I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 I would like to extract only the numbers associated to the line starting with F Blocks as string. Line can be easily extracted using : sed -n '/F Blocks:/p' filename [...] read more
regex
sed
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

How to make section physical address to zero in GCC elf file?

Currently I am working on PowerPC target with GCC and Greenhills compiler, I found the Greenhills compiler can always generate sections with all zero pyhsical address of sections in elf, Here is sample link command file for Greenhills compiler : MEMORY { RESETWORD : org = 0x00f8c000, len = 0x00000020 [...] read more
gcc
linker
ld
linker-scripts
0votes
1answer

Azure devops release pipeline runs forever with error: The process cannot access the file because it is being used by another process

I'm running a deployment on Azure pipelines and the release got stuck while copying files. This resulted in an unending process which is not desirable. The error I received was: > ERROR 32 (0x00000020) Copying File C:\azagent\A2_work\r3\a_mach1-light\build\MyProject\HtmlRenderer.dll The process cannot access the file because it is being used by another [...] read more
azure-devops
azure-pipelines
azure-pipelines-release-pipeline
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

How do I create multiple common FPGA structures in kristen?

I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
verilog
fpga
0votes
1answer

RunAs Verb not showing a UAC popup and not elevating, when invoked from a process created with a Safer token

I want to start a non-elevated process from an elevated one. I've accomplished this using SaferComputeTokenFromLevel. It appears to be working,since: C:\>whoami /groups | findstr BUILTIN\Administrators BUILTIN\Administrators Alias S-1-5-32-544 Group used for deny only Deny only is there. So I am not admin. * 1) Why the (supodsedly) non-admin process [...] read more
c#
winapi
uac
0votes
0answers

Folder chooser with edit box in hybrid batch, how do I retrieve invalid name/path?

I'd like to use a folder chooser dialog in my batch script, I chose BrowseForFolder method with Jscript as it is the fastest I tested. However, if I type a "non-existing path" or an "invalid name" in the edit box, it fails to pass the value back to the batch [...] read more
c#
powershell
batch-file
jscript
hybrid
0votes
1answer

Python: record video on motion, but release VideoWriter when motion not present

My goal of this script is to start recording to a video file when motion is detected. When motion is no longer detected, the writer will be released and the script will create a new video the next time that motion is detected...and so on. With the below script, I'm [...] read more
python
python-3.x
opencv
0votes
1answer

How do I take ownership of folders that I already have full control permissions to using powershell?

So I am not the owner of the folder nor do I have admin rights, but the group that I am a member of has the Full Control over the folder including the ability to "Take Ownership" and "Change Permissions". So a little bit of back story here. We have [...] read more
powershell
permissions
acl
ntfs
0votes
0answers

using robocopy with C# Foreach.Parallel

I have information about Source and destination dirs for multiple locations in Datatable. I am iterating through the datatable using foreach parallel and then two tasks are performed, Copy files to dest and rename copied file on Dest. While doing this sometimes i am getting errors like, ERROR 32 (0x00000020) [...] read more
c#
multithreading
robocopy
0votes
0answers

adb shell "service call iphonesubinfo 1" requires permission

I used the following adb command to get the IMEI of android devices. adb shell "service call iphonesubinfo 1" But for HUAWEI MediaPad 2.0 this command returns the following output. Result: Parcel( 0x00000000: ffffffff 00000069 00650052 00750071 '....i...R.e.q.u.' 0x00000010: 00720069 00730065 00520020 00410045 'i.r.e.s. .R.E.A.' 0x00000020: 005f0044 00480050 004e004f 005f0045 [...] read more
android
adb
imei
0votes
1answer

Stm32 Time Base Interrupt (without any library)

I use Stm32f103c8t6 processor and I want to make 1 second counter. Normaly I dont use tımer update ınterrupt and my counter counts correctly but when I add timer update ınterrupt in code my counter doesnt count correctly. So fast increment. And ı cant remove update interrupt flag (UIF) in [...] read more
c
timer
stm32
interrupt
usart
0votes
2answers

Unable to remove ACE from ACL

We have want to clear an NTFS ACL of a folder completely and only have the ACL populated with the ACE Builtin\Administrator : Full Control. The code below works fine for most folders but fails on one specific folder: $Path = 'E:\DEPARTMENTS\Gemensam' $BuiltinAdmin = [System.Security.Principal.NTAccount]'Builtin\Administrators' $AdminFullControlAce = New-Object System.Security.AccessControl.FileSystemAccessRule( $BuiltinAdmin, [...] read more
powershell
permissions
file-permissions
acl
ntfs
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
0answers

how to click explorer through PostMessage

I can not click on explorer in Windows 10. My Message: private static IntPtr CreateLParam(int LoWord, int HiWord) { return (IntPtr)((HiWord << 16) | (LoWord & 0xffff)); } SendMessage(hand, 0x00000020, IntPtr.Zero, CreateLParam(x, y)); This request does not work for explorer. But it works for other windows. read more
c#
c++
window
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
0answers

How can I make my Labels click through, IsHitTestVisible doesn't work (WPF)

> Solution by Andy protected override void OnSourceInitialized(EventArgs e) { // Get this window's handle IntPtr hwnd = new WindowInteropHelper(this).Handle; // Change the extended window style to include WS_EX_TRANSPARENT int extendedStyle = GetWindowLong(hwnd, GWL_EXSTYLE); SetWindowLong(hwnd, GWL_EXSTYLE, extendedStyle | WS_EX_TRANSPARENT); base.OnSourceInitialized(e); } public const int WS_EX_TRANSPARENT = 0x00000020; public const int [...] read more
c#
wpf
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
0answers

STM32F103xxxx In Application Programming Using Arduino

I am using Arduino_STM32 rogerclark's library. https://github.com/rogerclarkmelbourne/Arduino_STM32 . Now I want to Develop an In Application Programming(IAP) like a bootloader. Take Code from SD card and Store in Controller flash at 0x8010000 and then jump to that location and run the loaded new application. the code took from SD and [...] read more
arduino
stm32
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

how to change HyperLink style and textColor into richtextbox c# winform

How can I change HyperLink into RichTextBox ? I want to change HyperLink ForeColor and Remove UnderLine . I use this codes for this problem but I don't to change I tried to change with this code , but I don't successful .enter image description hereIf any change for this [...] read more
c#
winforms
hyperlink
0votes
0answers

How to define interrupt service routine for lpc2138 in IAR EWARM 8.4?

I am developing a project using lpc2138 in IAR for ARM 8.4. I have been going to use Timer0 interrupt for getting 1ms period, so I have written code and simulated in proteus 8.9. But interrupt is not occured. Please fix my code error. External crystal oscillator - 20MHz #include [...] read more
c++
c
embedded
iar
nxp-microcontroller
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

How to save Bitmap from ActiveX component

Try to save screen of AxMsTscAxNotSafeForScripting (Microsoft Terminal Services Client Control), but cant find any information about it... I try one code, but it screen only field of element... https://i.imgur.com/fo6jKDT.png [Flags] private enum DrawingOptions { PRF_CHECKVISIBLE = 0x00000001, PRF_NONCLIENT = 0x00000002, PRF_CLIENT = 0x00000004, PRF_ERASEBKGND = 0x00000008, PRF_CHILDREN = 0x00000010, [...] read more
c#
bitmap
activex
0votes
1answer

Proximity sensor stop working after one minute

I am building a app in which using proximity sensor i detect the object is near of far from the screen and when as per that i am doing screen on or off. Proximity sensor works perfectly but after one minute proximity sensor stops working and i am not able [...] read more
android
0votes
0answers

How to implement poll function into Linux kernel module?

I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
c
linux-kernel
linux-device-driver
polling
gpio
0votes
0answers

Window on top of everything like mouse cursor

I am programming a mouse cursor to be used in the operating system that has motion blur on Windows 10. I decided to use Unity3D for this because of Unity3D has very powerful in terms of effects and hardware rendering. I coded an overlay window to be rendered as top [...] read more
c#
windows
winforms
unity3d
0votes
2answers

How to set bits on the TI TM4C123G launchpad

I have a question about how bits are set(or cleared) on the TI launchpad registers. It seems sometimes they are bitwise or'd and other times they are set by just an assignement statement. For example, there is the register that is the clock gate and bit 5 must be set [...] read more
embedded
0votes
1answer

Controlling brushless dc motor with using stm32f407 board

By the way, I am so sorry about my english if I couldn't explain properly what I am doing .I am making a project that controls brusless dc motor with stm32f407 development board. First, I controlled brushless dc motor with arduino and observed pwm output pin on the oscilloscope screen. [...] read more
c
stm32f4discovery
0votes
0answers

How can I convert an integer to a character in MIPS?

I want to convert an integer value into a character, and then want to print that character as a 'character'. # convert an word into bye and print it .data integer: .word 1 .text la $a0, integer # load the address of 'integer' into $a0 lw $t0, ($a0) # load [...] read more
assembly
integer
character
mips
0votes
1answer

python ctypes and C++ pointers

C++ funtion: DLLENTRY int VTS_API SetParamValue( const char *paramName, void *paramValue ) //will return zero(0) in the case of an error { rtwCAPI_ModelMappingInfo* mmi = &(rtmGetDataMapInfo(PSA_StandAlone_M).mmi); int idx = getParamIdx( paramName ); if (idx<0) { return 0; //Error } int retval = capi_ModifyModelParameter( mmi, idx, paramValue ); if (retval == [...] read more
python
c++
pointers
ctypes
0votes
0answers

Why does platform_get_irq fail to get irq in my mailbox-altera driver?

I'm new to do Linux driver development. I encounter the problem of failing to get irq when I try to use driver mailbox-altera. On my platform DTS related to mailbox is as follows: hps_bridges: bridge@0xc0000000 { compatible = "altr,bridge-17.1", "simple-bus"; reg = <0xc0000000 0x20000000>, <0xff200000 0x00200000>; reg-names = "axi_h2f", "axi_h2f_lw"; [...] read more
linux-device-driver
device-driver
intel-fpga
device-tree
0votes
1answer

GetLogicalProcessorInformationEx SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX array size

related to:Confusing ReturnLength from Windows GetLogicalProcessorInformationEx function I have read the documentation for GetLogicalProcessorInformationEx. It states > Buffer [out, optional] A pointer to a buffer that receives an array of SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX structures. If the function fails, the contents of this buffer are undefined. Nowhere is the number of elements defined. [...] read more
c++
windows
0votes
0answers

PE Section Flags

For example Characteristics of section .text is 60000020, seems that is IMAGE_SCN_CNT_CODE 0x00000020 IMAGE_SCN_MEM_EXECUTE 0x20000000 IMAGE_SCN_MEM_READ 0x40000000 How to clearly identify which characteristics hide this field? read more
java
memory
portable-executable
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
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
1answer

Discrepancy in behavior of Linux loaders (ld-linux-x86-64) between Glibc 2.12 and Glibc 2.17

I'm trying to compile the same lib on two x86 separate machines. Both use the same toolchain (exactly same set of files) but have different Glibc versions. When I run command LD_DEBUG=libs /lib64/ld-linux-x86-64.so.2 --list ./libl2ps.so I notice the following discrepancy between the 2 Linux loaders: Machine 1 (with Glibc 2.12): [...] read more
linker
shared-libraries
glibc
ldd
rpath

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0