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.
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
A family member of mine recently went on vacation and turned off their computer, something they normally do not do, upon returning home it would not turn on and now returns a black screen with the error message in that is shown the code block below. Generally friends and family [...] 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 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 have been facing this error quite a long time, My production environment is running Apache 2.4 and php7 on a windows 2008 R2 enterprise platform. My error log is full of these lines VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command. VirtualFree() failed: [0x000001e7] Attempt [...] read more
Can anyone offer a relatively simple explanation of how a double panic differs from other types of kernel panic on a Mac? Simple as in … I'm not a developer, but I wish to understand these things a little better. BACKGROUND A loose description of panics of this type: * [...] read more
If I try to install any driver(I tried Vmware, Virtualbox and my webcam driver) I get the error > Not enough storage is available to process this command [https://i.imgur.com/BNResXc.png] I tried increasing the IRPStackize as specified here, however that KB is about transferring files from a server to client and [...] 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
My Macbook Pro (17" 2.2 Ghz Intel Core 2 Duo, OS X 10.4.11) often locks up when it resumes from sleep. I usually know I'm in trouble when the display brightness doesn't adjust right away. Then it runs for a few seconds until it stops responding again. The pointer works, [...] 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 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
I keep getting the following error in my PHP error text for Xampp on Windows 10. Using WordPress as the CMS. Feeling like I have tried everything but hoping there is at least one person here that can solve it. I have tried changing the INI and Conf setting. Changing [...] read more
When I run a sudo command after binding my linux machine to an AD domain using samba/winbind, it takes anywhere between 10 seconds and 2 minutes to respond before prompting for my password. I've checked my /etc/resolv.conf and DNS seems to be set up properly. Commands like dig run without [...] read more
I am trying to read a file into a byte array in Delphi XE2. This is my current code: function FileToBytes(const AName: string; var Bytes: TBytes): Boolean; var Ms: TMemoryStream; begin Result := False; if not FileExists(AName) then Exit; Ms := TMemoryStream.Create; try Ms.LoadFromFile(AName); if Ms.Size > 0 then begin [...] 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
How to SendKeys to the last active input TextBox after clicking a button in winforms (C#)? I'm new to C# and I'm trying to create a winforms application with an on-screen keyboard and I have multiple textboxes. I have searched and tried the guides I found, here's sample that's working [...] read more
I'm building a library that I can reuse for multiple devices to save me setting up the same functions in my code over and over again. I'm having issues when trying to publish a message, and I'm hoping you can help! The code is targeting an ESP32 with BLE and [...] read more
I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding. I am facing an issue right now that the module uses hardware interrupt for playing [...] read more
I am trying to make an extremely minimal stm32f215 firmware to teach myself its boot-up intricacies. As it is now I have this dump which, to my knowledge, should write the stack address to r0 and loop forever: firmware-d: file format elf32-littlearm Disassembly of section .isr_vector: 08000000 <vector>: 8000000: 20002000 [...] read more
I usually build my mobile apps using build service from codemagic.com. During this week i didnt change anything of my code except build number. Today I got my mobile phone crash after new AppBundle Compile with below error stack from firebase console. > Fatal Exception: java.lang.NoSuchMethodError No static method > [...] 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 can't run the "Fastlane release", because it shows the error "Couldn't decrypt the repo, please make sure you enter the right password!". I'm sure that the entered password is correct. I tried to remove all profiles and certificates manually but it didn't work. [13:03:58]: Enter the passphrase that should [...] 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 debugging a problem with a composite device that I'm creating, and have recreated the issue in freshly-CubeMX-generated HID-only code, to make it easier to resolve. I've added small amount of code to main() to let me send USB HID mouse-clicks, and flash an LED, when the blue-button is pressed. [...] read more
I'm trying to implement permission management for my device driver and found the following official Kernel documentation related to struct inode_operations: struct inode_operations { //... int (*permission) (struct inode *, int); //... }; The documentation for the permission function: > called by the VFS to check for access rights on [...] read more
I made a TC BPF ingress program and I want it to process specific packets only marked by NFTables. Here's my NFTables table that marks the specific packets: table ip compressor_tc { chain prerouting { type nat hook prerouting priority -99; policy accept; ip daddr 10.50.0.3 tcp dport != ssh [...] read more
We have a Mac OS X 10.5 Leopard Server mail server that recently started getting issues with IMAP mailboxes having "invalid format[s]" this weekend. It turned out that there were some bad block counts on the volume housing IMAP data and the issue has not resurfaced after repairing the volume [...] read more
today I correctly installed the driver for the TP-LINK TL-WN725N USB wireless adapter on my RaspBerry Pi (I use RaspBian that is a Debian), then I setted up the wifi using the wpa-supplicant as explained in this tutorial: http://www.maketecheasier.com/setup-wifi-on-raspberry-pi/ This worked fine untill this evening. Then suddenly it stopped to [...] 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
Every time I open any printer queue I get a kernel panic and have to reboot. It's quite frustrating. I've tried removing/adding printers, clearing all caches with Onyx, repairing permissions, all manner of things to no avail. Any tips would be greatly appreciated! ==== CRASH REPORT ==== Interval Since Last [...] 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 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'm running a SSIS package which is developed in Visual Studio 2019 using dtexec command given below. We are using SQL Server Management Studio 2019 version. Packages are deployed to Integration Services Catalogs. DTEXEC /ISSERVER "\SSISDB\Folder\Project\Package.dtsx" /SERVER xxx /Par "\"$ServerOption::SYNCHRONIZED(Boolean)\"";True /CHECKPOINTING OFF /REPORTING EW If there is an error in [...] 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
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
EDIT: exhuming this question since I'm back on the issue. I've added some source code and details. I try to record the execution trace of my firmware running on STM32H753. For this I'm using the ETM functionality of Cortex M7. I don't want to use external tools but rather use [...] read more
I'm trying to do composer install in my laravel and suddenly this gave me something like first time to encounter enter image description here [https://i.stack.imgur.com/A7FuU.png] Tried to increase my memory_limt from 150M to 2000000000M But didnt works. Or I just did it wrong? read more
I need to be able to stop it on demand. I tried to gracefully terminate the process with taskkill /im ffmpeg.exe but it doesn't work. If I force it with /f then the video file gets corrupted. I think the alternatives could be: * To get the process handle and [...] read more
I think I encountered something extraordinary strange in VS 2008. All the array values are 0x00, but why it is displayed 0x00000008 at the start of the variable? read more
Composer worked find yesterday, but today after I trying install: composer require --prefer-dist "himiklab/yii2-recaptcha-widget" "*" While run composer update command it show me error: VirtualAlloc() failed: [0x00000008] VirtualAlloc() failed: [0x00000008] PHP Fatal error: Out of memory (allocated 956301312) (tried to allocate 201326600 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 84 Fatal error: [...] 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 know that there is a process.Modules list in System.Diagnostics that contains some process modules but I got some troubles with it because I can't find some dlls here: Process process = Memory.GetProcessByName("csgo"); foreach (ProcessModule pm in process.Modules) Console.WriteLine(pm.ModuleName); enter image description here [https://i.stack.imgur.com/U7pal.png] So I was looking for a [...] read more
I try to use DirectX ChromaKey effect, but my function stucks on some step. What I do: 1. Create ID2D1Factory1 2. Create ID3D11Device and ID3D11DeviceContext 3. Obtain DXGIResource from received texture 4. Obtain shared handle from DXGIResource 5. Open DXGIResource as new ID3D11Texture2D using ID3D11Device 6. Obtain D3D11_TEXTURE2D_DESC of new [...] read more
I try to create new ID3D11Texture2D for map it to DXGI_MAPPED_RECT further. I receive some ID3D11Texture2D that I have no power on (can not change way of creation of). Here is the part of the code: CComPtr<IDXGIResource> cpDXGIResource; RET_HR_NULL(_pTexIn->QueryInterface(__uuidof(IDXGIResource), (void**)&cpDXGIResource), cpDXGIResource); HANDLE sharedHandle; cpDXGIResource->GetSharedHandle(&sharedHandle); CComPtr<ID3D11Texture2D> cpTexIn; cpD3D11Device->OpenSharedResource(sharedHandle, __uuidof(ID3D11Resource), (void**)(&cpTexIn)); D3D11_TEXTURE2D_DESC [...] read more
I am trying to connect two ESP32 via Bluetooth, while one is serving as the server and one as a client. Connecting the client to the server works just fine and discovering the characteristic works too. But when I try to register the characteristic for notify, I get an error [...] read more
I am trying to sort by value in a HoA wherein key => [ a, b, c] I want to sort alphabetically and have tried and read with no success. I think its the commas, but please help! Below is a short snippet. The raw data is exactly how it [...] read more
I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information 1. Sidekick Version: 1.19.2-v.2019.11.18.2 (latest) 2. NativeScript CLI version: 6.2.2 3. CLI extension nativescript-cloud version: 1.19.3 4. CLI extension nativescript-starter-kits version: [...] read more
I created simple program, which dynamically generates GenericEmitExample1.dll assembly. Such assembly defines following type: public class Sample { public static string test() { int num = default(int); return num.ToString(); } } Here is source code of such program: using System; using System.Reflection; using System.Reflection.Emit; public class Example { public static [...] read more
I'm writing a python script to delete files on MacOS, and I run into SIP protected files. I know the presence of st_flags more than likely mean I can't delete the file. Like here: >>> os.stat(f).st_flags 524288 But I'm curious to know what that actually means. I looked in stat.h [...] read more
I have a degraded RAID-1 setup and I'm trying to troubleshoot the problem whether it's completely dead (and need to send the drive back to the vendor) or it can be brought back. So I ran smartctl: root@linux:~# smartctl -l selftest /dev/sda smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-176-generic] (local build) Copyright [...] read more
I'm using sp_msforeachdb to list all databases on my server. I know it is unsupported, but I wonder why it does not list all the databases I have installed. This is how I run it: set run="C:\Program Files\Microsoft SQL Server\100\Tools\Binn\SQLCMD.EXE" -S .\SQL2008 -E -h -1 -Q %run% "exec sp_msforeachdb 'select [...] read more
I got BSOD while attempting to uninstall a program in Win XP, so I tried to reinstall the OS (because the guy who gave me the pc wants a clean-up) but a STOP 0x0000007F (0x00000008, 0x80042000, 0x00000000, 0x00000000) occurs. I tried then to boot Kubuntu 9.04 live cd, and it [...] 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 try memory_limit=-1 or 526M or 1000M, but showing same error repeated.Please help me!!!! D:\xampp\htdocs\elevenMedia>composer require laravel/ui Using version ^2.0 for laravel/ui ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) VirtualAlloc() failed: [0x00000008] Not enough storage is available to process t his command. VirtualFree() [...] read more
I have 3 files: a .cpp file containing definitions, a header file for declarations and macros and another file(.cc) that calls the header file. The problem I'm having is at runtime I seem to be getting an "undefined sysmbol error related to the function "channel select" that I'm trying to [...] read more
The application is a WPF application based on .NET Framework 4.5. It is built in x86 mode, and running on Windows 7 (32bit). When exiting the application by clicking the close button of the main window, it crashed sometimes. This is main info analyzed from the dump file. > In [...] 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
Production server has gone down and the preliminary analysis find that it has encountered a JVM crash. The jboss server log and GC log seems to be ok. And the jvm error log mention the “Problematic frame: # V [libjvm.so+0x546720]”. Configuration details:- The server is 64 bit machine having 32 [...] 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
I have a splash activity which runs for 5 seconds, and it I want 2 seconds to have a textview (txtCRF) and a imageview (canuck), and the other 3 seconds to have a different imageview (titlescreen). Whenever I utilize setVisibility(View.GONE) on any of the elements, the app crashes. This is [...] read more
Getting this error on "composer require drupal/module-name". I want to install a module on my drupal site but it always returns me this error. VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command. VirtualFree() failed: [0x000001e7] Attempt to access invalid address. VirtualAlloc() failed: [0x00000008] Not enough [...] read more
My goal is to support Android 4.1 (custom phone for security guard) with 512 MB - 1 GB of RAM. What I've tried: 1. I've tried with Android API 25 and Android API 29 (Google Play), it works as expected. I am not sure whether this is the culprit or [...] 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
I need to set a CAN Filter to ID "$7E8". But I need to set a ID High, Low and a Mask. FilterConfig.FilterIdHigh = 0x0000; FilterConfig.FilterIdLow = 0x0000; FilterConfig.FilterMaskIdHigh = 0x0000; FilterConfig.FilterMaskIdLow = 0x0000; I found this Article: https://schulz-m.github.io/2017/03/23/stm32-can-id-filter/ And tried that code: FilterConfig.FilterIdHigh = 0x00000008; FilterConfig.FilterIdLow = 0x00000008; FilterConfig.FilterMaskIdHigh [...] 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
I am wondering how do I print out data through advanced indexing in GDB? For example, say I want to print out the value at 8(%ebp) to get the first parameter passed into a function. How would I do that? The following command does not seem to work: p (int)8 [...] read more
I try to Install Yajra dataTable in my localhost using "composer require yajra/laravel-datatables". after that, i give me This Error I used vscode and xamp. How to Solve this ? Here is the Full Error VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command. VirtualAlloc() failed: [...] 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
.text main: #Main function to be run la $a0, prompt li $v0, 4 syscall la $a0, n0 li $a1, 8 li $v0, 8 syscall move $t0, $v0 la $a0, n1 li $a1, 8 li $v0, 8 syscall move $t1, $v0 la $a0, n2 li $a1, 8 li $v0, 8 syscall [...] 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
Hardware: Board: ESP32 Dev Module, node32, ttgo Core Installation version: not sure IDE name: Arduino IDE Flash Frequency: 40Mhz PSRAM enabled: not Upload Speed: 115200 Computer OS: Windows 10 Hi, I am working on a project, which is to use GSM to connect MQTT, and send instant data such as [...] read more
A constructor for MyClass takes a pointer to another such object. The C++ MyClass is functionally the same as a C "class" based on a typedef'd struct called MyType_T. (The C++ class is basically a wrapper to the old C code.) I'd like to be able to pass in a [...] read more
so i have been tasked with migrating some machines mainly all windows and all has gone well until now with one machine giving us this error. As i am no software techie type and have never used Solaris or java for apps its puzzled me and I am wondering if [...] read more
I developed an add-on for SAP Business One, as a C# Windows Forms application. In this add-on, using LoadLibraryEx, I load a native unmanaged DLL (correct me if I'm wrong) written in C++. The add-on calls a method of the DLL, in this way: [DllImport("kernel32.dll", SetLastError = true)] public static [...] 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've been trying to build a speech-recognition application with gtts. What I want to do now is to use a variable from another python script so I can update a tk Label. I tried to put my code in a structure of a class to access the variable. I've added [...] read more
I know this is common issue. But tried some ways on how to fix this but can't do it. trying to do this composer require mavinoo/laravel-batch But got an error with VirtualAlloc() What I have tried to modify php.ini on my xampp from this memory_limit=128M to this memory_limit=-1 Also tried [...] 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 having a problem in menu class in my program. When I'm trying to switch menu texts color: void Menu::moveUp() { if (selectedItemIndex -1 >= 0) { menuLabel[selectedItemIndex].setColor(false); selectedItemIndex--; menuLabel[selectedItemIndex].setColor(true); } } void Menu::moveDown() { if (selectedItemIndex + 1 < NUMBER_OF_MENU_LABELS) { menuLabel[selectedItemIndex].setColor(false); selectedItemIndex++; menuLabel[selectedItemIndex].setColor(true); } } void Menu::update() { [...] read more
I try to use LoadLibraryEx Function to load a xxx.dll. In ASP.NET CORE Web - MVC application. It can return a right value. But in a ASP.NET Web - Web API application. It return 0x00000000.But GetLastError() return 0. Here is my demo code CODE IN ASP.NET Web - Web API [...] 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 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'm using this code on an ESP32 to connect to my home WiFi network: #include <Arduino.h> #include <WiFi.h> char text[80]; uint8_t connectTCP(void) { char ctr = 0; const char *ssid= "*********"; const char *pwd = "*********"; WiFi.begin(ssid, pwd); Serial.print("Connecting to WiFi: ***"); // Wait for connection or time-out in 5 [...] 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
Before open this question, I was looking at similar question, but its answer does not work in this case. After I start the process, I want to delete script folder, but I cannot. My code: from subprocess import Popen DETACHED_PROCESS = 0x00000008 CREATE_NEW_PROCESS_GROUP = 0x00000200 app = r"C:\Windows\notepad.exe" Popen(app, creationflags=DETACHED_PROCESS [...] 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
Recently, I tried making a new Key logger and I used this piece of code to run it as background process: DETACHED_PROCESS = 0x00000008 pid = subprocess.Popen([sys.executable, "KeyLogger.py"], creationflags=DETACHED_PROCESS).pid My code works properly when I run this as a python file, but when I convert it to a .exe file [...] 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
I am getting an int from a data source that serves as a flag. Example: private static final int EMPLOYEE = 0x00000001; private static final int IT = 0x00000002; private static final int MARKETING = 0x00000004; private static final int DATA = 0x00000008; private static final int DBAs = IT [...] read more
I try to create new ID3D11Texture2D for map it to DXGI_MAPPED_RECT further. I receive some ID3D11Texture2D that I have no power on (can not change way of creation of). Here is the part of the code: CComPtr<IDXGIResource> cpDXGIResource; RET_HR_NULL(_pTexIn->QueryInterface(__uuidof(IDXGIResource), (void**)&cpDXGIResource), cpDXGIResource); HANDLE sharedHandle; cpDXGIResource->GetSharedHandle(&sharedHandle); CComPtr<ID3D11Texture2D> cpTexIn; cpD3D11Device->OpenSharedResource(sharedHandle, __uuidof(ID3D11Resource), (void**)(&cpTexIn)); D3D11_TEXTURE2D_DESC [...] 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 am having some difficulty porting the following MIPS32 assembly program to a 64-bit equivalent. The main issue that I am facing is the following line: bgtz $s2, loop ; Branch from "loop" on "$s2" greater than zero. I am not sure why this line causes an error? The instruction [...] 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
It is sort of trivial issue, but it is still taking my tame for the last several days. I am trying to get the user input and wait until the user enters the value, but my program doesn't do it. I would be grateful, if someone could help me out [...] read more
The program crashes after 30-45 minutes of operation with the following message: Exception Thrown at 0xFCA6551 (mfc140d.dll) in WinPDM.exe: 0xC0000005: Access Violation reading location 0x00000008. The exception occurs when running in both debug mode and from a release build in Visual Studio 2017. The program suddenly shows errors in rendering [...] 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 write code for the ESP32 chip where it takes in readings from a DHT22 sensor, packages it into a json file, and then sends it to a Flask server. Everything works just fine up until I try to POST, where I get the following error: Guru [...] 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
I would like to retrieve my appstoreconnect.apple.com username and password from macOS Keychain, to write a script with those credentials afterwards. When I type security find-internet-password -s "appstoreconnect.apple.com" -g i get keychain: "/Users/me/Library/Keychains/login.keychain-db" version: 512 class: "inet" attributes: 0x00000007 <blob>="appstoreconnect.apple.com" 0x00000008 <blob>=<NULL> "acct"<blob>="my-username" "atyp"<blob>="dflt" "cdat"<timedate>=0x32303230303731363133343131315A00 "20200716134111Z\000" "crtr"<uint32>=<NULL> "cusi"<sint32>=<NULL> "desc"<blob>=<NULL> "icmt"<blob>=<NULL> [...] read more
I am working on a laravel project and after taking clone of files from Github. When Running Composer update command bellow error is coming VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command. VirtualAlloc() failed: [0x00000008] Not enough memory resources are available to process this command. [...] read more