This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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