Windows error 0x00000010, 16

Detailed Error Information

CURRENT_DIRECTORY[1]

MessageThe directory cannot be removed.
Declared inwinerror.h

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

SPIN_LOCK_NOT_OWNED[2]

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

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 Code16 (0x0010)

Questions

40votes
2answers

What is com.google.android.gms.persistent and why is it always using the CPU?

Even when nothing else is happening this system process seems to use a steady 1-2% of the CPU. Over the course of a day this drains a significant amount of battery even when the device wasn't used for anything. I haven't been able to correlate it to any other apps [...] read more
android
android-6.0-marshmallow
22votes
4answers

How to convert a float into hex

In Python I need to convert a bunch of floats into hexadecimal. It needs to be zero padded (for instance, 0x00000010 instead of 0x10). Just like http://gregstoll.dyndns.org/~gregstoll/floattohex/ does. (sadly i can't use external libs on my platform so i can't use the one provided on that website) What is the [...] read more
python
python-2.7
floating-point-conversion
17votes
2answers

Brightness Issue during stress testing

My application has the ability to Wipe all contacts and calendar events. It has been working fine as far as we had not done stress testing. During this, it was observer that device brightness goes down when we execute following use case 1. Sync Facebook, Gmail etc accounts with device [...] read more
iphone
ios
stress-testing
12votes
3answers

Reducing video mode switching during Linux boot

When I boot up my desktop computer, which only has Linux on it, the video mode and/or console font gets switched four times: * When GRUB starts, it switches from 80x25 text to a graphical mode so it can draw a pretty background behind its menu; * GRUB then goes [...] read more
linux
boot
graphics-card
grub
12votes
3answers

Map network drive programmatically in C# on Windows 10

I followed the approache to map a network drive programmatically in the following link: Mapping Network Drive using C# The drive seems to be connected correctly because I can query directories and files within C#. BUT I do not see the drive on my computer. My target is to map [...] read more
c#
network-programming
10votes
1answer

How to get the processes that have systray icon

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

eglfs on raspberry2 -- * failed to add service - already in use?

that's is my first post here. I'd like to keep it short... Following problem: i want to run a qt5/qtquickcontrols2 application utilising the eglfs backend on a raspberry-pi 2b, accelerated by vc4, of course. Ideally, it should run in kiosk mode and it definitely needs accelerated gl functionality. To minimise [...] read more
qt5
raspberry-pi2
qtquickcontrols2
archlinux-arm
eglfs
5votes
1answer

Exchange 2010 Outlook Anywhere not working - RPC Proxy, Address Book?

Ugh. We built a greenfield AD and Exchange 2010 environment a few months back for a large client. Outlook Anywhere isn't working. Outlook clients just never connect, doesn't seem to be an error or timeout. This was a migration. Originally we had a cert mismatch for Outlook Anywhere so I'm [...] read more
exchange-2010
outlook-anywhere
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
2answers

Is it possible to create an internal SSL certificate with Subject Alternative Names

Having just upgraded from Exchange 2003 to Exchange 2010, I'm attempting to create a certificate that can be used both internally and externally (by staff). Previously with exchange 2003, we didn't need an certificate for internal use, so we simply created an certificate from our internal CA, with the CN [...] read more
iis-7
exchange-2010
ssl-certificate
active-directory
certificate
5votes
1answer

sms using adb shell not working

I am trying to send the sms by both adb shell am and adb shell service call .I am getting error for both . a)I am trying to send the sms following adb shell am command adb shell am start -a android.intent.action.SENDTO -d sms:"phoneNumber" --es sms_body "SMS BODY GOES HERE" [...] read more
adb
4votes
1answer

EXC_BAD_ACCESS (SIGABRT), ios crash log

I have some problem with my iPhone/ipad app. its published in app store, but now it seems like a few users experiences crashes when they try to start the app. Sometimes it helps with a hard reboot. Would be very happy if someone could help me sorting out whats going [...] read more
iphone
xcode
unity3d
sigabrt
crash-log
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
3votes
2answers

Thinkpad speaker turns mute - Linux Codec issue?

At some point a few days ago the speakers on my Lenovo Thinkpad T410 (Model number: 2537A11) suddenly stopped working randomly. This error happens every time I watch a video or listen to a music file. The sound just abruptly stops. At the moment, I can't produce a single sound [...] read more
linux
audio
thinkpad
speakers
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

BCM2708 (RPi) Rasbpian FIQ not triggered

I have written a Linux Loadable Kernel Module which attempts to attach to the FIQ to service GPIO edge transistions. The Pin in question is on GPIO0 (IRQ 49) so I attempt to configure the FIQ as follows: #ifndef GPIO_BASE #define GPIO_BASE 0x7E200000 #endif #define GPIO_LEN 0x60 #define GPIO_GPEDS0 0x10 [...] read more
c
assembly
linux-kernel
embedded
raspbian
3votes
0answers

MTK's avc decoder OMX.MTK.VIDEO.DECODER.AVC causes phone crash

when I use MTK's avc decoder to decode video, the phone is crashed. All as I know is the frame data provided to decoder is not continuous, even not correct, because of bad signal quality of video source. the log is as below: 10-14 12:15:14.187: D/BufferQueueProducer(228): [SurfaceView](this:0x7f724cc000,id:122,api:2,p:3710,c:228) cancelBuffer: slot 8 [...] read more
android
c++
video
decoder
3votes
1answer

emulator crashing, android

New day, new problem. Now it's about emulator. I'm starting it, and then it gives me the error: 12-05 18:25:42.460 2735-2735/? D/AndroidRuntime: CheckJNI is ON 12-05 18:25:42.610 2735-2735/? E/memtrack: Couldn't load memtrack module (No such file or directory) 12-05 18:25:42.610 2735-2735/? E/android.os.Debug: failed to load memtrack module: -2 12-05 18:25:42.630 [...] read more
android
crash
3votes
1answer

grub doesn't seem to load my kernel correctly

I use grub to load my kernel. Although I specified .=0x100 0000 in the linker script, I can only find a valid MultiBoot2 header at 0x10 0000. After comparing them one by one, I found that it is not my kernel. And use gdb to debug Found that qemu's RIP [...] read more
assembly
gcc
osdev
grub
multiboot
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
2votes
2answers

SNMP Community String Permissions

I am looking at deploying SNMP Settings for windows servers via Group Policy and have an administrative template prepared. However I am noting strange behaviour when applying the policy. Two Community strings are created, with different permissions. ie: MYCOMMUNITY - READ ONLY MYCOMMUNITY - READ CREATE The Windows Registry also [...] read more
windows
group-policy
snmp
windows-registry
2votes
4answers

Visual studio community: License expired and License error (0x00000010): Cached online license container is corrupt.?

My Visual studio community license expired (it is VS2013 but it might also apply to VS2015). enter image description here [https://i.stack.imgur.com/y29AD.png] When I click "Check for an updated license" or "Sign in", I get License error (0x00000010): Cached online license container is corrupt. enter image description here [https://i.stack.imgur.com/UA9YM.png] What should [...] read more
visual-studio
licensing
2votes
1answer

how to correctly store the address of a procedure in a register x86_64 nasm?

I want to store the address of a procedure in a register as follows : extern _printf section .text global _foo _foo : mov rax, [rel _printf] call rax ret but i get this error when compiling with a main written in C : ld: warning: PIE disabled. Absolute addressing [...] read more
nasm
linker-errors
2votes
1answer

Analyze ESP32 backtrace on NodeMCU

I'm debugging some crashes on the dev-esp32 branch of the NodeMCU Lua firmware. How do you other NodeMCU devs analyze the backtraces? During normal ESP32 dev the idf monitor handles decoding the backtrace. I've tried to use the IDF monitor with my NodeMCU build (unsuccessfully). I've also tried https://github.com/me-no-dev/EspExceptionDecoder with [...] read more
esp32
nodemcu
esp-idf
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
4answers

Finding the cause of React Native Android App Crash

After spending many hours of tracing, I am unable to find the issue for the crash of React Native Android App. A white screen appears after react-native run-android and then suddenly the message displays MyApp has stopped! The App was previously working fine! Maybe the Android Studio updates have caused [...] read more
android
react-native
react-native-android
react-native-navigation
wix-react-native-navigation
1vote
0answers

nvidia framerate limiter mode

There's this program https://ci.appveyor.com/project/Orbmu2k/nvidiaprofileinspector/build/artifacts nvidia profile inspector, that allows you to change the registry entries of your nvidia drivers for different games/programs. One setting in particular intrigues me, its called "Frame Rate Limiter Mode" Basically, when one sets it to either "0.00000004 PS_FRAMERATE_LIMITER_2_CONTROL_DELAY_FLIP_BY_FLIPMETERING" or "0x00000010 PS_FRAMERATE_LIMITER_2_CONTROL_ALLOW_ALL_MAXWELL" I get substantially less [...] read more
windows
nvidia-graphics-card
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 [...] read more
windows-7
boot
automation
logging
1vote
1answer

Macbook kernel panic, esp. during DLs, kernel_task causing page fault

I've owned a 2010 13" Macbook for a little over a year and throughout that time have often downloaded files from sites like MediaFire and RapidShare without any problems. However in the past few months, initiating downloads from these sites has triggered a seemingly increasing number of kernel panics. The [...] read more
macos
kernel-panic
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
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
0answers

Trouble assigning ports for tivia TM4C launchpad that ill be connected to components on a breadboard

I am working with a TM4C lunchpad and need to assign Ports E and B as inputs and outputs to be able to control a simple traffic light built on a breadboard. There are three LEDs on the board as well as two buttons: when btn1 is pressed, the LEDs [...] read more
c
keil
fsm
texas-instruments
1vote
1answer

Why am I not receiving interrupts on Port Status Change Event with the Intel's xHC on QEMU?

I'm coding a small OS kernel which is supposed to have a driver for the Intel's xHC (extensible host controller). I got to a point where I can actually generate Port Status Change Events by resetting the root hub ports. I'm using QEMU for virtualization. I ask QEMU to emulate [...] read more
c++
x86
usb
osdev
hci
1vote
0answers

Node not respecting tls options

I have got a self-compiled version of Nodejs but I am still able to reproduce these issues on nodejs v15.8.0. I am trying to modify my client hello signature but it does not seem like nodesj is allowing me to do that. I have the following script. const tls = [...] read more
javascript
c++
node.js
security
ssl
1vote
0answers

Why does STM32F1 CAN communication only send one pulse per message?

I am working on CAN communication between two STM32s: STM32F1 (Bluepill) and Nucleo-L432KC. To facilitate the CAN bus a dual-CAN transceiver module for a Teensy 3.5 is used. Here is the pinout. Pinout of the dual-CAN tranceiver module. The two L-lines are connected, the two H-lines are connected, and all [...] read more
c
stm32
can-bus
nucleo
1vote
1answer

Error when linking .o files using ld on WIndows

Two C files are compiled as shown: gcc -g -c -Wall -I../include blink.c -o blink.o gcc -g -c -Wall -I../include led/led.c -o led/led.o These operations appear to be successful (the correct files are produced). When attempting to link the two .o files with the command: ld -Map blink.map -T make.ld [...] read more
c
windows
gcc
gnu
ld
1vote
0answers

CreateProcess function creates the process in de the default dekstop instead of creating it inside the new desktop

I am working on an small C# application and found a weird error. The goal of this application is to create a new Desktop and launch a process inside it. For this purpose, I am relying on the following win32 functions: [DllImport("user32.dll")] public static extern IntPtr CreateDesktop(string lpszDesktop, IntPtr lpszDevice, [...] read more
c#
windows
winapi
createprocess
1vote
2answers

Prevent WNetAddConnection2 class which allows prohibited user to access shared folder

I had developed C# windows application. OS is Windows 7 Requirement: is to access Network Shared Folder ‘Test’ using code with credentials using WNetAddConnection2 class. Restriction: is some users has access of this shared folder ‘Test’, but for other user,‘deny’ sharing permission is set. in code WNetAddConnection2 validates wrong username/password, [...] read more
c#
windows
networking
directory
shared
1vote
0answers

How to handle int interruption in real mode? (16 bit)

I am creating an operating system since this summer, it is an 32 bits operating system which work in protected mode. I need to creat a way to make BIOS interrupt so I need to pass in real mode and before in 16bit, I sucessfully pass to 16 bit but [...] read more
assembly
operating-system
x86-16
bios
real-mode
1vote
3answers

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

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

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

unable to get thread context of an suspended process'

so, i am trying to write a script in python by which i can get the different register's value of a thread as well as also get the imagebase address and other different values which are related to process's PEB header. till now i wrote script by which i can [...] read more
python
ctypes
1vote
0answers

A fatal error has been detected by the Java Runtime Environment when trying to run Java

I have strange error when I am trying to run java on my Raspberry pi 3. It also shows when I am trying to do any other java shell command as java -version. Reboot didn't help. I tried reinstalling java but it didn't help. Command: sudo java -jar NodeJSAutoRun.jar Error: [...] read more
java
1vote
0answers

Android app not receiving data from servlet

This project has a number (433) saved in a database, which is accessed through a servlet and then should be sent to the Android app. Before I added AsyncTask the app would sometimes retrieve the data (should be 433) from the servlet and sometimes not. Upon clicking the homePage button, [...] read more
java
android
servlets
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
1answer

ESP32 as WiFi access point crashes on connection

I'm programming an ESP32 via ArduinoIDE and stumble upon a strange problem. It operates as WiFi access point, the code is quite simple and straight-forward: IPAddress apIP(192,168,1,1); WiFi.mode(WIFI_AP); WiFi.softAP("MyESP32"); WiFi.softAPConfig(apIP,apIP,IPAddress(255,255,255,0)); Now when a client connects to this AP, it often prints out these error messages: dhcps: send_nak>>udp_sendto result 0 dhcps: [...] read more
arduino
wifi
arduino-ide
esp32
access-point
1vote
0answers

Got a EXC_CORPSE_NOTIFY symbol crash, Not able to track what when wrong

I tried to genarate a build on xCode 12 and installed on iPad 2 with iOS 9. I have support for iOS 9 enabled but app automatically closes on opening. When doing track trace. I found following report which i am not able to understand because i am newbie in [...] read more
ios
objective-c
xcode
react-native
ios9
1vote
5answers

windll.kernel32.OpenProcess(PROCESS_ALL_ACCESS, PID, False): Process_all_Access not defined

me again. I'm continuing my journey with C and Python. Today, I happened to be making a debugger. Currently, this is what I have from ctypes import * from Debugdeclares import * kernel32 = windll.kernel32 class debugger(): def __init__(self): self.h_process = None self.pid = None self.debugger_active = False def load(self, [...] read more
python
ctypes
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
0answers

Detect if a WEBP image is transparent, in PHP

I'm trying to check if a webp image is transparent in PHP or not. Is it possible? Best would be in pure php. Update: After researching... i wrote this php function. Works great. webp_info() detect transparent and animation in a webp image. function webp_info($f) { // https://github.com/webmproject/libwebp/blob/master/src/dec/webp_dec.c // https://developers.google.com/speed/webp/docs/riff_container // [...] read more
php
1vote
1answer

How to convert binary values within a list of ndarray objects to decimal values?

My list contains 49 entries. The size of the entries varies. For example, the first entry consists of 3032 rows and 27 columns. This corresponds to 27 signals with 3032 data each. The data is currently in binary. The size of the column also varies within an entry (the 27 [...] read more
python
binary
decimal
data-conversion
0votes
0answers

USB 3 hard drive and card not working in super-speed mode

So, I recently added a USB3 card to my computer, and I thought everything was good, Linux detected it, though weirdly (or not?) it comes up as 2 hubs [ 2.086988] xhci_hcd 0000:07:00.0: xHCI Host Controller [ 2.086996] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 2 [ 2.092364] [...] read more
linux
linux-kernel
usb
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

linux hang + kernel messages about failed to assign mem

we have 5 Linux rhel machines , we noticed that all machines was hang with the same time from messages file we can se the following Dec 29 19:54:25 localhost kernel: pci 0000:ff:12.4: BAR 4: failed to assign [mem size 0x00000040] Dec 29 19:54:25 localhost kernel: pci 0000:ff:12.0: BAR 1: [...] read more
redhat
kernel
crash
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

ntlmssp_handle_neg_flags: Got challenge flags[0x60898205] - possible downgrade detected! missing_flags[0x00000010] - NT code 0x80090302

I'm trying to access SMB/CIFS resource on NetApp, using following and getting error: $ cat /etc/redhat-release CentOS Linux release 7.2.1511 (Core) $ rpm -qa | grep ^samba- samba-client-4.2.10-6.el7_2.x86_64 samba-libs-4.2.10-6.el7_2.x86_64 samba-common-libs-4.2.10-6.el7_2.x86_64 samba-common-4.2.10-6.el7_2.noarch samba-client-libs-4.2.10-6.el7_2.x86_64 samba-common-tools-4.2.10-6.el7_2.x86_64 $ smbclient //X/Y$ -U DOMAIN/user -L Enter DOMAIN/user's password: ntlmssp_handle_neg_flags: Got challenge flags[0x60898205] - possible downgrade detected! [...] read more
centos
samba
centos7
0votes
0answers

dwarfdump output with overlapping ranges

I am using the dwarfdump command with these options -fFpPEo against a binary file. The output looks like this: fde: < 7><0x00000000:0x00000092><clear><fde offset 0x00005d70 length: 0x00000030><eh offset none> 0x00000000: <off cfa=00(r13) > 0x00000004: <off cfa=24(r13) > <off r4=-24(cfa) > <off r5=-20(cfa) > <off r6=-16(cfa) > <off r7=-12(cfa) > <off r8=-8(cfa) [...] read more
dwarf
0votes
0answers

Removing unused variables causes exception

Trying to find a way to execute a command as a different user with credentials I came across this great answer by Eryk Sun. Trying to melt it down to my needs, I saw some strange behaviour. For ease of copying, I put the code from that answer as a [...] read more
python-2.7
winapi
ctypes
pywin32
0votes
1answer

ESP32 kernel panic at random (network_event)

I'm working with an ESP at the moment and I have written alot of code that works on it's own, but once merged, it doesn't. My code boots, but then I get the following; 09:00:18.780 -> Device is now in pay-mode 09:00:18.780 -> ETH Started 09:00:22.779 -> ETH Connected 09:00:22.812 [...] read more
ethernet
esp32
0votes
0answers

BLE error in Android App : ERROR:bta_gattc_utils.cc(434)] bta_gattc_mark_bg_conn unable to find the bg connection mask for

I am new to android and BLE. I am working on BLE android application. In the application, we are checking battery percentage and distance between 2 devices. We need to capture these details and save it to the file. Currently we are able to do the task but only for [...] read more
java
android
android-studio
android-fragments
android-bluetooth
0votes
0answers

AWS) crosscompile C sdk To ARM - not a dynamic Executable

I crosscompile AWS Embedded CSdk through gnueabigcc and put it in the device. But when I run it, there's an error that says I can't run it because I don't have a library. When I tried ldd "file name" with Linux, the phrase "not a dynamic Executable" appears. I think [...] read more
amazon-web-services
0votes
0answers

In appium how to check fingerprint setting is enabled i.e. fingerprint added or not

To verify fingerprint setting is enabled i.e. fingerprint added or not, I am using adb shell. Below is the command adb shell service call fingerprint 14 i32 1 s16 "android.permission.USE_FINGERPRINT" Below is the output that I am getting Result: Parcel( 0x00000000: ffffffff 00000095 0075004d 00740073 '........M.u.s.t.' 0x00000010: 00680020 00760061 00200065 [...] read more
appium
fingerprint
adb-shell
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
2answers

Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 6]

I know this question has been asked before, but I have read all the threads and I didn't find an answer. From the moment I execure run to start debugging my project, I get this : Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 6]. When I do ctrl+c, [...] read more
c
gdb
remote-debugging
0votes
0answers

Why SSH_FXF_APPEND flag is commented out while calling the APPEND operation of JSCH

A quick brief, I am working with one of the implementations of SFTP server for .NET i.e. NSoftware IPWorks SSH. I wanted to deduce the APPEND operation invoked by the client and do some logic on that. I quickly implemented the SSH client using Renci's SSH.NET package and was able [...] read more
ssh2-sftp
0votes
2answers

Open .exe from python 3.8 main

I have the following code: import subprocess subprocess.run("C:\\Users\\x\\Desktop\\Tool\\Database\\influxd.exe", close_fds=True, creationflags=0x00000010) When I run it, the window just flashes and does not stay open. When I run subprocess.run("C:\\Windows\\System32\\calc.exe", close_fds=True, creationflags=0x00000010) everything is usable and stays open, so I guess it has something to do with the influxd.exe but I can't figure [...] read more
python
subprocess
influxdb
0votes
0answers

iwlwifi drivers not loading for ax200 in MX linux

Kernel is 5.8, wifi driver is the intel iwlwifi version for ax200 requiring a kernel of at least 5.1 and the wifi card appears in lspci -k but nothing I've tried is working as I can't find any documentation from intel surrounding this or any other thread someone has asked, [...] read more
linux-kernel
driver
intel
firmware
0votes
0answers

According to the standard PCI bus scan but the result is abnormal

This is scanning code uint32_t pci_read_configd(uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset) { uint32_t address; uint32_t lbus = (uint32_t)bus; uint32_t ldev = (uint32_t)dev; uint32_t lfunc = (uint32_t)func; address = (uint32_t)((lbus << 16) | (ldev << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint32_t)1 << 31)); out_port32(0xcf8, [...] read more
c
operating-system
qemu
pci
pci-bus
0votes
1answer

blinking led on teensy3.2 with arm programming

I am a newbie in arm programming. I am using teensy 3.2 which has MK20DX256 microcontroller chip and the led is connected to PTC5 of MC. I have written this code to blink the LED. The project builds without error but HEX file does not blink led. I am using [...] read more
c++
arm
keil
blink
teensy
0votes
2answers

C++ : Alternative to constructor initializer lists without assignment?

I'm facing the following problem: I want to pass the _partHandlePtr to the constructor of _currUnmanaged and _extUnmanaged but getting errors like "memory access violation occurred at address 0x00000010, while attempting to read inaccessible data". I also tried to initialize both instances after 2) but the problem is that I [...] read more
c++
memory
constructor
shared-ptr
list-initialization
0votes
1answer

ESP32 Regex search for all iterations

I am using Bluetooth and receiving a CSS gradient string like this: (90deg, rgba(66, 68, 90, 1) 0%,rgba(72, 79, 164, 1) 100%) I am using regex to pull out the "90" for the angle: regex r_dir("([0-9]{2,3}deg)"); smatch m_dir; regex_search(data, m_dir, r_dir); string temp = m_dir[0].str(); int dir = atoi(temp.replace(temp.find("deg"), 3, [...] read more
c++
regex
esp32
0votes
0answers

DocumentProperties not updating the print job with new DEVMODE structure

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

How to turn on LED on stm32 board using assembly language that generated by llvm?

My English skill is poor because I'm not a native English speaker. Please understand. I compiled some test code that operating alright in IAR with LLVM infra but the generated code was not operated on my test board. Detail are as follows. TEST GOAL I want to see operating the [...] read more
makefile
llvm
cortex-m3
segger-jlink
stm32l152
0votes
0answers

Porting From ARMCC to GNU compiler

I am working on porting code from KEIL(ARMCC) to Eclipse(with GNU ARM toolchain). The controller is LPC2468(ARM7TDMI-S) with the following memory available: FLASH (rx) : ORIGIN = 0x00, LENGTH = 0x80000 RAM (rwx) : ORIGIN = 0x40000000, LENGTH = 0x10000 /* 96K */ ERAM (rwx) : ORIGIN = 0xA0000000, LENGTH [...] read more
linker-scripts
gnu-arm
0votes
1answer

ESP32: Getting Guru Meditation Error because having an extremly long string (~15.000 characters long)

I've written a little program, which in a loop first sends a POST-request to a special machine, the machine returns an other API-path in its response header, afterwards I can execute a GET-request on that API path and get an extremly long string (~ about 15.000 characters). This works pretty [...] read more
c++
string
runtime-error
stack-overflow
esp32
0votes
0answers

How to install a service programmatically in C#

I am having a Form : InstallerForm.cs public partial class InstallerForm : Form { private void InstallerForm_Load(object sender, EventArgs e) { //Check if service is installed ServiceInstaller.ServiceIsInstalled("MyServiceName"); } } public class ServiceInstaller { private const int STANDARD_RIGHTS_REQUIRED = 0xF0000; private const int SERVICE_WIN32_OWN_PROCESS = 0x00000010; [StructLayout(LayoutKind.Sequential)] private class SERVICE_STATUS { [...] read more
c#
asp.net
.net
0votes
1answer

Determing the highest possible color and depth attachement sampled count in Vulkan

Do I need to set the value of VkAttachmentDescription::samples to a power of 2 or are arbitrary values allowed, as long as they don't exceed the maximum supported by the hardware? I'm really confused about this. The samples field is of type VkSampleCountFlagBits, which is declared in the following way [...] read more
graphics
vulkan
0votes
0answers

Python program airnef not working on Canon 3000D

Sadly Canon doesn't provide the EOS Utility for the Canon 3000D camera for wireless real time image transfer to computer. I'm currently attempting to use the airnef software by testcams.com, its a open source python based application. It hasn't been updated since 2016 so hence its not working for the [...] read more
python
macos
wifi
photography
0votes
0answers

How to get video frames from UVC device in MJPG format on ARM64 system? (with python)

As the title. I want to get the highest performance from Logic HD Pro Webcam C920, which should be 1920*1080, FPS=30.0. I've tried many ways from Internet, however, neither could solve my problem. Generally, There are two methods could achieve the goal. 1. opencv-python -> VideoCapture: Here is my code. [...] read more
python
linux
opencv
gstreamer
uvc
0votes
0answers

Issue with null key/value's when accessing a map/vector from a callback generated from ESP32 bluetooth library

I am trying to fire a function every time an ESP32 node receives a certain char. I can receive the data and parse the char out of a packet structure I have made. I register all my actions in a map of type <char,callback_function>, where typedef void (*callback_function)(void); The idea [...] read more
c++
arduino
bluetooth
microcontroller
esp32
0votes
1answer

Embedded Buildroot and Yocto Linux crash 50% of the time

I am getting the below error 50% of the time during startup on an STM32 based processor (OSD32MP15x). I've tried over 40 versions configs and setups none work and I am under high pressure to deliver this piece of hardware to a client. To me this looks like some kind [...] read more
linux-kernel
embedded-linux
stm32
buildroot
0votes
1answer

Unable to autheticate to IBM MQ C# with TLS-certificate

I'm trying to connect to a IBM MQ using .net core ("IBMMQDotnetClient" Version="9.2.0.1") with a certificate inside a linux container (mcr.microsoft.com/dotnet/core/runtime:3.1). Configuration Hashtable: new Hashtable { { MQC.HOST_NAME_PROPERTY, "localhost" }, { MQC.CHANNEL_PROPERTY, "DEV.SVRCONN" }, { MQC.PORT_PROPERTY, 1419 }, { MQC.SSL_CIPHER_SPEC_PROPERTY, "TLS_RSA_WITH_AES_128_CBC_SHA" }, { MQC.SSL_CERT_STORE_PROPERTY, "*USER" }} The tracing reveals this [...] read more
c#
.net
linux
ssl
ibm-mq
0votes
2answers

Linux authentication to AD causing lockout on single failure

I am trying to set up a Linux box (specifically Centos 6) to authenticate users via our Windows AD. The authentication works fine. The problem: Our password lockout policy is 3 strikes and you're locked. If a user logging into the Linux host enters their password wrong just once, their [...] read more
linux
authentication
active-directory
samba
pam
0votes
0answers

How to refer a node in device tree

I have amba_pl node in the pl.dtsi and I want to refer it from the system-user.dtsi . Could you tell me how can I refer it? I have attached my pl.dtsi below for your reference? * CAUTION: This file is automatically generated by Xilinx. * Version: * Today is: Mon [...] read more
device-tree
0votes
0answers

Shared Object fails to LOAD on linux after just Declaring std::map<int, int>

I am trying to build and load a shared library SO file and it was loading just fine. It fails to load when I added the below lines to create a map and it fails to load. It compiles and builds fine. I am using Eclipse & CDT. Edit 1: [...] read more
c++
linux
java-native-interface
shared-libraries
cross-compiling
0votes
3answers

Why won't GetMenuItemInfo work?

I'm trying to read the label names of menu items in an active application and store them in a List<String>. Unfortunately, dwTypeData ALWAYS returns null. Why is this? List<string> ls = new List<string>(); IntPtr hMenu = Win32.GetMenu(hWnd); if (hMenu.ToInt32() != 0) { for (int i = Win32.GetMenuItemCount(hMenu); i >= 0; [...] read more
c#
wpf
winapi
pinvoke
0votes
2answers

Show Balloon popup via WinApi32

I want to show a balloon popup without adding a dependency on Windows.Forms. So I decided to use Shell_NotifyIcon from Shell32. Here is a code that I wrote (translated to C# from F#), which should create a notification icon and then show a balloon. struct NotifyIconData { public System.Int32 cbSize; [...] read more
c#
.net
winapi
f#
windows-10
0votes
0answers

In React-Native when launching the project it gets stuck at Starting: Intent { cmp=com.projectalpha/.MainActivity }

The project gets started in cmd but it does not launch the app in the emulator where the emulator is already kept opened. Node does not load as well extra info: It was working alright until I installed the gesture handler for react (npm install --save react-native-gesture-handler) after this installation [...] read more
reactjs
react-native
emulation
launching
0votes
1answer

FT_SetEventNotification on Linux

I have three different java threads opening three Serial Devices. I am just curious if I have to create EVENT_HANDLE eh for each thread (local variable) inside read function or just a Global variable outside of the read Data function. And pthread_cond_wait(&eh.eCondVar, &eh.eMutex); is a critical section according to the [...] read more
linux
linux-kernel
serial-port
ftdi
0votes
1answer

ESP32 Guru Meditation Error while using .substring method

So I have written a function for my ESP32 using the Arduino IDE, and I needed to write a function to take a combined string of hex values like this: ffffff0000ffff0000 And split it into an array, like this: {"ffffff","0000ff","ff0000"} So far, I've written this: String colorIndex[] = {}; void [...] read more
arduino
esp32
0votes
0answers

Android adb send SMS error doent't work permissions

When i try to send SMS using adb with command: adb shell service call isms 7 i32 0 s16 "com.android.mms" s16 "+1234567890" s16 "null" s16 "Hey\ you\ !" s16 "null" s16 "null" there is error: Result: Parcel( 0x00000000: ffffffff 0000005e 006f0043 00790070 '....^...C.o.p.y.' 0x00000010: 006e0069 00200067 006d0073 00200073 'i.n.g. .s.m.s. [...] read more
android
sms
adb
0votes
1answer

Trying to read from switches and output in a LED switch board

I am wrtiing a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array (address: 0xf0200000) based on what switches are clicked. Each time the switch value is read, the pattern should be displayed (regardless of whether the [...] read more
assembly
mips
0votes
1answer

IBM-MQ PCF using to get subscriber count with a particular Topic

I'm using IBM-MQ, and I want to get the number of subscribers for a specific topic using PCFMessage MQQueueManager qmgr = null; PCFMessageAgent agent = null; Hashtable<String, Object> hashtable = new Hashtable<String,Object>(); hashtable.put(MQConstants.HOST_NAME_PROPERTY,"HOST NAME"); hashtable.put(MQConstants.PORT_PROPERTY,1414); hashtable.put(MQConstants.CHANNEL_PROPERTY,"CHANNEL NAME"); hashtable.put(MQConstants.USER_ID_PROPERTY, "USER_ID"); hashtable.put(MQConstants.PASSWORD_PROPERTY, "PASSWORD"); agent = new PCFMessageAgent(qmgr); PCFMessage request = new PCFMessage(MQConstants.MQCMD_INQUIRE_TOPIC_STATUS); [...] read more
java
ibm-mq
0votes
0answers

C Structs mnemonics in Linux Socket Filter. trying to make sense

I am trying to discover details about C Linux Socket filter or C Linux BPS sockets. The network filter for socket on this link and other places on this link https://www.kernel.org/doc/Documentation/networking/filter.txt is something like this /* From the example above: tcpdump -i em1 port 22 -dd */ struct sock_filter code[] [...] read more
c
linux
networking
firewall
raw-sockets
0votes
0answers

ARM-GCC crti.o file does not look right. Is this a bug?

I just spent a while debugging an issue with ARM GCC toolchain, and I'm a bit confused by the results: $ arm-none-eabi-gcc --version arm-none-eabi-gcc (GNU Arm Embedded Toolchain 9-2020-q2-update) 9.3.1 20200408 (release) Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There [...] read more
c
gcc
compilation
arm
0votes
1answer

modify build-id in the notes section of the elf file

I need to modify a build-id in the notes section of the ELF file. I see there are plenty of tools to read elf but not to modify them. I found elfedit but it doesn't seem to do what I need. Is it even possible? Here is the output of [...] read more
elf
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
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

GetThreadContext winapi call with python / ctypes

I'm currently working on a Python/Winapi project. I want to call Get- and SetThreadContext with Python and ctypes. My setup is Windows10 64bit and Python 64bit. The Apis should work for both, 32bit and 64bit processes. It does work with 32bit processes by calling Wow64GetThreadContext with a WOW64Context. However with [...] read more
python
windows
winapi
64-bit
ctypes
0votes
0answers

opendir() function in FUSE

I'm writing a program using FUSE library and the thing is that I don't know what I've done wrong with my codes. Here is some informations came out when I run my program with '-d' option. > FUSE library version: 2.9.4 > nullpath_ok: 0 > nopath: 0 > utime_omit_ok: 0 [...] read more
c
filesystems
fuse
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
0answers

Freeling analizer is not working with NER, dates, numerals

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

Same HTTP request passes with CURL_CLI but fails with LIBCURL

Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
c
curl
libcurl
0votes
1answer

Get path of process without Admin privileges in C#

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

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

Objcopy symbols are mixed or invalid in executable

As a simple example of my problem, let's say we have two data arrays to embed into an executable to be used in a C program: chars and shorts. These data arrays are stored on disk as chars.raw and shorts.raw. Using objcopy I can create object files that contain the [...] read more
c
gcc
linker
ld
object-files
0votes
1answer

VxWorks 653 Restart after START command

Using VxWorks 653 2.5.0.2 for P2020RDB-PC target, using BSP1.0/4 I have a very simple test application void usrAppInit (void) { RETURN_CODE_TYPE errCode; printf("\n I am alive!"); PROCESS_ATTRIBUTE_TYPE processAttributes; PROCESS_ID_TYPE thandle; processAttributes.BASE_PRIORITY = 10; processAttributes.DEADLINE = SOFT; processAttributes.ENTRY_POINT = (SYSTEM_ADDRESS_TYPE)task; strncpy(processAttributes.NAME, "TASK", MAX_NAME_LENGTH); processAttributes.PERIOD = INFINITE_TIME_VALUE; processAttributes.STACK_SIZE = 1024; processAttributes.TIME_CAPACITY = [...] read more
rtos
vxworks
arinc
0votes
0answers

ESP32 RC car project issue

im using nipplejjs like virtual joystick by sending json request to esp32 to remote a rc car with to dc motors the front motor is for direction and the back motor for speed the fonction rorat hendle the json request i retrive the (distance , angle , degree ,type ) [...] read more
loops
arduino
esp32
arduino-c++
0votes
1answer

Stm32f4 counting pulses (How can I adjust the rising edge voltage ?)

At the moment I use TIM2 on the stm32f4 - Discovery Board to count pulses (rising edges). How can I adjust the thresholds for the rising edges ? I want to count 1 V pulses. At the moment it is just possible to count 2V pulses. I'm not able to [...] read more
timer
stm32
stm32f4discovery
0votes
1answer

Is there a reason for the seemingly random twenty bytes at location 0x284 in the compiled code from gcc?

The following code illustrates: #include <stdio.h> #define NUMBER_1 1 int main(void) { int a; a = NUMBER_1; printf("Output: %d\r\n", a); return 0; } Changing the define to 2 causes the 20 bytes to change completely. I'm using gcc version 7.5.0 under ubuntu version 18.04. I suspect this is some sort [...] read more
c
0votes
0answers

Access violation when closing the form that has floating component

I have a C++Builder VCL application that has some dynamically created components on it. These components should be able to dock and undock from a Panel. The problem is, if the user closes the form while one of these components are undocked (Floating), I get an error: > First chance [...] read more
c++builder
c++builder-10.3-rio
0votes
1answer

Updates certain values only if a matching int flag is received

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

Find and click default button on modal dialog?

I started with the code found here - https://color-of-code.de/programming/c-sharp/detect-waiting-for-user-input. I can find a modal dialog if one is open. I'm looking for a modal dialog that is open in a different app, not sure if that matters or not. Now what I want to do it click the default button. [...] read more
c#
pinvoke
ui-automation
-1votes
3answers

How to Generate Exceptions on Cortex M3?

I am trying to generate exceptions like Bus Fault, Usage Fault on ARM Cortex-M3. My code for enable exceptions: void EnableExceptions(void) { UINT32 uReg = SCB->SHCSR; uReg |= 0x00070000; SCB->SHCSR = uReg; //Set Configurable Fault Status Register SCB->CFSR = 0x0367E7C3; //Set to 1 DIV_0_TRP register SCB->CCR |= 0x00000010; //Set priorities [...] read more
c
exception
embedded
cortex-m3
-1votes
1answer

Non ascii characters in Balloon WinApi popup

I try to show a balloon popup with a Unicode text, but I always see a ??? characters inside. When the title (szInfoTitle) doesn't contain non-ascii characters everything works just fine. And here is the fully working F# example: type NotifyIconData = struct val mutable cbSize: System.Int32 // DWORD val [...] read more
.net
winapi
balloon

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