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.
Sometimes I start an Activity of my app, or switch fast between Fragments of a ViewPager which is in that specific Activity, I got DeadObjectException like this: W/ActivityManager( 669): android.os.DeadObjectException W/ActivityManager( 669): at android.os.BinderProxy.transact(Native Method) W/ActivityManager( 669): at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:660) W/ActivityManager( 669): at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:776) W/ActivityManager( 669): at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:2501) W/ActivityManager( 669): at [...] read more
I have a Master script that has several options. When you select 1 in the menu, action 1 will be executed and afterwards you'll get back to the menu. This is working fine but I would like to be able to select for example 8, which launches the code block [...] read more
I'm trying to process frames from a video stream, and it as a new video. This is what I'm doing : fourcc = cv2.VideoWriter_fourcc(*'XVID') out = cv2.VideoWriter('Videos/output.mp4',fourcc, fps, (1080,1080)) I keep getting : OpenCV: FFMPEG: tag 0x44495658/'XVID' is not supported with codec id 13 and format 'mp4 / MP4 (MPEG-4 [...] read more
Searching the web, I found 2 scripts that are able to change the owner of files and folders. When testing this, it functions perfectly in PowerShell 1.0. Now I'm trying to combine both so they work recursively, because we have folders with over 500 sub directories and files in them. [...] read more
I am trying to create a file with FatFs on USB flash, but my f_open call trying to read boot sector for first time file system mount hangs on this function. DRESULT disk_read ( BYTE drv, /* Physical drive number (0) */ BYTE *buff, /* Pointer to the data buffer [...] read more
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
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 am trying to create a semi-transparent control derived from System.Windows.Forms.Panel. [Edit: Basically what I want to achieve is this]: enter image description here [https://i.stack.imgur.com/irXrP.png] I have gone through numerous web articles as well as SO questions and have come up with this: class SeeThroughPanel : Panel { public SeeThroughPanel() [...] read more
I'm using CreateProcessAsUser to run a process from a service, and am redirecting the stdout to a named pipe. But when I try to read from the named pipe it hangs on the read and never returns. I tried this in a separate task(as currently implemented below) and just reading [...] read more
On some of our machines, we get an exception when trying to start CefBrowser from WPF code. I have been trying to troubleshoot this, but cannot really understand what goes wrong. The machines are all Win7 running 64-bit OS. Below, I have captured a trace using "Dependency Walker" running the [...] read more
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
as you may know Mac OS X has a pretty nice screen zooming functionality built in, which can be enabled in System Preferences => Universal Access. Now I'm trying to trigger this screen zooming programatically. I can do it by sending keyboard shortcuts, but it's not as fluid as it [...] read more
This is on a small bussiness server 2008 (windows server standard FE copyright on 2007) with SP1 and powershell version 1 for some strange reason the server cannot update to sp2 and no longer updates work it reports (80072EFE error though it directly connected to internet without a firewall) so [...] read more
On my SQL Server instance I use SQL Agent to run a daily backup job in two steps. One of the steps uses Robocopy to move local backup files to network storage. The command to move the files looks like this: robocopy M:\backups \\NAS\backups$\Database /MOV /MIR /XJ /NP /COPY:DT The [...] read more
Currently I have the problem that I should migrate a tool which communicates via Cisco TAPI. Currently it is running under a 32bit compilation. If I switch the compilation set to 64bit and update the nuget package "ATAPI" (by Mark Smith <2>) to the 64bit version. If I build this [...] read more
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
There is a utility that can be run on the Microsoft Windows command line called fsutil. One of the commands that it accepts is fsutil usn readjournal <volume pathname> along with several other arguments. Is there documentation on how to read the data produced by the program? My specific interests [...] read more
I've been tinkering with ITX's DVR for the past few days, trying to connect to its RTSP stream using the SDK that manufacturer provides. The official syntax goes like this: PLAY rtsp://192.168.100.134/live?Live_video_channel_mask=0x0000FFFF&Live_audio_channel_mask=0 x00000000&Iframe_only=0&Stream_index=2/ RTSP/1.0\r\n Video channel mask declares the number of video channels one wants to see, e.g. if I [...] read more
I'm facing a hard time solving a BSOD which happens whenever I access a mapped network drive. It only happens when I access a particular folder in this drive. The error code is: BAD_POOL_HEADER STOP : 0x00000019(0x00000020, 0x88EE2E28, 0x88EE2ED8, 0x0A160001) Is there any way to fix this besides formatting my [...] read more
We use Altaro VMBackup V7.0.20.3 to back up some VMs hosted on a single Hyper-V Host running Windows Server 2012 R2. One of the VMs running Windows Server 2008 gets the following error after the backup completes: > A Shadow Copy of the host was taken successfully, but an internal [...] read more
I have to add an exclusions path to Windows Defender registry key. I am aware that there are Cmdlets provided from Windows Defender to use them directly for these kinds of purposes. But unfortunately, in Windows 7 and Powershell v2, they are not available. So I am trying to build [...] read more
Can the timestamp and user+process that performed the file delete be tracked? I have now setup solaris auditing and have made the following audit_control, audit_class and audit_event entries: $ grep pf /etc/security/audit_control flags:pf,fd $ grep pf /etc/security/audit_event 6:AUE_UNLINK:unlink(2):fd,pf 48:AUE_RMDIR:rmdir(2):fd,pf 286:AUE_UNLINKAT:unlinkat(2):fd,pf 6182:AUE_filesystem_delete:delete filesystem:as,pf 6185:AUE_network_delete:delete network attributes:as,pf $ grep pf /etc/security/audit_class 0x10000000:pf:rems [...] read more
I am trying to learn a little bit of Shell-Scripting, as Test-Automation seems to get trendier these days. My grasp of Powershell is quite generic. My current goal is to change the My Computer desktop icon. There are some things of the Microsoft Windows 10 operating system that I have [...] 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 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
I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 Using a shell script, the hex values from line starting with F Blocks: can be extracted using the line below : blocks="$(sed -nE 's/F Blocks:[\t ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)/0x\2 0x\4 0x\6/p' [...] read more
I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm unsure where the error(s) are hiding. [...] read more
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'm using Windows 7 and I've gotten multiple BSOD errors when browsing with chrome or watching videos. I've updated my integrated graphics card driver but it didn't solve the problem. I've run Memtest86+(12 passes) - everything was OK, I've also tested the HDDs - no problem, too. I've disabled GPU [...] read more
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 a VM, which was originally running on Windows Server 2008 R2 with the Hyper-V role. The guest was a Server 2012 which was just serving as a domain controller (a backup one to the SBS 2011 server running on another physical machine). I moved the VM by shutting [...] read more
I am trying to make my own Operating System. I got interrupts working, some keyboard and mouse drivers, basic video and printing functions. Now I want to get into memory management and tasks and the first thing I realized is that I need paging which I have yet to set [...] read more
Introduction I have been working on writing my own bare metal code for a Raspberry PI as I build up my bare metal skills and learn about kernel mode operations. However, due to the complexity, amount of documentation errors, and missing/scattered info, it has been extremely difficult to finally bring [...] 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
Summary: On my ISR routine I call a function that tries to set the WiFi mode to APSTA in a ESP32, and it crashes with the following dump: Scanning for Modules... OK1 Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x4008b7cc [...] 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
I've been working on a LED strip lately trying to create all kinds of animations. But one of them has caused quite a lot of trouble. It's meant to be a kind of firework. It usually runs once and when the loop starts a second time the following error comes [...] read more
So some background - I have a esp32 cam with a PIR sensor. The esp is in deep sleep, then is waken up by a PIR sensor (GPIO 13) and the esp takes an image. What I want it to do is then monitor for another 15s for movement. If [...] read more
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 have a series of issues that are not unique in and of them selves, but collectively are very unique. I have a series of helper console applications(C#), that do various things such as connect to and modify SSAS databases, access external API's, etc... These are invoked from a SQL [...] read more
Sorry for my poor English. I have a user control which includes two text boxes. I wanna draw a circle over that. I tried to use a transparent panel like below. (This code is from Drawing circles on top of a form) public partial class Form1 : Form { public [...] read more
I want to make my shapes to keep rotating by time while I can move them (Left-Right , Down-Up , Front-Back) using keyboard I added a function called timer() that should change the angles of the cube and pyramid by time. The problem is the code keeps breaking at glutPostOverlayRedisplay(); [...] read more
Im trying to implement a panel containing a multitude of buttons and panels with a touch UI in C#. In particular I'm interested in the scrolling functionality. The application is supposed to run on a windows 10 tablet which offers this functionality partially (I.e. if you slide your fingers over [...] read more
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 have implemented a Python script which displays a video to the user and records it. The video is saved either compressed or uncompressed. In an old program I have seen, that the "DIVX" MPEG-4 and the "IYUV" codecs were used. For some reason, they don't work on my computer [...] read more
Good time of day. The problem is very strange and incomprehensible. After successfully creating the button, and then using it, I noticed a very unpleasant bug, flickering buttons. Namely, it is played very easily, open the project, and press the ALT button. For some reason, the buttons blink once, and [...] read more
I'm trying to automate replies to a group MMS with Tasker. So far, I've been able to write a couple shell scripts with Termux that can poke into the SQLite database where received messages are stored, and get the content of those messages and the numbers of the participants in [...] read more
I'm building a .Net application that should import a VS2010/2008 solution and find the start up project by reading the .suo file. I looked at How do I programmatically find out the Action of each StartUp Project in a solution? but the solution mentioned works only if I select Multiple [...] read more
I'm attempting to get a smartphone app to communicate with an MCU (STM32F030R8). The step I'm currently on is getting the WiFi module to talk with the MCU. I'm able use the AT firmware to configure the ESP when using an Arduino Uno/PC terminal, but want to essentially do the [...] read more
I have run into a dead end here. I am trying to install an Intel AX200 WIFI + Bluetooth network card onto my desktop PC. I connected it to a PCIe port that had more slots than needed but I read that this should be fine. Additionally, a cable from [...] read more
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 are running an Exchange 2010 SP3 UR27 environment on Windows Server 2008 R2. I am aware that support for Exchange 2010 is ending soon, and we are planning to migrate to a newer platform before then. I am seeing issues with database files being in use by another process, [...] read more
I'm trying to build async webserver with websocket using ESPAsycnWebserver lib. Everything works fine, but there is one moment: when i refresh multiple times: 13 or 29 it crushes and reboots. I think there is memory problem but dont know how to solve. Here is Console output and working code: [...] 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 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'm using the Discord API to get all the guilds the user is in. With the JSON response, I'm trying to filter out all the server names where the user has the manage_guild permission with list comprehension. all_guild_names = [x['name'] for x in guilds if int(x['permissions']) & 0x00000020 != 0] [...] read more
I am trying to write code when I press the switch (PF0) the led should be on but my code did not work. I am sure I do all configuration why program don't read data coming from switchs? #include <stdint.h> #include <stdlib.h> #define SYSCTL_RCGC2_R (*((volatile unsigned long *)0x400FE108)) #define SYSCTL_RCGC2_GPIOF [...] read more
I was wondering if someone could help me out? I have a 5M ledstrip (300 leds) and running the following code on my ESP32. The code will make a led light spinning around! void spinningwheel(){ int random_number; int spin_speed; for(int i =0; i < 1; i++){ random_number = random(NUM_LEDS); } [...] 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
For a project I try do use the ESP8266 RTOS SDK. First step I install the tools and the toolchain. The hello_world example and the other gpio example works fine. I try the softAP example and get a Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled Error. I [...] 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
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 learning how to use Ghidra Tool and I have a question of how to interpret one function. This is the simplified version: Take this scenario: the location [RBP – 0x40], of the stack, has this value: 0xFFFF7710 (indeed this value is an address of another element in the [...] read more
I'm trying to do some bare metal programming on a Raspberry Pi 3B. I still have not figured out the correct memory addresses for the UART controls so please just ignore those. I am experiencing a strange compilation issue though. Here is the code I am trying to compile (not [...] 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 was trying to record light intensity values for a Li-Fi project. This is my code: #include <soc/sens_reg.h> #include <soc/sens_struct.h> #include <driver/adc.h> #include <SD.h> #define ADC1_GPIO36_CHANNEL ADC1_CHANNEL_0 #include <adc_channel.h> const char filename1[] = "/part1.dat"; const char filename2[] = "/part2.dat"; File file1, file2; int local_adc1_read(int channel) { uint16_t adc_value; SENS.sar_meas_start1.sar1_en_pad = [...] 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
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
When I start visual studio ,I get the below message Error message [https://i.stack.imgur.com/f46GE.png] enter image description here [https://i.stack.imgur.com/OvjTE.png] When I click debug and click debug devenv.exe I get the below error > System.Reflection.TargetInvocationException HResult=0x80131604 > Message=Exception has been thrown by the target of an invocation. > Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object [...] read more
I wanted my panel to be truly transparent, so I followed the instructions on this article: https://web.archive.org/web/20121226091810/http://www.bobpowell.net/transcontrols.htm However, I've forced my panel to always show the Vertical scroll bar. It initially is not rendered unless I hover my mouse cursor over it, at which point it begins to appear. What [...] 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 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
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
There is something strange going on here. In the log, it mentions two other private IPs that I definitely do not use. Especially since it's on a different IP subnet. I've noticed this the other day and was actually able to ping them. Still can. The other thing I seen [...] read more
I'm running a deployment on Azure pipelines and the release got stuck while copying files. This resulted in an unending process which is not desirable. The error I received was: > ERROR 32 (0x00000020) Copying File > C:\azagent\A2_work\r3\a_mach1-light\build\MyProject\HtmlRenderer.dll The > process cannot access the file because it is being used [...] 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 have two applications one is just starting the second application on the adress 0x20000 I can debug in the first application and it reaches the line that will redirect to the 0x20000 the address. The code from the first application looks like this: uint32_t a_StartAddress = (uint32_t)(uint32_t *)0x20000; ((void [...] read more
Good Morning, So I am having a bit of trouble with this code. I have a gMSA setup to take ownership of Group Policy Objects. I have given the gMSA rights in Group Policy on all Domain Controllers to "Take Ownership of files and other objects". The taking ownership part [...] read more
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
Can anyone help me with the error below? The Problem is that when I'm in debugging mode it cant flash. Note: with esptool it works. > Executing task in folder 200629-213850-arduino-blink: C:\Users\LucaMoser\.platformio\penv\Scripts\platformio.exe run --target upload < Processing esp32dev (platform: espressif32; framework: arduino; board: esp32dev) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Verbose mode can be enabled [...] read more
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 have been trying a few experiments with VSS mainly related to backup and restore of SQL database across different scenarios. The experiments that have succeeded so far are: 1. Backed up the VSSTest Database from the default instance and were able to restore the database into the default instance [...] read more
I made a Custom Control with the functions of a Button. The problem with this controls is that when you hover over it, the color of the button changes: when this action is repeated quickly, it glitches out. To make it more clear, I recorded a video. Update 09.07.2020; I [...] read more
Good time of day. I made my own button, where I did everything necessary for its further operation. Next, I encountered the smoothness of this button, it does not suit me from the word at all, and I decided to use DoubleBuffered, after adding DoubleBuffered, I encountered another problem, more [...] read more
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
My questions are : 1- Im trying to write a script for monitoring RDS grace period which expire in 10 days. it does not work for Powershell. wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !="") CALL GetGracePeriodDays Error : __CLASS : The term '__CLASS' is not recognized as the name of [...] read more
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
I am currently just beginning to work on an ARM Cortex-M4 MCU and i came across this code in initialising of a I/O port. SYSCTL_RCGC2_R |= 0x00000020; // 1) activate clock for Port F delay = SYSCTL_RCGC2_R; // allow time for clock to start GPIO_PORTF_LOCK_R = 0x4C4F434B; // 2) unlock [...] read more
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 have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 I would like to extract only the numbers associated to the line starting with F Blocks as string. Line can be easily extracted using : sed -n '/F Blocks:/p' filename [...] read more
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
Currently I am working on PowerPC target with GCC and Greenhills compiler, I found the Greenhills compiler can always generate sections with all zero pyhsical address of sections in elf, Here is sample link command file for Greenhills compiler : MEMORY { RESETWORD : org = 0x00f8c000, len = 0x00000020 [...] read more
I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
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
My goal of this script is to start recording to a video file when motion is detected. When motion is no longer detected, the writer will be released and the script will create a new video the next time that motion is detected...and so on. With the below script, I'm [...] read more
So I am not the owner of the folder nor do I have admin rights, but the group that I am a member of has the Full Control over the folder including the ability to "Take Ownership" and "Change Permissions". So a little bit of back story here. We have [...] read more
I have information about Source and destination dirs for multiple locations in Datatable. I am iterating through the datatable using foreach parallel and then two tasks are performed, Copy files to dest and rename copied file on Dest. While doing this sometimes i am getting errors like, ERROR 32 (0x00000020) [...] read more
I use Stm32f103c8t6 processor and I want to make 1 second counter. Normaly I dont use tımer update ınterrupt and my counter counts correctly but when I add timer update ınterrupt in code my counter doesnt count correctly. So fast increment. And ı cant remove update interrupt flag (UIF) in [...] read more
We have want to clear an NTFS ACL of a folder completely and only have the ACL populated with the ACE Builtin\Administrator : Full Control. The code below works fine for most folders but fails on one specific folder: $Path = 'E:\DEPARTMENTS\Gemensam' $BuiltinAdmin = [System.Security.Principal.NTAccount]'Builtin\Administrators' $AdminFullControlAce = New-Object System.Security.AccessControl.FileSystemAccessRule( $BuiltinAdmin, [...] read more
I'm setting up a prototype for a DAQ system for Zynq FPGAs. I receive data from a server through ethernet, write it to a FIFO using the DMA and viceversa using two different pthreads. However, threads work correctly only if printf are executed. I expect there is a memory leak [...] read more
Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that. It turned out that the error is being thrown inside parsing the JMS envelope and inside the ParseJmsFolder method. This is the exception we [...] read more
> Solution by Andy protected override void OnSourceInitialized(EventArgs e) { // Get this window's handle IntPtr hwnd = new WindowInteropHelper(this).Handle; // Change the extended window style to include WS_EX_TRANSPARENT int extendedStyle = GetWindowLong(hwnd, GWL_EXSTYLE); SetWindowLong(hwnd, GWL_EXSTYLE, extendedStyle | WS_EX_TRANSPARENT); base.OnSourceInitialized(e); } public const int WS_EX_TRANSPARENT = 0x00000020; public const int [...] read more
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 a bit confused, will inc [esi + 8] (lets say [esi] points to 0x0000001F in 8-bit memory) increment 0x00000027 or will it affect 0x00000020? I have seen a video implying it will affect the latter whereas regular pointers in ram go by addresses, not bits. read more
I have to write a C code so that the RGB LED on the board breaths. My code is blinking not breathing. My teacher said that varying brightness is achieved by varying duty-cycle so in that case I can't use pwm. Please help me to understand this code. #include <stdint.h> [...] 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
This error shows in my serial monitor see the code below for ESP32 and please help me to solve > Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory > region accessed) Core 1 register dump: PC : 0x400d1580 PS : 0x00060034 A0 : > 0x400847fc A1 : [...] read more