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 started writing a debugger in C#, to debug any process on my operating system. For now, it only can handle breakpoints (HW, SW, and Memory), but now I wanted to show the opcode of the process. My first attempt was with nidsasm (NASM), but this is not suitable, because [...] read more
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'm making a Rebar wrapper for .NET. Here's how I've made my control. public class Rebar : Control { public Rebar() : base() { //Control won't even work if I let UserPaint enabled SetStyle(ControlStyles.UserPaint, false); } protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ClassName = "ReBarWindow32"; [...] read more
I am unable to connect USART_1 with bluetooth hc-05. The Microcontroller is STM32F103RB. Here's the code (I am not using any library) #define APB2_FREQ 72000000 void USART1_Send(char* data) { unsigned int length = 0; while(data[length] != '\0') ++length; int i = 0; while(i < length) { while((USART1_SR & 0x00000080) == [...] read more
I posted this question, asking how to get the CPU and GPU temp on Windows 10: Get CPU and GPU Temp using Python Windows. For that question, I didn't include the restriction (at least when I first posted the answer, and for quite a bit after that) for no admin [...] 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 having problems debugging a multi-threaded C++ application on an ARMv7 targets. The issue shows up on two different ARM targets, and I use different toolchains for them: Backtrace stopped: previous frame identical to this frame (corrupt stack?) I've checked some threads, but (due to having the same issue [...] read more
I have been getting a sizeable number of BADREQ entries in my HAProxy log (10+ per minute). Example: > Oct 1 19:46:00 LB haproxy[19022]: 69.171.251.8:57356 > [01/Oct/2018:19:46:00.903] sitename sitename/ -1/-1/-1/-1/5 400 187 - - PRNN > 19/19/0/0/5 0/0 "" Almost all of them seem to be coming from Facebook's crawler. [...] read more
One of "my" DL165 G7 Proliants has rebooted out of the blue for the second time this month. The reboot was accompanied by these system event log entries in LightsOut: Event Type Date Time Source Description Direction OEM -- -- -- 00 00 00 00 01 02 00 00 00 [...] read more
I am installing the I2CTools USB-to-I2C Elite driver for Win 10 x64, but I got a dialog saying ”Jungo Connectivity: a digitally signed driver is required.” In device manager the two drivers JungoConnectivity WinDriver1251 and USB-to-I2C Elite drivers are marked with yellow triangles and Details says: Not digitally signed. I [...] read more
System description: CentOS 7. SuperMicro X9DRW-iF board. Latest BIOS (and SCU option ROM), using SCU option ROM. Four 300GB WD HDDs connected to the board's SCU. Six HDDs connected to the six individual SATA ports. Normal software running for our business. I set up this system and twice in two [...] read more
I need to check whether a file (on a remote server via UNC path) exists or not (permission is not a problem here; I make a required impersonation etc.). I use CreateFileW function for creating file handle. I've also tried GetFileAttributesEx but the behavior is the same. HANDLE CreateFileW( LPCWSTR [...] read more
I am working on lpc2468 ARM-based microcontroller. I am not able to configure the UART1 of the controller. Previously I was using UART0 for the same purpose, but due to some changes in hardware now I have to use UART1. I want to connect GPRS module (SIMCOM 300) to the [...] read more
I know this is a well known issue, but I've tried everything I can find online and I still can't get 1607 or 1703 to deploy to my Windows 10 clients using WSUS on Server 2012 R2. Originally I synchronised WSUS without installing KB3159706 which meant that none of my [...] read more
I have an ARM binary of which I need to find exactly at which addresses its function's prologues end and the epilogues begin. In other words, I need the boundaries of the function bodies. For instance, if I have a function whose assembly is something like: 0x00000320 <+0>: push {r7, [...] read more
I have been trying all day to fix a segmentation fault that only occurs on one device. But from the beginning... #include <string.h> #include <stdio.h> #include <stdlib.h> #include "pthread.h" void* start_rtn(void* param); int main(int argc, char **argv) { printf("Hallo World\n"); pthread_t tid; int err = pthread_create(&tid, NULL, start_rtn, NULL); pthread_join(tid, [...] 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 have a program which reads 200byte packets from a queue and writes them to a series of two minute files. Data arrives at 6MB/s which equates to 30,000 calls to fwrite() per second. Once in a while the queue would overflow because fclose() would take 10-30 seconds to close [...] 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 have a C# application handling touch by hooking to the Windows API message loop and listening to WM_TOUCH event. It work perfectly except when the screen is disconnected or switch off. Windows OS still has touch but the application don't receive touch event anymore. Here the code used. On [...] read more
Im currently learning to build my own bootloader. I was able to setup a gdt and get into protected mode. But when i tried to move 0x18 (third segment in gdt) into ds most of my registers are destroyed and eip gets something random Code that causes error: (im already [...] read more
I have a header file (not written by me, which I cannot change) which contains definitions in the following format: #define SPC_TMASK0_NONE 0x00000000 #define SPC_TMASK0_CH0 0x00000001 #define SPC_TMASK0_CH1 0x00000002 #define SPC_TMASK0_CH2 0x00000004 #define SPC_TMASK0_CH3 0x00000008 #define SPC_TMASK0_CH4 0x00000010 #define SPC_TMASK0_CH5 0x00000020 #define SPC_TMASK0_CH6 0x00000040 #define SPC_TMASK0_CH7 0x00000080 #define SPC_TMASK0_CH8 0x00000100 [...] read more
I am trying to get file owner using GetSecurityInfo, but get GetSecurityInfo is always returning 5, "ACCESS DENIED" even if I have access to get ownership of the file. The .NET method "GetOwner" works, but I need long filename support, and am restricted from using .NET 4.6.2 or 3rd party [...] read more
I have a multi-threaded process for which I wanted to generate core dump. gcore ran, gdb started, the process went to "t" state according to ps. However, it got stuck there. As it was already being traced, I could not attach another gdb session to see what was going on. [...] read more
enter image description here [https://i.stack.imgur.com/cPcQv.png] It always fails at exactly at "Status: Preparing to install - 80%". I have tried everything I could possibly think of: DISM.exe /Online /Cleanup-image /Scanhealth sfc /scannow Removing c:\Windows\SoftwareDistribution (https://community.spiceworks.com/topic/2223969-1809-update-error-at-install-0x80070490?page=1#entry-8486582) or "Windows Repair" (https://www.tweaking.com/content/page/windows_repair_all_in_one.html). The WindowsUpdate.log I get with Get-WindowsUpdateLog doesn't contain anything useful either. [...] read more
I've recently started experiencing some issues with a couple of workstations on my network getting the above-mentioned errors when trying to check for and download updates for Windows 7 (x64). Sometimes I get the 8024402F error, and sometimes I get the 80072EFE error. I've attempted to resolve the problem myself [...] read more
I previously had a working RAID 1 array. I think as a result of running grub-install /dev/sdb and grub-install /dev/sdc I somehow wiped my computer of md0 and md1. I need to set them up again. When I try to create the md0 array, I am getting the following error. [...] read more
The issue we are seeing is that some of our NFS mounted directories are disappearing. Literally just disappearing. They continue to exist at the server end. At the client (CentOS 7.4, using el-repo's kernel-ml at version 4.16.6, nfs-utils-1:1.3.0-0.48.el7) end the drive is non-responsive. Calls to ls /mountpoint just hang. The [...] read more
I've installed WSUS on a Windows server 2012 R2 and configured the workstations and clients via Group Policy to install updates automatically from WSUS. The servers are detected by WSUS and report to the WSUS server. In the WSUS server I can see that the server is missing 53 updates. [...] 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
In Visual Studio, you can customize the font and color of any display items such as C++ keywords, C++ parameters, C++ local variables, function names, macros, etc. You can do so through selecting the menu "Tools -> Options -> Fonts and Colors". In the setting dialog, I am confused by [...] read more
I'm trying to convert unsigned integer values to ones represented as 4 7-bit bytes; the goal is to send data using Roland's address-mapped MIDI System Exclusive protocol, which represents address and size values like so: MSB LSB --------- --------- --------- --------- 0aaa aaaa 0bbb bbbb 0ccc cccc 0ddd dddd I [...] 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 am doing the same thing that this => Show a Form without stealing focus? I'm using a Form to show notifications (it appears at the bottom right of the screen), but when I show this form it steals the focus from my software and computer. Is there a way [...] read more
I did a test and able to make button with icon using Cheat Engine Lua script + winapi. But I fail to find how to handle the events for the buttons created using winapi. Below is the code I am used via Cheat Engine Lua scripting including winapi functions called [...] read more
I'm implementing variable lenght encoding and reading wikipedia about it. Here is what I found: 0x00000080 0x81 0x00 It mean 0x80 int is encoded as 0x81 0x00 2 bytes. That what I cannot understand. Okay, following the algorithm listed there we have. 1. Binary 0x80: 00000000 00000000 00000000 10000000 2. [...] read more
I am invoking the win32 API function GetMenuItemInfoW. When I invoke the function I it returns false, and Native.getLastError() returns 87: ERROR_INVALID_PARAMETER 87 (0x57) The parameter is incorrect. I think that my error is in my implementation of the structure MenuItemInfoW: @Structure.FieldOrder({"cbSize", "fMask", "fType", "fState", "wId", "hSubMenu", "hBmpChecked", "hBmpUnchecked", "dwItemData", [...] read more
I have an autoit script that I run several times through the day to back up my user's documents to a secure server. Recently, I have found that many of my users have not had important documents backed-up as they have left the file open in word/pdf etc... I have [...] read more
I was trying to extract tables from a PDF file with Camelot. Here is my code: import camelot tables = camelot.read_pdf('foo.pdf') print(tables) and I am getting the error while running this script as follows: File "C:/Users/gibin/PycharmProjects/ML/Table_Tester.py", line 20, in <module> table=tables = camelot.read_pdf(r"C:\Users\gibin\PycharmProjects\ML\Doc_downloader\GWC_Docs\781313686.pdf") File "C:\Users\gibin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\camelot\io.py", line 117, in read_pdf **kwargs [...] read more
I've wrote to file some assembly instructions and I would like to make them executable. However, I'm messing up something with the program headers. I've read the whole man page about the ELF header, but I didn't understand much. #include <elf.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> void MakeExecutable(char *codeBuffer, [...] 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 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
All, I run a java application container with resource limit, as lots of oom kill events happen every 2 or 3 minutes, then execute ps aux, the command hangs. this problem is easy to reproduced when run docker instance with kubernete, and khugepage was already set disabled. Would anyone can [...] 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 am using 16bit microcontroller which uses gcc4.5 compiler, 32kbyte flash/1kbyte ram. compiling is fine without error, memory is reaching to it's limit but it has some vacancy on both flash/ram and works just fine However, when i define static array without initialization it causes system to die. I cannot [...] read more
Just starting out with boost test framework. Using Ubuntu + gcc (running on Windows through the new thing if that matters). When I run my tests, I get this: unknown location(0): fatal error: in "PhraseListTest/everythingEqual8": signal: SIGSEGV, si_code: 0 (memory access violation at address: 0x00000080) /mnt/c/projects/matching/matching-native/src/test/cpp/phrase_list_test.cpp(70): last checkpoint *** 1 [...] read more
I'm working on converting what was originally a web forms .NET application to UWP. The application is for using company-issued badges to record meeting attendance instead of our current paper sign in sheets. The original program uses an Omnikey 5427 CK in keyboard wedge mode and has no problems. For [...] read more
I would like to write an integer(just one value, it can be also other type) to a specific register (for example: 0x60006666) on a Linux machine using the ARM platform. There are many examples using the mmap(2), but it is not clear how to write just one value to a [...] read more
I have some code which retrieves the 128bit NTFS Ids from files at specific paths. Then I attempted to retrieve the file path using this ID. The code works as long as when retrieving the paths I run as admin. This is not going to be possible in production. Unfortunately [...] read more
This question may have been asked, but I've got a toy program that exemplifies the issue fairly well. SYNOPSIS When compiling with gcc -g using gcc 4.9, the debug symbols included, especially for externally declared global variables, is at an expected and familiar amount. When switching to gcc 6.3, the [...] read more
The legacy interrupt assignment for a PCI interface is receiving interrupt 0. We are evaluating the Xilinx Zynq UltraScale+ MPSoC ZCU102 Evaluation Kit. We have a PMC interface that is on a PCI-e carrier inserted into the PCI-e slot on the board. When the driver is loaded the interrupt for [...] read more
So I have a small C# app that has a host and a password and wants to connect to that host, which is running out of the box Windows 10. The problem is that I get a dialog saying the > host requires a password. Previously connecting to Windows 7 [...] read more
Using Visual Studio 2015 I've recorded a web test which includes uploading a file to the website. This site doesn't allow to upload files with the same name. In webtest scenario I have a File Upload Parameter with the property Generate Unique Name set to True: enter image description here [...] read more
I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
I've copied the following class from stack overflow. /// <inheritdoc /> /// <summary> /// Provides access to a network share. /// </summary> public class NetworkShareAccesser : IDisposable { private string _remoteUncName; private string _remoteComputerName; public string RemoteComputerName { get { return _remoteComputerName; } set { _remoteComputerName = value; _remoteUncName = [...] read more
Does anyone know how to play the sound through the speaker that we normally use during the phone conversation (not the loud speaker, but the ear speaker)? I have developed the app similar to Skype and my only problem is that when the sound is played through the loud speakers, [...] read more
During my Vagrant Up process, many tasks run in succession and all does work, however at the end I have a validation test that stalls. The only way I can end the stall is logging into the machine manually from another terminal vagrant ssh Here is what my syslog looks [...] read more
I'd like an ahk script to find and focus running windows across virtual desktops on Windows 10. I found one earlier but alas forgot where it's from, maybe someone here knows. I think it was to help with special keys shortcuts not working in VNC sessions (Win key, alt-tab for [...] read more
Windows Update is giving me this error: > We couldn't install updates because there's a problem with the date and time > information on your device. Make sure your date, time, and time zone settings > are correct and we'll try again later. My date and time settings are correct. [...] read more
I see error 0x80072ee2, and the following from windowsupdate.log 2014-09-27 02:26:45:866 480 69c AU Triggering AU detection through DetectNow API 2014-09-27 02:26:45:866 480 69c AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list 2014-09-27 02:26:45:866 480 69c AU Triggering Online detection (interactive) 2014-09-27 02:26:45:867 480 c30 [...] read more
I've got a WSUS 3SP2 with all patchs on Windows 2008 R2. It updates all servers. all works but servers 2012R2 on a remote site. All others Win2012R2 on other sites works. In the site which have issue, there's only 3 2012R2 servers. There are seen by WSUS console, and [...] read more
My server was working fine for 173 days then it started to happen. Upgrading CentOS 6.6 kernel to latest one didn't helped. Rebooting helps for about 10 minutes then it starts all over again. I'm running dedicated server Intel Core i7 980X, MSI X58-E Pro board, 2x Intel SSD 240 [...] 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
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'm trying to develop an upper filter driver for my camera. I'm having trouble involving the INF file for installation as it keeps failing. The driver is a UMDF 2 driver. I used devcon to install the driver in my system but it keeps failing with the log No matching [...] read more
I've checked out this USB Device Emulation (UDE) project : https://github.com/microsoft/UDE/tree/master/UDEMbimClientSample The project built properly the driver for x64 target in Release configuration under Visual Studio 19 Community : 1>------ Début de la régénération globale : Projet : hostude, Configuration : Release x64 ------ 2>------ Début de la régénération globale [...] 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 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 use Universal Dynamic Virtual Channel (UDVC): https://github.com/earthquake/UniversalDVC After setting up everything of UDVC correctly, the MSTSC Remote Desktop Connection of Windows can load the UDVC-Plugin.dll successfully after connecting to the machine. I create an C# Windows Form application with ActiveX Control AxMsRdpClient9NotSafeForScripting to remote a Windows Server 2016 machine. [...] read more
I have some hexadecimal numbers like this in a .txt file: 0x1, 0x2, 0x1e4b1, 0x5b, 0x80, 0x52, 0x111, 0x6b0d, 0x4e, 0x34a, 0x2067, 0x6ef3, 0x1cf, 0x1b, 0x15b, 0x4f, 0xba8, 0x319. What I am trying to do now is overwrite the contents (using code) of the file and make the end result [...] read more
What I'm trying to achieve is a Tkinter window, using overridedirect, that show up in your taskbar. You can minimize it like a normal window, and bring it back up like a normal window. The problem that I'm having right now is that I've achieved adding it to the taskbar, [...] read more
I have this code in this code I have do custom design but when I try to change the icon it is not changing import tkinter as tk import tkinter.ttk as ttk from ctypes import windll GWL_EXSTYLE=-20 WS_EX_APPWINDOW=0x00040000 WS_EX_TOOLWINDOW=0x00000080 def set_appwindow(root): hwnd = windll.user32.GetParent(root.winfo_id()) style = windll.user32.GetWindowLongW(hwnd, GWL_EXSTYLE) style = [...] 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 imported the symbol table file.txt of swift project, Why is it not as intuitive as Objective-C? # Symbols: # Address Size File Name 0x1000017E0 0x00000090 [ 2] ___sanitizer_cov_trace_pc_guard_init 0x100001870 0x00000070 [ 2] ___sanitizer_cov_trace_pc_guard 0x1000018E0 0x00000090 [ 2] _printC 0x100001970 0x0000001C [ 2] _sancov.module_ctor_trace_pc_guard 0x100001990 0x00000080 [ 3] +[TestOCViewController load] [...] 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
I know how to convert from two's complement to base 10 by hand. http://sandbox.mc.edu/~bennet/cs110/tc/tctod.html as shown by the link. You can tell if a number is negative or positive by the first bit, so my idea was since the number is 8 bit i would divide by 1000 0000 in [...] read more
I Am trying to replicate the RSA public key encryption a C# project is using with PHP I am using this code using C# and a public key. public static RSACryptoServiceProvider DecodeX509PublicKey(byte[] x509key) { byte[] SeqOID = { 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01 }; MemoryStream ms [...] 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
I'm trying get file type name (like Folder, bitmap image, Text file etc...) with c#. I dont want get from registry because of privilege reasons. I found this method from internet. It working well for get file icon (SHGFI_LARGEICON, SHGFI_SMALLICON) But This method always returning blank szTypeName. I've tried different [...] read more
There are some macro about nginx upstream and What is 'FT' means in these definitions? #define NGX_HTTP_UPSTREAM_FT_ERROR 0x00000002 #define NGX_HTTP_UPSTREAM_FT_TIMEOUT 0x00000004 #define NGX_HTTP_UPSTREAM_FT_INVALID_HEADER 0x00000008 #define NGX_HTTP_UPSTREAM_FT_HTTP_500 0x00000010 #define NGX_HTTP_UPSTREAM_FT_HTTP_502 0x00000020 #define NGX_HTTP_UPSTREAM_FT_HTTP_503 0x00000040 #define NGX_HTTP_UPSTREAM_FT_HTTP_504 0x00000080 #define NGX_HTTP_UPSTREAM_FT_HTTP_403 0x00000100 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000200 #define NGX_HTTP_UPSTREAM_FT_HTTP_429 0x00000400 #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000800 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK [...] read more
I have a .NET WinForms application written in C#. The application has two operational modes: * Regular GUI mode. * Possibility to execute calls with a CLI. When I run my application from a Cmd window, the output appears on screen, but the application does not close until I press [...] read more
I'm trying to create an OpenGL Overlay window (using C# and OpenTK). I've managed to get the transparency working using DWM BlurBehind with an invalid region> I then set the owner of the form to another process so it only overlays over the top of that. This is working great, [...] read more
I am using IVONA library to text-to-speech, everything works fine but I am facing one issue on keyboard space key press I need to speak the written word before space, this is also working fine when user type slowly, but when user type word fast at that time ivona crash [...] read more
I'm having a problem with loading printer dll. I have a dll file from the printer manufacturer (JniPrinterStatusLib.dll). I wrote code like printer manufacturer suggested. The code is: package com.printer.test public class JniPrinterStatus { static{ System.loadLibrary("JniPrinterStatusLib"); } public native int GetStatus(String printer); } package com.printer.test public class TestSample { public [...] read more
I have made a PE+ UEFI application in nasm and have been able to use EFI_BOOT_SERVICES to print text, to load the GOP, and when I call GetMemoryMap the return value is EFI_SUCCESS (0) and I can return safely to the EFI shell and I can reboot the (virtual) machine [...] read more
related to: Confusing ReturnLength from Windows GetLogicalProcessorInformationEx function I have read the documentation for GetLogicalProcessorInformationEx. It states > Buffer [out, optional] > > A pointer to a buffer that receives an array of > SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX structures. If the function fails, the > contents of this buffer are undefined. Nowhere is [...] read more
Does any people know what error message is this means? I unable to run the Google Calendar in my apps. I take the source code and put in my project it show this message. Source: How to integrate google calendar api in android application Sorry for if there was lack [...] read more
I am working on executing MIPS instructions by hand and I am not really understanding how it works. In the example given below, the contents in $t0 changes from 0x00001117 to 0x00000080. I do not understand why though. Any help would be great. lbu $t0, 5($s0) lbu (i-type, load byte [...] read more
I've managed to develop an AppBar which stays in top of the screen, and maximized windows don't overlap with it. Now, i want tohave the same behavior with applications running in fullscreen mode : for exemple if i run chrome or ie in fullscreen my appbar stays on top but [...] read more
I've created my own OpenGL context using native API calls and NativeWindow in C#. I based on WIN32 OpenGL examples and got this: public class OpenGLControl : System.Windows.Forms.NativeWindow{ private IntPtr HDC; //private Form Parent; #region Imports [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true, ExactSpelling = true)] static extern IntPtr GetDC(IntPtr [...] read more
this is quite a long post. I don't know very much about Android, but had to write an app. The app (handling a couple of intents and managing connectivity) runs smoothly and without problems. Now I have to add an UI. I tried to create an activity containing both some [...] 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 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 am trying to implement the SHA-1 algorithm in Java 11, and while testing the hashing algorithm I get different hashes than when hashing with the java.security implementation of SHA-1. The pseudocode I attempted to follow can be found on Wikipedia. public static byte[] hash(byte[] message) { int h0 = [...] read more