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've heard of Lucene.Net and I've heard of Apache Tika. The question is - how do I index these documents using C# vs Java? I think the issue is that there is no .Net equivalent of Tika which extracts relevant text from these document types. UPDATE - Feb 05 2011 [...] read more
I'm developing a daemon with no UI apart from a simple icon in the Windows systray. I would like to have no dependencies on any other package(s), so I'm trying to use the syscall package and implement the necessary call(s) by myself. DOCUMENTATION * After some research, I think that [...] read more
I am migrating a java application from protocol buffers 2 to protocol buffer 3. In proto 2 to check if a field is set you have hasfield() method for which an example Java code generated is: public boolean hasText() { return ((bitField0_ & 0x00000004) == 0x00000004); } However in proto [...] 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 certain [...] read more
We have a server on a cloud network, provided by a third party. We are running Ubuntu 10.04 Server Edition. The problem happens at seemingly random times, around one to three times a day. The load average in top usually sits around 2 and the server runs peachy, but at [...] read more
The official XCB documentation tells us that using OpenGL purely with XCB is impossible: one must also use Xlib. This post by Bart Massey (creator of XCB) doesn't suggest this should be impossible. But I'm sure I'm missing something. I've spent hours browsing xcb/glx.h, which is nicely organized here. It [...] read more
An application is generating a core file. Here is the core info. The error stack was obtained and the objective is to check the data content within the myStruct variable as this is what gets passed into myFunction when the core occurs. (gdb) where #0 0x000000000041bba1 in myFunction (myStruct=0x7ffff9dd0c20) at [...] read more
I just renamed my main user (belongs to administrators), and now many metro apps including the Store-App won't open. The outer border appears but then they crash and disappear. A second user that I created afterwards doesn't have this problem. So something is broken in my main user account. Those [...] read more
I'm using purely native NDK in my project (Native Activity). It works fine when I add Prebuilt static libraries with my .so in Android.mk file. But when I try linking Prebuilt shared library, it shows the below exception: 03-27 16:42:09.982: E/AndroidRuntime(1275): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.irrlicht.example/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to [...] read more
How can I detect when a process that I'm not controlling is flashing due to some notification in it. I've seen only solutions that focus on an application that you have control over. In my case, there might be multiple instances of said process active at once and just one [...] read more
Windows With Raku/Perl6, how do I use NativeCall to read the value of [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ "EnableLUA"] with RegQueryValueExW? https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regqueryvalueexw Many thanks, -T edit 12-27-2019 #1: removing bad code and inserting new code This is how far I have gotten. Test run string: K:\Windows\NtUtil>perl6 -I. -e "use WinMount :GetLUA; say GetLUA();" RegOpenKeyExW [...] read more
I know others have asked similar questions, but I haven’t seen a definitive answer, and I’m still stuck. I’m trying to write a Swift function that takes a hardware-generated keyboard scan code, such as from an NSEvent, and returns the alpha-caps-locked name of the key, for the particular key arrangement [...] read more
I have a 4G wwan modem (Fibocom L850GL) with a valid SIM card on a Debian PC. I have modem-manager-gui and I can send SMS with it. modem manager gui help send SMS from linux with a GUI [https://i.stack.imgur.com/Rgfy6.png] How can I do the same from the command line? I [...] read more
fwrite an integer depends on endianness, but is there a way to write an integer 0x00000004 to a file such that it can be fread always as 0x00000004 regardless of machine it's run on. * One thought is to write the first bit, then second, then third always in a [...] read more
Apparently out of the blue, I have started to experience random crashes on my Mac Pro 4.1, flashed to 5.1. It's running High Sierra 10.13.6 (17G9016), with 48Gb of Ram and two cards (one GT120 and a flashed MacVidCard Titan X Pascal). It is a soft crash in the sense [...] read more
Me and my team are having an issue with Visual Studio displaying gibberish instead of proper string contents when I pause my program. The string inside has correct data, it's just that the debugger of VS gets lost somehow. I marked the correct contents in green, incorrect in red. std::string [...] read more
After receiving some updates from windows, right when i'm clicking one of the Start Menu, Action Center, Volume , Battery, LAN Button in the taskbar here is the log that i receive from event viewer. Event Viewer > Windows Log > Application Event ID 1000 (Application Error) > Faulting application [...] read more
I tried to upgrade a Windows 7 Enterprise to Windows 8 Enterprise, however it fails a quarter of the way through the initialization process. Could this have something to do with the Assembly cache? This is the error: Error MigGather caught exception: Win32Exception: Falscher Parameter. [0x80070057] void __cdecl Mig::CGACRootEnum::Reset(void) Error [...] read more
One of my server (Ubuntu 12.04, 16CPU, 32GB RAM) runs the app section of my website (Nginx 1.1.19, PHP5-FPM, Php 5.3.10, Symfony2 Web Framework) Suddenly, users started getting HTTP 5** Errors. When I went on the server, there was huge disk IO and the culprit was [flush]. When I went [...] read more
I have a server with a RAID controller which connects to a JBOD over SAS. JBOD is populated with 16 SAS-HDDs of 3TB (8 of one make and 8 of other, same rpm). I have configured 3 logical drives with RAID-5, each having 5 physical HDDs (+1 as hot-spare). Now [...] read more
I'm building a watchOS app that needs to periodically request information from a companion iPhone app to refresh a complication. To achieve this, I have a WKApplicationRefreshBackgroundTask that runs periodically. It uses sendMessage(_:replyHandler:errorHandler:) from WatchConnectivity to request the information from the iPhone app, process the reply, and update the complication. [...] read more
I try so hard to catch from legacy code access violation keep getting : First-chance exception at 0x57e77e1c in YouTubeLocal.exe: 0xC0000005: Access violation reading location 0x0000000c. My stack looks like this: Qt5Guid.dll!57e77e1c() [Frames below may be incorrect and/or missing, no symbols loaded for Qt5Guid.dll] Qt5Guid.dll!57e75604() Qt5Guid.dll!57ed520b() Qt5Guid.dll!57dcf18b() > msvcr100d.dll!_unlock(int locknum=0x00000004) [...] read more
My Food & Drink app that came pre-installed on my Windows 8.1 PC keeps crashing to the start screen immediately after opening. Other Bing-based apps work fine. I've taken several steps to try to fix this, but to no avail. I know there're about three duplicates of this, but none [...] read more
I cant open Safari anymore! :( Every time I try it opens a window with this message instead: Process: Safari [336] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 8.0.2 (10600.2.5) Build Info: WebBrowser-7600002005000000~1 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Safari [336] User ID: 501 Date/Time: 2014-12-22 22:12:30.768 +0200 OS [...] read more
When I open some apps from the Start Screen in Windows 8.1, it just closes right away and brings me back to Start. It won't show me why it closed at all, but I looked in Event Viewer and it says in the description of the event: Activation of app [...] read more
I have a Solaris 10 server which is reporting that a file system is filling up: # df -h /opt/CSCObac/var Filesystem size used avail capacity Mounted on /dev/vx/dsk/RDU-VAR-DG/RDU-VAR-VOL # df -F vxfs /opt/CSCObac/var/ /opt/CSCObac/var (/dev/vx/dsk/RDU-VAR-DG/RDU-VAR-VOL): 4469796 blocks 558723 files # df -h | fgrep '/opt/' /dev/vx/dsk/RDU-APP-DG/RDU-APP-VOL 68G 547M 63G 1% [...] 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 have an embedded ARM system with processor AT91SAM9G45. I try to build linux kernel with initramfs for this system. Kernel version is 4.14.79. After loading kernel and initramfs image at device I have following: 1. Kernel definitely finds out initramfs image, unpacks it and sets it into memory. 2. [...] 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'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
While trying to figure out how to integrate the gym interface, I'm trying to get an extern robot python controller running from console. I have follwed the offical guide and my (macOS) env vars set accordingly. When I try to run the controller by typing: python (path to controller.py) I [...] 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 am working on some Tensilica processor and I don't understand the normalization process. NSA - Normalized Shift Amount Usage: NSA at, as NSA calculates the left shift amount that will normalize the twos complement contents of address register as and writes this amount (in the range 0 to 31) [...] read more
Recently, I've been learning machine learning models and neural nets on my iMac. However, now whenever I start a more intensive application (e.g. iTunes or JetBrains' PyCharm), I get the following error message, > [Application] quit unexpectedly Did I cook my CPU or RAM, or is this a "solvable problem"? [...] read more
I have a custom layout installed (svdvorak_mac6.keylayout). After a reboot another keyboard layout was selected, so I selected my usual one instead. This lead to a lot of apps suddenly starting to crash (Chrome, Skype, Adium etc). I can change to any other built in layout for OS X, but [...] read more
I have a recurring issues with NetworkManager and its dependent components that always fail when I don't have time to debug or fix the issue. I'm trying to figure-out how I can aggressively restart and unload / load both the kernel modules to restart NetworkManager. Think of it as soft [...] read more
I've installed LibUSB, a software that modifies your USB driver so that programs can access it easily. I didn't know that in Windows 7 you have to run it in compatibility mode for Windows XP, so now my Windows 7 can't access any USB port (including keyboard and mouse). Now [...] read more
I am trying to establish a trust between FreeIPA and Active Directory. Details on the infrastructure: * 3 x IPA Servers all with replication between eachother (CentOS 7) * 3 x Domain Controllers for AD (Windows Server 2016) When attempting to run the following command: ipa trust-add --type=ad ad.example.net --admin [...] read more
I get an error after following this guide: https://computingforgeeks.com/how-to-install-ms-sql-on-ubuntu-18-04-lts/ and running the configuration command. I've searched for a couple hours trying to find the specific issue I have but I can't seem to find anything. I believe it's something to do with me running Ubuntu 18.10 because installing mssql inside [...] read more
my Ubuntu Server installation is broken, so I grabbed a Ubuntu Desktop CD, mounted my Ubuntu installtion on my hard disk and chrooted into it. But now my IO performance is really bad: # time dd if=/dev/zero of=/tmp/foo count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, [...] read more
I'm executing below command for getting Device ID from BMC but I got error Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x1) ipmitool -I lanplus -H 192.168.0.147 -U root -P root raw 0x06 0x01 Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x1) I have give verbose option to [...] read more
I am very much new in delphi. Presently I am facing a problem. i want to convert nested object into Json using TJson, but having memory related issue. Here is my code. It is just simple unit file with Person and Address class. The person class is depended on the [...] read more
I'm writing a Splay Tree implementation. Code compiles just fine in VS, but the testing system fails with DEADLYSIGNAL. The specific input for testing is: search 66 min max set 1 20 print Here is the full code: #include <iostream> #include <sstream> #include <stack> #include <queue> #include <cmath> struct Node [...] read more
I need to use the simulator and for a start I wanted to do something real simple: Step thru the first few instructions of my startup code. Here it is: Reset_Handler: movs r1, #0 b LoopCopyDataInit CopyDataInit: ldr r3, =_sidata ldr r3, [r3, r1] str r3, [r0, r1] adds r1, [...] read more
I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] 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 need all items from Windows Explorer Shell Menu. I am implementing with jna the IShellFolder COM object interface. But now I have a problem with implementation the interface IContextMenu for query the context menu. When I invoke the QueryContextMenu function the result of HResult is 0 like true, but [...] read more
I wrote a riscv emulator that loads riscv .elf files compiled with riscv64 unknown elf toolchain compiled with newlib support and c++ support. It is able to run programs that don't use any c/c++ stl functions. However I would like to be able to use stl functions like printf, cout, [...] 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
Since yesterday all my IntelliJ applications quit running due to a JVM fatal error. This it the error I get everytime: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xa7b55215, pid=23009, tid=0x7fa5db40 # # JRE version: OpenJDK Runtime Environment (8.0_121-b13) [...] 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
My users are saying my app is crashing on iPhone 5. I tested it on simulator but there was no problem. But i am getting weird crash reports from iPhone 5 only. I guess the problem is real but i could not see any useful information from these crash reports. [...] read more
I am currently using OpenOCD to debug Cortex-M33 processor. However, after it connects to gdb and starts debugging, it shows the following message: Try to search windows process Found openocd running, Kill it SUCCESS: The process "openocd.exe" with PID 18768 has been terminated. Open On-Chip Debugger 0.10.0 Licensed under GNU [...] read more
I have a java XPages domino application that's running on my server and serves as an API for handling the Rooms & Resoruces database remotely (the main role is obtaining reservations for a set of rooms and updating it periodically). Everything was fine when testing, but once I put the [...] read more
I've been using gstreamer for a while - I am impressed how well it works. But recently a requirement has surfaced to examine a content of RTSP requests and responses. I was thinking that I could use handle-request callback feature of rtspclientsink - correct me if I am wrong. But [...] read more
I've installed and executed (with nodejs) a package from npm: https://www.npmjs.com/package/openssl.js Somehow I didn't realize that it hasn't a good reputation (almost no activity/stars on twitter, github). Now I'm afraid that it is a scam. The worst case would be that is stealing/encrypting my data or something like that. I've [...] read more
I'm currently trying to enumerate all the modules of a supsended 32-bits process I've previously created from my 32-bits program, my Windows is 64-bits. (I've already read all the other topics on that problem). Here is the code: let a = CreateProcessA( "C:\\Program Files (x86)\\GlassWire\\GlassWire.exe\0".as_ptr(), null_mut(), null_mut(), null_mut(), false, 0x00000004, [...] 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 have started to write a library for reading FDT (DTB) format files, but run into a problem with a test DTB file. The DTB file is form a board (Digilent ZYBO-Z7) which I own. I compiled the source device-trees from the actual Linux Kernel. There are two property names [...] 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 would like to start my app without any problem. Currently, when I press on my app, it instantly popout 'Unfortunately, MyGame has stopped' without even going into the app. PS: I'm using Android Studio Virtual Machine with Android 4.2 armeabi-v7a. These are the crash log. > 02-11 11:38:56.709: D/AudioHardware(92): [...] read more
I'm trying to run the app "Hay day" in Genymotion. I used this guide to install the play store. Then, I installed hay day from the play store. I did not make any other changes to the virtual system. When I tap/click the hay day icon, the screen orientation changes [...] read more
Using x64 Windows 10 (build 17763.1098). Whenever the computer starts up, quickly load Task Manager and Microsoft Sync Center (Mobsync.exe) briefly runs before shutting down. Is there any way to stop this altogether? All of the following are done and confirmed: * HKLM\SYSTEM\CurrentControlSet\Services\CscService\Start is 0x00000004 * HKLM\SYSTEM\CurrentControlSet\Services\CSC\Start is 0x00000004 * [...] read more
Windows 10 Desktop 10586.420, please watch my screen record https://youtu.be/tZrGTll9muY These 7 Microsoft apps are stuck in my store update list for ever, all of them had exact the same error code in the end 0x80073CF6. The rest of apps have no problem at all. What is even worse is [...] read more
Please explain what the Error with OS X 10.10.2 and MacWinDjVu (does not open any more) is and how to solve it. I use DjVu regularly, and until today I did not have any problem. I just turned on my MacBook Pro, tried to open a .djvu file and this [...] read more
It's now 4days, I keep getting this Error from Start up. Am using windows8.1, since about a year now, first time I get any Error. I can't tell what really caused it, I am a Web/Desktop programmer and for the past 1 month, I haven't done any Desktop programming or [...] read more
I added another drive to my RAID 5 and migrated it to a RAID 6. Everything went fine, but now the process seems to be stuck at 63.2% and md2_raid6 takes 99.9 of the CPU. RAID Details: > /dev/md/2: Version : 1.2 Creation Time : Thu Jan 16 21:17:54 2014 [...] read more
Running * Windows XP SP3 * IIS 5.1 I get this error when I boot my PC. Application popup: inetinfo.exe - Application Error : The instruction at "0x5aa3b134" referenced memory at "0x00000004". The memory could not be "read". when I try to navigate to a http://localhost/ I get this error [...] read more
I am using Fantacy Remote to remote view other machines. I have attached the default .INI file that Fantacy Remote uses. When i connect to a machine, the client user should not have mouse and keyboard access of the Remote machine. It should be a View only remote connection. And [...] read more
OVERVIEW After setting up OpenVPN, we are able to connect over SSH (e.g. to 10.8.0.9), but the SSH connection hangs/stalls, usually after about 2-minutes. The SSH connection is from Ubuntu 18 on WSL to Ubuntu 18 on Digital Ocean. WHAT HAVE WE TRIED? We have done the following on the [...] read more
I need to set up a route from our local network into our VPN. That is, anybody from inside the LAN should be able to communicate with machines in the VPN, without being a VPN client itself. Problem is, I'm somewhat of a dummy when it comes to networks... The [...] read more
I was having database issues whereby commits were not completing (PostgreSQL) and it seems to be related to these messages that are filling up my server log: Jan 30 02:29:45 server001 kernel: [3521062.240540] postgres D 0000000000000000 0 23220 8154 0x00000004 Jan 30 02:29:45 server001 kernel: [3521062.240550] ffff8800174c9d08 0000000000000082 ffff88041cd24728 0000000000015880 [...] read more
I'm trying to setup a simple ppp tunnel over ssh. It works on several machines just fine. But on one machine, pppd gets "stuck": > pgrep pppd | xargs ps up USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 4178 0.0 0.1 3020 1088 pts/1 Ds+ [...] read more
I am seeing the following messages in my server's /var/log/messages. They look like stack traces and are not preceded by any narrative (e.g. "such-and-such has gone wrong"). I am almost certain they are related to I/O problems I am experiencing, but it would be instructive to understand what exactly these [...] read more
Running * Windows XP SP3 * IIS 5.1 I get this error when I boot my PC. Application popup: inetinfo.exe - Application Error : The instruction at "0x5aa3b134" referenced memory at "0x00000004". The memory could not be "read". when I try to navigate to a http://localhost/ I get this error [...] read more
I am trying to build and load a shared library SO file and it was loading just fine. It fails to load when I added the below lines to create a map and it fails to load. It compiles and builds fine. I am using Eclipse & CDT. Edit 1: [...] read more
I 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
Code: try { SDL_SetColorKey(surfaces[folderCnt][surfacesCnt], SDL_TRUE, SDL_MapRGB(surfaces[folderCnt][surfacesCnt]->format, 255, 0, 255)); } catch (int err) { } Error: Exception thrown at 0x00476F1E in game1.exe: 0xC0000005: Access violation reading location 0x00000004. When surfacesCnt = 10 it throws the error. That is because there is no surface 10. I know that and I want [...] read more
I found that I needed to input 6 integers, and that the integers consist of 1 to 6. And I found the node1 ~ node5. But, this phase needs 6 nodes. So I looked for more, but instead of node 6, I found'host_table'. (gdb) x/3x 0x555555559230 0x555555559230 <node1>: 0x00000303 0x00000001 [...] read more
How do i apply/build listView filterbar with C# into vs2019 Need extended filter functionality listView-bar each column, as like using >,<,>=,=<, exist, between,,,.....etc. Filter with search and view Rows with filter condition. [ListView Column Filter button and field not working...] Please see images---link below... https://ibb.co/2sLVrpD https://ibb.co/hKdWRDn Thank you in advanced. [...] read more
As the tittle states I am trying to initialize PWM for PB4 on the TM4C123 microcontroller using Keil as the IDE. So far I have been able to initialize PB6 and PB7 but i'm not sure why PB4 isn't working. Do you guys know whats I'm doing wrong? Thanks in [...] read more
I am wrtiing a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array (address: 0xf0200000) based on what switches are clicked. Each time the switch value is read, the pattern should be displayed (regardless of whether the [...] read more
I'm using IBM-MQ, and I want to get the number of subscribers for a specific topic using PCFMessage MQQueueManager qmgr = null; PCFMessageAgent agent = null; Hashtable<String, Object> hashtable = new Hashtable<String,Object>(); hashtable.put(MQConstants.HOST_NAME_PROPERTY,"HOST NAME"); hashtable.put(MQConstants.PORT_PROPERTY,1414); hashtable.put(MQConstants.CHANNEL_PROPERTY,"CHANNEL NAME"); hashtable.put(MQConstants.USER_ID_PROPERTY, "USER_ID"); hashtable.put(MQConstants.PASSWORD_PROPERTY, "PASSWORD"); agent = new PCFMessageAgent(qmgr); PCFMessage request = new PCFMessage(MQConstants.MQCMD_INQUIRE_TOPIC_STATUS); [...] read more
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 am trying to launch an appcontainer using C# and pinvoke and getting hung up setting the security capabilities into the attribute list via UpdateProcThreadAttribute(). The GetLastError() returns > 87 - invalid parameter Similar c++ code from this article (github link at the bottom https://scorpiosoftware.net/2019/01/15/fun-with-appcontainers/) works well. Code: (pinvoke structs/enums/externs [...] read more
Pcap of kannel shows that it received the 4 TLV in deliver_sm, but when i want to fetch the same in dlr-url by using meta-data=%D I am not getting all 4 TLV Params. 1. I am hitting this curl URL : http://IP ADDRESS:PORT/cgi-bin/sendsms?username=dummy&password=dummy&to=91ext=This+is+a+test+message&dlr-mask=23&coding=0&dlr-url=http%3A%2F%2F10.0.6.100%3A9992%2Fdlrhandler%2Fdlrrequestlistener%3Fstatus%3D%25d%26msgdetail%3D%25A%26meta-data%3D%25D basically I am using %D to fetch [...] 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
Recently, I've started to learn SFML. The first thing I wanted to do was a simple menu - so I've created an interface for all menus, containing everything necessary for other menus in protected field. However, my code throws an exception at some point, and I have no idea, why. [...] 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 have an exe (C# application) which runs with a service account and tried to get the DSF link for a file share. Share exists and accessible. i have another similar exe running with the same service account and running fine where as my exe is not getting 2662 error. [...] read more
The Program works fine as a stand alone on CC2650 (M3). But it shall be used also as a firmware which is loaded over the radio channel. For this purpose the position independent code is needed. The problem is, all of the variables defined as described below are not set. [...] read more
Every time I submit an achievement to Game Center on macOS, using Mac Catalyst, my game crashes with this: -[GKAchievementInternal showBanner]: unrecognized selector sent to instance 0x600002616ca0 No call stack. I set a break point for all the Obj-C exceptions but it's just stopped in the AppDelegate. Everything is fine [...] read more
I am trying to use freeling to recognize and classify named entities in Spanish, I am testing with the analizer as I still don't understand how to use the Python API. So when using the analizer in a text it doesn't recognize or classify named entities or dates or anything [...] read more
Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
I am 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'm using Oboe library for a music android app developing in Qt. In my sound processing class which dervives from AudioStreamCallback I use the builder to create both a recording and playback stream and this works fine and I received AAUDIO_OK as a result for opening boths streams. I've registered [...] read more
Users complained that the application began to crash at startup. Users use ios 9.3 or 10.3. Application crashes due to an unknown error. This error is not reported in Crashlytics. I see an error in Xcode - Window - Organizer - Crashes, but there are no details: NO_CRASH_STACK + 0 [...] read more
I have made a Python file that contains a function which returns the Taylor series of the generating function of a recurrence relation. I want to run this function from a C++ program. Now the problem I am facing is that when I run the Python file from the C++ [...] read more
After getting grip over the various fault handlers in cortex m3 Now I'm studying reset sequence and reset handler. In normal case after power on reset. PC points to 0x00000000 where initial msp value is stored Then at 0x00000004 reset vector is kept Means after initializing msp reset handler is [...] read more
I am practicing recursion in assembly with the MIPS instruction set, but I always get a "bad address error" fibonacci: # PROLOGUE subu $sp, $sp, 8 sw $ra, 8($sp) sw $fp, 4($sp) addu $fp, $sp, 8 # BODY bgt $a0, 1, rec move $v0, $a0 j ret rec: subu $a0, [...] read more
I'm trying to run the c# watchdog windows service application from this stackoverflow thread The issue I'm having is that WtsApi32.WTSQueryUserToken is return false with the following message The operation completed successfully in this snippet of code: // Retrieve the active session ID and its related user token. var sessionId [...] read more
I am receiving some crash reports like that: enter image description here [https://i.stack.imgur.com/VznDc.png] I guess they are all coming from same user, because every crash report is coming from iphone 5. My other crash reports are symbolicating automatically but this one is not. Also i symbolicated manually but still getting [...] read more
I have problem with MSSQL Server installed on linux, core logs growing up quickly and i see some crash logs, db works fine - i can make queries but sometimes application cannot open connection. How to fix that? Its related with my distro? I use "Linux Mint 18.3" crash.json: { [...] read more
I have 3 Objects in game. Falling Ball, Upward moving Steps, Coins Now no problem with game play, I need steps and ball collision place to add sound effects.now onContactBegin fired twice for ball and steps collision. Once contact begin onContactBegin fired, also once it loose contact then onContactBegin fired [...] 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'm trying to construct one of my classes but i'm getting a xtree violation error. Here is how I am constructing my classes Game.h #pragma once #include "ImageService.h" class Game { private: IntroState introState; public: ImageService imageService; Game(); ~Game(); }; game.cpp Game::Game() : introState(imageService) { } This then goes to [...] read more
i am using an esp32 with the WiFiClientSecure library to make a GET request to my AWS api gateway url ( https://x.......g.execute-api.eu-west-1.amazonaws.com/v1/esp32). i am using an api gateway issued client certificate containing PEM-encoded public key. it fails connecting to server when using the settings (though it appears that the certificate [...] read more
I have code that is supposed to do a drag and drop with powershell that I don't understand why it's not working the way I'm hoping for it to work. Details below: function Mouse-signature-import(){ $global:signature=@' [DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)] public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long [...] read more
I receive this error when I try to call this function written in Delphi. But another code works fine. Maybe I'm not declaring the args ans result types? I am using 32Bit python 3.7). Related code snippets: Delphi: Test(deposit, MarginCall: double; CallBack: TProgrCallBackProc); stdcall; Python: self.FTCore = ctypes.WinDLL(self.FTCore_library_path) self.FTCore.Test.argtypes = [...] read more
I am trying to use a microphone sensor on my esp32 microcontroller. Currently, it is running the ESP-IDF framework. The microphone is the sph0645lm4h-b. I am using the I2S protocol to connect to the sensor. I2S config is shown below: void i2s_init() { i2s_config_t i2s_config = { .mode = I2S_MODE_MASTER [...] 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
Inside a member function of a template class, I need a compare that works for int, float and string. My solution is to let the member function (DFA::entry) use a selfmade comp function:(template < class T, class U> int comp(T s_one, U s_two)). The problem now is that after compiling, [...] read more
Problem: I need to install Qt Creator for my university course on my mac and it doesn't open. I've tried reinstalling different versions a lot of times but it gives me a Segmentation Fault everytime. Everything else is updated to the latest Version and i don't know what to try [...] read more
My question is about a special case for Bootloader sequence for The Discovery kit for STM32F0 series with STM32F072RBT6 MCU that we currently have implemented in some of our products in the field. I will use ST's own bootloader to update my firmware but I want to do this remotely [...] 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
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
I am using Arduino_STM32 rogerclark's library. https://github.com/rogerclarkmelbourne/Arduino_STM32 . Now I want to Develop an In Application Programming(IAP) like a bootloader. Take Code from SD card and Store in Controller flash at 0x8010000 and then jump to that location and run the loaded new application. the code took from SD and [...] 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'm trying to call a registered COM interface (Inproc dll) in an Eclipse C++ environment (MinGW GCC toolchain). I therefore don't believe that I can simply import the dll typelib the way I typically would in Visual C++. I'm trying to define the interface myself to simplify the function calls [...] read more
I code a C# Console application ,try get my headphone battery info class BluetoothAPIs class BluetoothAPIs { //https://docs.microsoft.com/zh-cn/windows/win32/api/bluetoothleapis/nf-bluetoothleapis-bluetoothgattgetservices [DllImport("BluetoothAPIs.dll", CharSet = CharSet.Auto, SetLastError = true)] public static extern int BluetoothGATTGetServices( IntPtr hDevice, UInt16 ServicesBufferCount, IntPtr ServicesBuffer, ref UInt16 ServicesBufferActual, UInt32 Flags ); //https://docs.microsoft.com/zh-cn/windows/win32/api/bthledef/ns-bthledef-bth_le_uuid [StructLayout(LayoutKind.Sequential)] public struct BTH_LE_UUID { public Boolean [...] 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 creating a small program which has a few functionalities to make my PC "feel better". One of those functionalities is emptying my recycle bin. I am using the following code for that: enum RecycleFlags : uint { SHERB_NOCONFIRMATION = 0x00000001, // No empty confirmation SHERB_NOPROGRESSUI = 0x00000002, // [...] read more
I've been trying to make a timer app. The user will input seconds and the seek bar moves in a decreasing manner. But as soon as I click on the button, the progress bar moves to the value, but the app crashes. I think the code is working fine till [...] read more