Windows error 0x00000003, 3

Detailed Error Information

PATH_NOT_FOUND[1]

MessageThe system cannot find the path specified.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070003.

INVALID_AFFINITY_SET[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x3: INVALID_AFFINITY_SET.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

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.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[3][1]
DescriptionThe default facility code.[3][1]
Error Code3 (0x0003)

Questions

34votes
4answers

Indexing .PDF, .XLS, .DOC, .PPT using Lucene.NET

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
.net
asp.net
lucene
solr
lucene.net
30votes
12answers

Why can't a Task Scheduler job access a mapped network drive?

I have a Task Scheduler job to run Robocopy for backing up local files to a network share. I have to use domain credentials to access the network share but the local computer is not on the domain, and the job is run as a local admin. This solution of [...] read more
windows-7
task-scheduler
robocopy
7votes
1answer

How to setup ARM interrupt vector table branches in C or inline assembly?

Can someone please show me an example of how to setup an ARM9 interrupt vector table using C or inline assembly in a bare-metal environment with no RTOS or Linux OS? Specifically how can I use inline assembly or C to set branches to my IRQ interrupt handler ISR coded [...] read more
embedded
arm
interrupt
bare-metal
6votes
2answers

Capturing audio data and save to raw PCM file in AudioFlinger

After some research, I find out this is possible to capture the audio data in libaudioflinger of Android. I think the audio data is being written to HAL in here: ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count); Full code: https://android.googlesource.com/platform/frameworks/av/+/lollipop-release/services/audioflinger/Threads.cpp#2118 So, I would like to save the mSinkBuffer + [...] read more
android
c++
audio
pcm
audioflinger
5votes
3answers

my java application exited suddenly because of a fatal error {EXCEPTION_UNCAUGHT_CXX_EXCEPTION }

I have developed a GUI java application. It has login page for user authentication. It use mysql as back-end. I have wrapped my application using Jar2Exe 1.0 (Regexlab.com) to a 32bit windows .exe file. not the problem is that when i run the application : * the database connection is [...] read more
java
mysql
5votes
2answers

Waste in memory allocation for local variables

This my program: void test_function(int a, int b, int c, int d){ int flag; char buffer[10]; flag = 31337; buffer[0] = 'A'; } int main() { test_function(1, 2, 3, 4); } I compile this program with the debug option: gcc -g my_program.c I use gdb and I disassemble the test_function [...] read more
c
assembly
x86
gdb
disassembly
5votes
4answers

gcc arm executable "no such file orr directory", wrong dynamic lib

I am trying to make a usable setup for gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 on windows. Something happens at dynamic link: $(CC)-gcc -o test main.c -Wall -lc The program compiles fine, but when deployed to ARM shows: "No such file or directory" Searching the issue, seems that static build works but executable is huge: [...] read more
gcc
4votes
1answer

How to send an SMS from Debian command line?

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
networking
debian
modem
wwan
4votes
1answer

Copy files/using apps on HD with no drive letter?

My phone path is Computer\Model-Number\Phone. I wanted to use a util like windirstat on it but it doesn't recognize the path since it doesn't have a drive letter (I assume). I tried copying all my files using explorer and it choked up during the calculating time phase. I tried robocopy [...] read more
android
usb-storage
window
phone
4votes
3answers

Windows 7 Upgrade keeps rolling back to Vista

I finally decided that I would update my desktop from Windows Vista SP2 64-bit to Windows 7 64-bit. So I got my Windows 7 Professional 64-bit DVD, popped it into my PC, and started up the installer and told it to upgrade. The installer told me that some things may [...] read more
windows-7
windows-vista
upgrade
4votes
2answers

Scheduled robocopy fails with error 3 (Creating Destination Directory)

Related: Scheduled Robocopy task fails with 0x10 error I'm using robocopy as part of a server backup script. It fetches the files to this workstation (Windows 7, upgraded from Vista - that caused some quirks before), and then copies them to a server in LAN (Windows Server 2000). robocopy H:\folder [...] read more
windows-7
network-share
windows-server-2000
robocopy
4votes
1answer

Visual Studio debugger doesn't display std::string properly in debug

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
c++
visual-studio-debugging
visual-studio-2019
stdstring
3votes
0answers

Old server accounts persist after migration to Windows Server 2019

I went through the process of migrating Active Directory 2012 R2 to Active Directory 2019. Minus a few firewall ports needing to be opened up, I was able to get through the process of promoting the new Windows Server 2019 machine and demoting the old Windows Server 2012 r2. After [...] read more
networking
active-directory
domain
windows-server-2019
3votes
1answer

Robocopy cannot find specific directory

I am migrating our file server from 2008 to 2012R2. Currently i am trying to copy all folders and files to our new server but the command isnt working correctly. Here is what i am using: robocopy G: D:\ /e /zb /COPY:DATSOU /r:3 /w:1 /v/ /eta /log+:C:\robocopy\copyreport.txt /tee /sec /tbd [...] read more
robocopy
3votes
8answers

SQL Server 08 Express error when connecting to localhost - "Timeout expired". Works with ::1 or 127.0.0.1

EDIT New info: Navigating to localhost:1434 in Chrome gives me an "ERR_EMPTY_RESPONSE", while other ports give me an "Oops! This link appears to be broken". So it seems to binding ok there? SO HERE'S MY SETUP SO FAR: * I've configured Windows Firewall to allow TCP on 1433 and UDP [...] read more
networking
sql-server
connection
localhost
windows
3votes
2answers

HP P410 ADU (hpacucli) generates empty report

I'm trying to monitor hard drive's smart status. I've tried smartctl tools and HP's own hpacucli to generate ADU report. However, neither of them are useful. smartctl does not show values like Power On Hours or Hard drive temperature. ADU report shows them empty. What's the right way to monitor [...] read more
raid
monitoring
hp
hardware-raid
hp-smart-array
3votes
2answers

Varnish does not start properly (crashes after startup) with no error messages

I am running Varnish (2.0.4 from the Ubuntu unstable apt repository, though I have also used the standard repository) in a test environment (Virtual Machines) on Ubuntu 9.10, soon to be 10.04. When I have a working configuration and the server starts successfully it seems like everything is fine, however [...] read more
reverse-proxy
varnish
3votes
2answers

how can i handle an invalid exception handler routine?

I'm building a program, that creates and deletes directories. I use the MSVC compiler (Visual Studio 2017), which is the reason i can't use "getcwd()" or "dirent.h" respectively. I have tried several different ways to get the current working directory, but there was always a problem. I managed to print [...] read more
c++
exception
visual-c++
3votes
1answer

How to use CloudHSM to implement mutual TLS ( client side ) in Ruby

I'm asking this question after reading all of CloudHSM topics on StackOverflow, Cryptography, Information Security and CloudHSM forum but couldn't find anything helpful. Any idea or code snippet is helpful. We have a Ruby application that is requesting to a web server via X.509 certificates and we should generate/host private [...] read more
ruby-on-rails
ruby
ssl
openssl
hsm
3votes
1answer

Using grub in floppy image file to start your own kernel inside bochs

Basically I've followed the instructions here http://sig9.com/bochs-grub to create a bare image file which does nothing but lets the BIOS start GRUB. The problems are: * The kernel I am writing will be 32-bit, using http://www.jamesmolloy.co.uk/tutorial_html/index.html for a start, but my host (physical) machine is x86_64 with bochs configured like [...] read more
assembly
x86
osdev
grub
bochs
3votes
0answers

How hook touch event globally and know X Y position of a touch?

Need pickup the position X Y of touch over the screen on Windows 10, outside of my wpf app. I read in some post can use RegisterPointerInputTarget I try redirect all touch to my app. Is supposed use RegisterPointerInputTarget should so easy as the code I show, bu not work [...] read more
c#
wpf
touch
2votes
1answer

How to fix failing cumulative update on Windows 10 Pro (1909) upgraded from Windows 7 SP1

I am seeing error 0x80070003 in CBS.log after consistently failing to install the cumulative update for February 2020 (KB4532693). The logged error is always: 2020-03-06 21:29:44, Error CBS Shtd: Failed while processing non-critical driver operations queue. [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND] ... where ERROR_PATH_NOT_FOUND is the corresponding Win32 error code [...] read more
windows-10
windows-update
windows-10-v1909
2votes
0answers

Custom Java app, does not show startup splash screen on some devices?

I have a Java app, called Infra12. It is not for sale so wont be in common use. It is designed to interrogate industrial equipment, but the supplier of the software has gone into administration, and they only supplied it to customers who bought industrial equipment from them - one [...] read more
windows-10
java
dll
c
2votes
2answers

Windows 7 BSOD on hibernate

Sometimes I experience a BSOD when my laptop goes to hibernate. It happens all the way on the end of the hibernation cycle, so the laptop is actually off, harddisk spins down, lights and screen are out, but then after a few seconds I get a BSOD. Trouble is that [...] read more
windows
bsod
minidumps
2votes
1answer

A Windows Filtering Platform filter has been changed - File and Printer Sharing

My Windows 2008 R2 server gets hammered tons of login attempts. I guess somebody is running a Brute Force attack. Funny enough our MySQL configuration file got deleted last night, so they must have gotten in somehow. But at the same time my event log is fully of these messages: [...] read more
security
windows-server-2008-r2
windows-firewall
2votes
0answers

What might cause DIR $file to report "File not found" when DIR $dir shows the same file just fine?

I can DIR a file and it doesn't exist, but DIRing its directory, or a file in the same directory as it, works fine. Is this a hardware or software problem? If it's hardware, is it the drive or something worse? 2013-06-13 9:35 C:\>dir E:\Shares\Users\Test\Desktop\XAV-1.htm Volume in drive E is [...] read more
windows-server-2003
hardware
usb
hard-drive
2votes
5answers

Can not replace fragment. No view found for id for fragment

I have list of fragments and artice. Every lelement on list is connected with article. That works fine. But when I try replace article by ID from external activity I have an error:No view found for id for fragment External Activity: ArticleMuralFragment newElement = new ArticleMuralFragment(); Bundle args = new [...] read more
android
android-fragments
android-fragmentactivity
2votes
0answers

emmc drivers kernel linux crash when it is configured as loadable module

I have make a change to have mmc drivers loadable kernel module but I got a kernel crash when I tried to unload mmc_host_module using rmmod mmc_host_module. NB: I have deactivated CONFIG_MMC_CLKGATE. All insert command work correctly: insmod mmc_core.ko insmod mmc_block.ko insmod sdhci.ko insmod shdci_pltfm.ko insmod mmc_host_module.ko But when I [...] read more
c
kernel-module
mmc
qualcomm
sdhci
2votes
2answers

Normalizing a two complement number

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
assembly
binary
normalization
twos-complement
fixed-point
2votes
1answer

How to set custom registry in VSTO Word Plugin project?

I am developing VSTO Word plugin project. When I build the project, it automatically creates 4 registry at HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\My.Registry location and those are as under. Name Type Data -------------- -------------- ------------------------ (Default) REG_SZ (value not set) Description REG_SZ My.Registry FriendlyName REG_SZ My.Registry LoadBehavior REG_DWORD 0x00000003 (3) Manifest REG_SZ file:///D:/LearningProject/My.Registry/bin/debug/My.Registry.vsto|vstolocal Now [...] read more
c#
registry
vsto
word-addins
2votes
1answer

stm32l476 ADC not ready

I am trying to bring up one of the ADC's on the STM32L476 Nucleo board. I think i have things configured ok, but i must be missing a step. I know this can be done use the HAL API and CubeMX, but i prefer register level access when bringing up [...] read more
stm32
keil
2votes
3answers

SSIS script task error on sql job

i want to run a ssis package from sql job sql version is 2016 ssis package first was 2013 and have error with message as below > Started: 6:19:50 AM Error: 2018-02-10 06:19:50.57 Code: 0x00000003 Source: Script Task Script Task Description: There was an exception while loading Script Task from [...] read more
sql-server
ssis
2votes
1answer

Release-only exceptions for UWP Storyboard and CallMethodAction

I am debugging a piece of code that uses a CallMethodAction to trigger a storyboard in a UWP app. My VS is updated to the latest (15.8.6). The error I am getting from VS 2017 is: > Cannot find method named Begin on object of type Windows.UI.Xaml.Media.Animation.Storyboard that matches the [...] read more
c#
uwp
2votes
2answers

Segmentation fault in pthread_cond_signal()

First let me provide some background. There are two threads in the production code and synchronization is done via wait and signal. Basic Structure of the code given below. main.c create the thread. main.c also calls funca() which signals the other thread. The mutex and condition variable is declared and [...] read more
c
linux
pthreads
2votes
2answers

gcsfuse touch: cannot touch ‘test2/test.txt’: Input/output error

I am trying to mount a google bucket using gcsfuse. I am able to mount it but am getting an input/output error message when I try to use touch to test making files inside of it. The command below shows that there are no errors trying to connect to the [...] read more
google-cloud-platform
google-cloud-storage
gcsfuse
2votes
1answer

Get argv[2] address in assembler x64

edi is argc, rsi is argv 0x0000000000400535 <+8>: mov %edi,-0x4(%rbp) 0x0000000000400538 <+11>: mov %rsi,-0x10(%rbp) here I get argv pointer (gdb) x/8x $rbp-0x10 0x7ffdb7cac380: 0xb7cac478 0x00007ffd 0x00000000 0x00000003 0x7ffdb7cac390: 0x00000000 0x00000000 0x1f130b45 0x00007ff3 Pointer 0x7ffdb7cac478 So my argv[2] is here: (gdb) x/8x 0x7ffdb7cac478+16 0x7ffdb7cac488: 0xb7cacd8a 0x00007ffd 0x00000000 0x00000000 At address 0x7ffdb7cacd8a [...] read more
assembly
2votes
2answers

Using Registry to install Excel AddIn

I created an excel Add-In called > Project Count_Per Person.xlam When I open up excel and go to Development>AddIns and select my AddIn to install, it does not stay installed if I close out of excel even after saving. The AddIn I made, creates a new MenuBarButton under the tab [...] read more
excel
load
registry
add-in
2votes
1answer

Visual Studio error in C, unhandled exception at 0xfefefefe

I am learning how to write C in Visual Studio, and here is my code, #include<stdio.h> int main() { char me[20]; printf("What is your name?"); scanf_s("%s", me); printf("darn glad to meet you, %s!\n", me); return(0); } Now, after typing all that in I get an error popping up "Unhandled exception [...] read more
c
windows
visual-studio-2012
c11
tr24731
2votes
1answer

Opendaylight Can't Connect to HP Aruba SDN Switch

My lab recently procure an HP (Aruba) 2920 24G and I was told to test it out on an OpenDaylight controller. First, I setup the OpenDaylight Carbon (0.7.2) with dlux features, odl-mdsal-apidocs, odl-restconf, and odl-l2switch-switch installed. The Opendaylight can communicate with my other switches including an SBC running an Open [...] read more
sdn
opendaylight
1vote
0answers

CentOS not finding wifi adapter

I installed CentOS on a Lenovo yoga laptop a few days ago, but I cannot get the wifi to work. I've tried lots of things following suggestions from replies to several questions on different sites. NetworkManager-wifi is installed (and always was). Below are some of the commands people usually ask [...] read more
linux
networking
wireless-networking
centos-8
1vote
1answer

Asus MW221U Monitor: 'Overdrive' menu appears unexpectedly, buttons not functional

I've had this monitor for a few years, and it's been a pretty good workhorse. A disassembly manual is linked: http://www.manualslib.com/manual/798421/Asus-Mw221u-201u.html#manual Update: I reflowed the solder connections on the button/speaker PCB, and the issue with the buttons being unresponsive seems to be permanently resolved. I suspect it was manhandled a [...] read more
macos
mac
multiple-monitors
motherboard
dvi
1vote
1answer

How to debug an RPM that will not uninstall

I've built an RPM using redline rpm library for java. When I try to uninstall the rpm it says it was removed but when I do a list it is still there and says it is still installed. Here is the results of my uninstall with as much debug as [...] read more
rpm
1vote
1answer

Multiple BSOD Windows 7

I'm using Windows 7 and I've gotten multiple BSOD errors when browsing with chrome or watching videos. I've updated my integrated graphics card driver but it didn't solve the problem. I've run Memtest86+(12 passes) - everything was OK, I've also tested the HDDs - no problem, too. I've disabled GPU [...] read more
windows-7
google-chrome
memory
bsod
1vote
2answers

BSOD error on Windows 7 ultimate

> BUG CHECK STRING = DRIVER_POWER_STATE_FAILURE BUG CHECK CODE = 0x0000009f PARAMETER 1 = 0x00000003 PARAMETER 2 = 0x85f05420 PARAMETER 3 = 0x82962ae0 PARAMETER 4 = 0x85aa2ab8 CAUSED BY DRIVER = ntkrnlpa.exe CAUSED BY ADDRESS = ntkrnlpa.exe+dcd10 FILE DESCRIPTION = NT Kernel & System Microsoft® Windows® Operating System Microsoft Corporation [...] read more
windows-7
bsod
1vote
4answers

Reboot loop after Windows XP Service Pack 3 update

Recently I upgraded to Service Pack 3, and now it seems that something has gone terribly wrong with the update. After logging in, my computer will blue screen after about 5 minutes and then go into a reboot loop (I don't have the exact error message handy). I have a [...] read more
windows-xp
bsod
sp3
reboot
1vote
0answers

Hyper-V Core Server 2019 ignoring power plan thresholds

I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
hyper-v
ups
1vote
1answer

GPUpdate Will Not Apply Services Changes

I am getting the following error on my computers when trying to apply group policy settings. This is specific to changes to Services on the local computer: User Policy update has completed successfully. Computer policy update has completed successfully. The following warning were encountered during computer policy processing: Windows field [...] read more
windows-server-2008-r2
windows-7
group-policy
service
1vote
1answer

SCCM 2012 PXE issue

We've had an issue that has persisted for about 10 days now, which has gone unnoticed by myself because we haven't imaged a whole lot of PCs lately. Essentially, we get the "E53 - No boot filename received" error when trying to boot clients. Wireshark shows that the distribution points [...] read more
pxe-boot
sccm
wds
1vote
3answers

Robocopy job will run manually but not as a scheduled task

Using Robocopy on Server 2012. I have created a .cmd script to copy some files from a mapped drive to the local machine. The mapped drive is on another server in a different domain and connects with the remote domains domain admin credentials. Domains are not trusted. It works if [...] read more
windows-server-2012
robocopy
1vote
2answers

Uncorrectable Machine Check Exception on HP DL360 G7

i have about every hour in IML (hplog) from HP DL360 G7 record: -------------------------------------------------------------------------------- CRITICAL: CPU - Uncorrectable Machine Check Exception (Board 0, Processor 1, APIC ID 0x00000003, Bank 0x00000005, Status 0xBE000000'00800400, Address 0x00003FFF'811239E0, Misc 0x00000000'00007FFF) -------------------------------------------------------------------------------- hpasmcli> show server System : ProLiant DL360 G7 ROM version : P68 09/30/2010 [...] read more
hardware
hp
hp-proliant
central-processing-unit
1vote
0answers

In-place upgrade to Windows Server 2012 fails with 'Failed to CoCreate IPersistAppItemsState object' messages

I am encountering problems attempting to upgrade a server from 64-bit Windows Server 2008 "in-place" to Windows Server 2012 (not R2). The errors are similar to: [shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154 I have searched the web for suggestions and for the specific error messages. I have tried most [...] read more
windows-server-2012
upgrade
1vote
1answer

Why is paging not working and getting physical address not available error on Bochs

I have the following assembly code to set up paging for long mode. org 0x7e00 bits 32 mov eax, 0x08000008 mov cr3, eax pml4t: mov dword [0x8000], 0x0900000f mov dword [0x8004], 0x0 pdpt: mov dword [0x9000], 0x0a00000f mov dword [0x9004], 0x0 pdt: mov dword [0xa000], 0x0b00000f mov dword [0xa004], 0x0 [...] read more
assembly
x86
paging
bootloader
1vote
0answers

Why does Bochs crash on simple mov instruction

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
assembly
x86
qemu
bootloader
bochs
1vote
1answer

SSL handshake failure using client certificate and Retrofit

I have a client-server application (Android client, Apache Http server) communicating through mutual authentication (TLS 1.2). The problem: Sometimes the connection (login) fails with an SSL error. This works: 1. Enrol client certificate 2. Login This does not work: 1. Enrol client certificate 2. Login 3. Delete client certificate 4. [...] read more
android
apache
retrofit
okhttp
tls1.2
1vote
1answer

ld64 segprot on MacOS Catalina not working?

I want to create a binary on MacOS Catalina (64 bit) with a data segment that can be made executable (see here for details) but is not executable from the start. I make my binary with gcc -nostdlib -segprot __DATA rwx rw- .... I also created an object file with [...] read more
64-bit
ld
macos-catalina
darwin
1vote
1answer

Emulate Touch Event in Windows 8 using Python

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
python
windows-8
touch
simulation
ctypes
1vote
0answers

How to debug crashes with question marks in XCode's organizer?

Since our last release we're seeing weird crashes in the Xcode Organizer containing only question marks. I first thought that these were unsymbolicated crashes but Xcode says these are already symbolicated. Xcode Organizer [https://i.stack.imgur.com/Nj3Ex.png] It looks a bit like this issue: https://github.com/firebase/firebase-ios-sdk/issues/5043 but only half of the list of crash [...] read more
ios
swift
xcode
crash
1vote
0answers

My symbolicated crash report looks like not symbolicated

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
ios
objective-c
swift
1vote
1answer

A D3D11_USAGE_STAGING Resource cannot be shared via D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX

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
c++
directx
direct3d11
dxgi
1vote
1answer

pymqi on macos Library not loaded: @rpath/libmqic_r.dylib

I'm trying to set up IBM MQ and pymqi on my macbook. MQ is done via docker, no issues there. I've installed the IBM MQ from https://developer.ibm.com/messaging/2019/02/05/ibm-mq-macos-toolkit-for-developers/ and followed the instructions. I pip installed pymqi with no issues after that. But when simply running import pymqi I get ImportError: dlopen(/Users/.../Library/Python/2.7/lib/python/site-packages/pymqi/pymqe.so, [...] read more
python
python-2.7
ibm-mq
pymqi
1vote
2answers

Errors with dynamic Array created with new after passed to resize function

I am trying to implement a dynamically created array using new that I want to resize but the resize action is not working correctly. This is an exercise on dynamic arrays, so I need dynamic arrays using new and not std::vector. Here is my code : int main () { [...] read more
c++
visual-c++
c++17
1vote
0answers

Nativescript - iOS build fails with error code 2

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
ios
nativescript
nativescript-angular
1vote
0answers

How do I handle this exception in xstring?

I'm having an issue with my code in xstring. Basically when it tries to return __builtin_strlen(_First), I get thrown this exception: Unhandled exception at 0x0FFFC30E in csgo.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000003). Any help with this? _NODISCARD static _CONSTEXPR17 size_t length(_In_z_ const _Elem* const [...] read more
c++
exception
1vote
0answers

Difference between KEYBOARD_PRESS and VIRTUAL_KEY

I'm implementing a virtual Android keyboard and are about to add haptic feedback. Luckily Android provides performHapticFeedback() and HapticFeedbackConstants so it's easy to give the user a haptic feedback. It's however not clear to me what the difference between KEYBOARD_PRESS and VIRTUAL_KEY is, they both seem to represent pressing a [...] read more
android
haptic-feedback
1vote
1answer

How to add multiple instances of the native add UWP?

I have an UWP app which displays several catalogs of videos. They are located in separate pages. For this purpose I've created an NativeAdV2 control: public sealed partial class CardAdvert : UserControl { NativeAdsManagerV2 manager = new NativeAdsManagerV2("d25517cb-12d4-4699-8bdc-52040c712cab", "test"); NativeAdV2 advert; public CardAdvert() { InitializeComponent(); manager.AdReady += AdReady; manager.RequestAd(); } [...] read more
c#
uwp
windows-store-apps
ads
uwp-xaml
1vote
1answer

Unhandled exception at 0x00363A09, Stack cookie instrumentation code detected a stack-based buffer overrun

So honestly I can't tell you whats wrong with this. I've read threads with similar problems but people are dealing with allocation of memory and things and that is waaaaaayyyy above my scope as a programmer so far, and my program does nothing nearly so complicated. int main() { double [...] read more
c++
1vote
1answer

Linking error while cross compiling Qt5 for Beaglebone

Dear stackoverflow community. I'm cross-compiling Qt 5.12 for my Beaglebone Black with EGL support. The host OS is Ubuntu 18.04.1 LTS (x64) running in a VM. I have installed any possible dependcies (I could find in different posts) on the target (and some on the host as well) and copied [...] read more
linker
qt5
cross-compiling
beagleboneblack
1vote
1answer

How to enable UART Interrupt in imx6q?

I am using I.MX6Q Sabre SD board. I am trying to build custom image with my own start script and ld script. The image is to be loaded with u-boot. I am trying to enable the UART receive interrupt for UART1. But it does not enter the Interrupt service routine. [...] read more
interrupt
uart
imx6
1vote
1answer

Manually manage the fastlane match Repo

I have to setup fastlane match without revoking the existing Profiles and Certificates. So i did my research and found this neat tutorial here: Medium and the official doc from fastlane (click on Instructions at the bottom of the page). After some time I have managed to create my repo, [...] read more
ios
swift
xcode
code-signing
fastlane
1vote
0answers

MIPS Assembly Calculating memory addresses

I am learning about assembly and am doing assembly computations, particularly with MIPS instructions to calculate the changed registers and memory addresses. The initial address states are here : $t0 = 0x0000000B, $t1 = 0xFFFFFFFF, $t2 = 0xABABABAC This is the code we have to use to calculate: addi $t4, [...] read more
assembly
memory
mips
computation
1vote
1answer

Problem compiling IDL created with OleView

To correct a problem with the name of the value for the enum, after searching, that I need to modify the TLB file of my DLL. The first step that I need to do is to create the IDL file. So I use Oleview to create the file. Before doing [...] read more
idl
typelib
midl
oleview
1vote
0answers

How to install WCF class library project as a windows service programmatically in C#

Trying to create the windows service programmatically. Found out the reference from stackoverflow to do it. However the parameter filename in InstallAndStart method expects a .exe In my case, my WCF project which i want to host as windows service is a Service library project. Hence the output is in [...] read more
c#
wcf
windows-services
1vote
0answers

stack exception when doing hciattach

I am trying to enable Bluetooth interface for CSR8811 chipset on a phytec board(imx6ul arm). Kernel is 4.8 I am getting an exception when doing: # hciattach /dev/ttyACM0 bcsp # hciattach /dev/ttyACM0 bcsp [ 157.902406] INFO: rcu_sched self-detected stall on CPU [ 157.907628] 0-...: (2600 ticks this GP) idle=21b/140000000000002/0 softirq=8480/8480 [...] read more
bluetooth
1vote
1answer

Binary Bomb phase 6 no nodes

This question is based on the same project as the other Binary Bomb Phase 6 questions (most likely will be related links), but for some reason I can't find the nodes themselves, to check their increasing/decreasing values. When I try to use the function: x/3x $eax, it returns: Cannot access [...] read more
assembly
x86
gdb
reverse-engineering
1vote
0answers

Unity3D Firebase Access Violation

I use FirebaseAuth.unitypackage and FirebaseDatabase.unitypackage packages in my project. When I want to test SignInWithCredentialAsync and SetRawJsonValueAsync operations in the editor, the editor crashes. When I checked the error.log, it says: FirebaseCppApp-5.0.0.dll caused an Access Violation (0xc0000005) in module FirebaseCppApp-5.0.0.dll at 0033:b7cf5c00. Full error.log: Unity Editor [version: Unity 5.6.3f1_d3101c3b8468] FirebaseCppApp-5.0.0.dll [...] read more
firebase
unity3d
firebase-realtime-database
firebase-authentication
1vote
1answer

Error Accessing Data in Message Element

I have an issue trying to process a ReferenceDataRequest. Here is all the code I am using to fill in a session. global options options = parseCmdLine() sessionOptions = blpapi.SessionOptions() sessionOptions.setServerHost(options.host) sessionOptions.setServerPort(options.port) session = blpapi.Session(sessionOptions) if not session.start(): print ("Failed to start session.") return False if not session.openService("//blp/refdata"): print ("Failed [...] read more
python
python-3.x
bloomberg
blpapi
1vote
0answers

PCI Interrupt Not Assigned

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
interrupt
xilinx
pci-e
zynq
0votes
1answer

Windows 10 Cumulative Update Failed to install - 0x80070003

What might be causing the below Windows Update failure? Windows Update History [https://i.stack.imgur.com/kfjrf.png] C:\Windows\Logs\CBS\CbsPersist_20200504194920.log 2020-05-04 20:40:50, Info CBS Perf: Doqe: Install started. 2020-05-04 20:40:50, Info CBS Doqe: [Forward] Installing driver updates, Count 622 2020-05-04 20:40:51, Info CBS Progress: UI message updated. Operation type: Update. Stage: 0 out of 0. Percent [...] read more
windows-10
drivers
windows-update
0votes
0answers

Completely Remove OneDrive from Office Apps

I would like to completely remove OneDrive integration from Office apps. This is the default menu: enter image description here [https://i.stack.imgur.com/Od6QL.png] I'd like to remove the highlighted section completely. I modified HKCU\Software\Microsoft\Office\16.0\Common\Internet and created a DWORD with the tag OnlineStorage and set its value to 0x00000003. This worked, and it [...] read more
microsoft-office
office365
onedrive
0votes
0answers

Surface pro system reset failure

I am currently experiencing some difficulties with my surface pro 4 so am trying to reset it to factory settings. However, every time i reset from within windows, it prepares, then restarts to the blue reset screen, gets to around 35%, then tells me there was an issue. I have [...] read more
windows
windows-10
system-restore
reset
0votes
0answers

Windows 10 update from 1803 to 1909 fails

My Windows 10 repeatedly fails to update. Today I decided to make a day of getting it to upgrade - and after a day of installing I'm no better off. The Windows Update tool fails and rolls back with no explanation, so I downloaded the ISO, mounted it, and ran [...] read more
windows-10
windows-update
0votes
0answers

Wifi driver installation without wifi

I recently changed to a new laptop and did a dual boot of windows and parrot security-4.7(as per my prev laptop). However, I found out that the installer could not detect my WiFi driver and I had to install a non free firmware for my WiFi driver Ax201. I tried [...] read more
firmware
wifi-driver
parrot-os
0votes
1answer

How to determine processor frequency scale down to ~200 MHz due to ThermStatus

I am attempting to determine what is causing an embedded industrial computer (ARK-1550-S9A1E) with Intel 4th Gen Core i5-4300U Dual Core to scale down all the cores to around ~200 MHz from 1.90 GHz There is several utilities/tools (turbostat or msr) tools that indicate that the reason it has scaled [...] read more
linux
ubuntu
cpu
intel-core-i5
cpufreq
0votes
0answers

How do I upgrade from Windows 10 1803 to 1809? I'm getting a failure 0x80070003

When attempting to upgrade from Windows 10 1803 to 1809, I get a failure every time. I tried Microsoft support and three reps were unable to assist me. I tried disabling all the startup programs, running the update troubleshooting tool, running Windows 10 update assistant, and downloading / installing from [...] read more
windows-10
windows-10-upgrade
0votes
1answer

Update Windows 10 from ISO without losing data

I was wondering if I can update my Windows 10 from a USB, using an ISO. I have had problems updating for about a year, and tried everything. My Windows 10 never updates, and is still stuck on 1703. It has been so long since update, that I now have [...] read more
windows-10
boot
windows-update
iso-image
0votes
1answer

Robocopy: "The system cannot find the path specified." for cell phone micro SD card

I am trying to expand the memory in my Samsung Galaxy S8 by copying over the current data in my micro SD card to a larger one. Unfortunately, I don't have a micro SD slot on my computer, so I want to connect the phone to my computer via USB, [...] read more
robocopy
micro-sd-card
0votes
1answer

Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings

My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more
windows-10
sleep
power-management
dell-inspiron
0votes
0answers

Enabling USB Access via Regedit

I have modified the HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/USBSTOR/Start to 0x00000003 But I still get a restriction message. Flashdrive is accessible via opening via Portable Device, however permissions is only ReadOnly. read more
windows-7
windows
0votes
1answer

Run batch as ADMIN & use robocopy

I need to copy from %USERPROFILE%\Desktop to B:\Desktop where B is a mapped network drive. The code inside BAT file is: powercfg -change -standby-timeout-ac 0 robocopy "C:\USER\DESKTOP\" "B:\DESKTOP" powercfg -change -standby-timeout-ac 1 shutdown /s -t 0 In line 1, I want that windows never suspend, turn off, go to screensaver... [...] read more
command-line
batch
robocopy
runas
powercfg
0votes
2answers

Windows 8 upgrade fails

Upgrading windows 8 keeping programs and settings is not working. It fails at 47% of migrating settings and rolls back. This is the relevant part of the log (Sources/Panther/setuperr.log): 2013-02-03 00:02:02, Error [0x0803b6] MIG Can't retrieve group information for user NT SERVICE\MSSQLFDLauncher. NetUserGetLocalGroups failed 0x000008AD 2013-02-03 00:30:39, Error MIG COnlineWinNTPlatform::AddPathToSearchIndexer [...] read more
windows-8
windows-8-upgrade
0votes
1answer

Why doesn't disabling IE's 'Protected Mode' enable the dragging-and-dropping of addresses from the IE address bar into Notepad

IE's Protected Mode prevents one dragging the address from the IE address bar into other applications (for example Notepad). There's an informative article on MSDN about Allowing Drag and Drop Operations in your Application. If I uncheck Enable Protected Mode in IE's settings and restart IE I still cannot drag [...] read more
internet-explorer
notepad
drag-and-drop
protected-mode
0votes
4answers

MacBook OS X applications crashing on startup

Closed my computer last night, went home. Opened it and it had restarted. Now when I open a couple programs such as Adobe Fireworks or Appcelerator Titanium they throw up a nasty error like below. Other programs (Chrome, Firefox, Textmate, Versions) work fine. Any thoughts on this? I haven't owned [...] read more
macos
crash
0votes
1answer

Customizing Fantacy Remote .INI file

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
remote-desktop
remote-access
0votes
1answer

Windows 7 BSOD on hybernate

Sometimes I experience a BSOD when my laptop goes to hybernate. It happends all the way on the end of the hybernation cycle, so the laptop is actually off, harddisk spins down, lights and screen are out, but then after a few seconds I get a BSOD. Trouble is that [...] read more
windows
bsod
0votes
0answers

Kerberos constrained delegation

There is a small problem with the setting Kerberos constrained delegation in Active Directory. The scheme works as follows: 1. Client workstation. 2. Web server with Windows 2008 Ent installed IIS (iis.domain.lab). Is a front-end server, the W3SVC service is started under the account LocalSystem. 3. The application server based [...] read more
iis
kerberos
delegation
0votes
1answer

Unicenter Software Delivery 4 not able to connect to MS SQL 2000 Database after W2003 SP2 upgrade

Yesterday I installed the Windows Server 2003 Service Pack 2 on a Windows Server 2003 which has Unicenter Software Delivery 4 installed. Prior to the installation I disabled every CA service on the server (Brightstor, SDO , RCO, TNG) and the MS SQL 2000 service. After the installation of the [...] read more
windows-server-2003
database
deployment
0votes
1answer

IBM-MQ PCF using to get subscriber count with a particular Topic

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
java
ibm-mq
0votes
0answers

MSI-X table with vfio (KVM PCIe Passthrough)

I am working on project that requires PCIe Passthrough (also referred as virtio-passthrough) with Intel x86 CPU and KVM. Have an interesting situation where device that is passedthrough in Guest is configuring all entries in vector table correctly. However, if I see from host, that table is populated, but all [...] read more
pass-through
vfio
0votes
1answer

Segfault in qemu user emulation of Android binary

I'm running qemu on an Ubuntu 18.04 x64 host and trying to do user emulation of dynamic binaries built for Android (for aarch64 or i386) using the Android NDK, but I always get a segfault. For example: Build$ i686-linux-android28-clang hello_world.c -o hello_world Check dependecies and paths$ file ./hello_world ./hello_world: ELF [...] read more
android
segmentation-fault
emulation
qemu
0votes
0answers

How to start the ApacheDS as a windows service in background using batch file or powershell script?

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
powershell
batch-file
windows-services
apacheds
0votes
1answer

Validating if a JSON object is present in a file with nlohmann JSON C++ library

I have a project where I import JSON files to setup global variables. There are various possibilities to the JSON object names in the files, so I want to know how can I check if an object is there or not. The way I tried to do it (with an [...] read more
c++
json
nlohmann-json
0votes
3answers

System Error Code 0x32 when trying to attach debugger to calc.exe

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
python
ctypes
0votes
0answers

Why when I set an OWNER RIGHTS ACE, does it get inheritance flags that I didn't set?

I'm trying to tighten the security on a Windows process, by overriding the process owners ability to further alter the DACL on the process. Having created the process with CreateProcessAsUser() I then proceed to get the existing DACL from it like so: CDacl procDacl; if (AtlGetDacl(hProcess, SE_KERNEL_OBJECT, &procDacl)) { //.. [...] read more
c++
windows
process
permissions
atl
0votes
3answers

iOS app crashes due to unknown error NO_CRASH_STACK + 0

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
ios
xcode
0votes
1answer

Binary bomb- phase 6

This is the disassembly of phase_6: 08048dbf <phase_6>: 8048dbf: 55 push %ebp 8048dc0: 89 e5 mov %esp,%ebp 8048dc2: 83 ec 18 sub $0x18,%esp 8048dc5: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 8048dcc: 00 8048dcd: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 8048dd4: 00 8048dd5: c7 44 [...] read more
assembly
x86
reverse-engineering
0votes
1answer

Difficulties Understanding Format String Exploitation

I am reading a book, Hacking: The Art of Exploitation 2nd Edition, and I'm at the chapter of format string vulnerability. I read the chapter multiple times but I'm unable to clearly understand it, even with some googling. So, in the book there is this vulnerable code: char text[1024]; ... [...] read more
c
format-string
stack-memory
0votes
1answer

Cannot create a SQL Server 2019 pod, but can create an SQL Server 2017 pod. Why can't I create an SQL Server 2019 pod?

I have tried following the instructions on this webpage: https://dbafromthecold.com/2019/02/20/creating-custom-sql-server-helm-charts/ i.e. 1) helm init 2) mkdir C:\Helm 3) cd C:\Helm 4) helm create testsqlchart 5) cd testsqlchart/templates 6) rm deployment.yaml rm service.yaml rm ingress.yaml 7) Re-create deployment.yaml: – apiVersion: apps/v1beta1 kind: Deployment metadata: name: sqlserver spec: replicas: 1 template: metadata: [...] read more
docker
kubernetes
0votes
0answers

KERN_PROTECTION_FAILURE is not symbolicated?

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
ios
objective-c
swift
0votes
1answer

How do I create multiple common FPGA structures in kristen?

I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
verilog
fpga
0votes
0answers

Unhandled exception at 0xFEFEFEFE in Project1.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000003)

#include <stdio.h> #include <conio.h> #include <stdlib.h> void main(void) { char name[50]; char name1[50]; char address[50]; char gender[50]; char college[50]; char hscmonth[10]; char school[50]; char sscmonth[10]; int dd, mm, yyyy, cell1, cell2, hscyear, sscyear, cnic1, cnic2, cnic3; printf("\n****************************RESUME****************************"); printf("\n******************************CV******************************"); printf("\n**************************************************************"); printf("\n=============================================================="); printf("\nEnter name: "); scanf_s("%s",name); printf("\nEnter Fathers name: "); scanf_s("%s",name1); printf("\nEnter [...] read more
c
0votes
1answer

How to filter recursive CTE SQL queries

I have a recursive SQL query that works well for what I want it to do, however I'm not sure how I should filter it in order to the branches filtered alphabetically. For example: UniqueID | Description | ParentID | MaterializedPath 1 CCC 0 0x00000001 2 BBB 0 0x00000002 3 [...] read more
sql-server
tsql
0votes
2answers

Porting a simple MIPS32 program to MIPS64

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
assembly
porting
mips32
mips64
edumips64
0votes
0answers

generate a robocopy logfile in an auto generated folder by the system clock

Using robocopy command I would like to auto generate a logfile in an auto generated subdirectory depending on the system clock Currently I run this in regular command prompt as a standard user. :start robocopy source destination /E /FFT /Z /R:2 /W:2 /MT:16 /NP /LOG+:"\quintiles.net\enterprise\Apps\Lab-ElispotAP.Secured\Raw.Data\Logs\%date:~-4% %date:~4,2%%date:~7,2%\ElispotRawDataLogdemo3"%time:~0,2%".txt" goto start I would [...] read more
robocopy
0votes
1answer

How to declare COM interface with properties in C++

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
c++
interface
com
idispatch
0votes
0answers

Why is the smb2 oplock lease not broken?

We have a problem with file sharing when processes on several hosts accesses the same file. All hosts are running the same version of Windows 2012 R2. (host A mentioned below is a node in HA Failover Cluster, not sure if that is relevant.) One of our service engineers was [...] read more
windows-server-2012-r2
smb
file-sharing
0votes
0answers

how to change HyperLink style and textColor into richtextbox c# winform

How can I change HyperLink into RichTextBox ? I want to change HyperLink ForeColor and Remove UnderLine . I use this codes for this problem but I don't to change I tried to change with this code , but I don't successful .enter image description hereIf any change for this [...] read more
c#
winforms
hyperlink
0votes
2answers

Run a custom transformation on string columns

Suppose I have the following dataframe: var df = Seq( ("2019-09-01", 0.1, 1, "0x0000000000000001", "0x00000001", "True"), ("2019-09-02", 0.2, 2, "0x0000000000000002", "0x00000002", "False"), ("2019-09-03", 0.3, 3, "0x0000000000000003", "0x00000003", "True") ).toDF("Timestamp", "Float", "Integer", "Hex1", "Hex2", "Bool") I need to run a transformation on the string colums (in this example: Hex1, Hex2 and [...] read more
scala
apache-spark
apache-spark-sql
transformation
0votes
1answer

Robocopy with PowerShell : ERROR 3 (0x00000003) The system cannot find the path specified

I have a PowerShell script for backup that I used on Windows 2003 Server for a long time, and now I have a problem with it on Windows Server 2012 R2. I have this message when I try to execute it: > 2019/09/18 08:40:25 ERROR 3 (0x00000003) Creating Destination Directory [...] read more
powershell
powershell-4.0
robocopy
0votes
1answer

Use DLL in PowerShell

I'm trying to use a function from a DLL in PowerShell. I currently have the code below, though it leads to a crash when calling the function. I'm fairly new at this, so any help is appreciated. The purpose of the code is to use EloGetDiagnosticsData() in PowerShell to return [...] read more
c#
powershell
escaping
pinvoke
0votes
1answer

Reduce flickering when using SetWindowPos to change the left edge of a window

Update 1: Here's the simplified version: So I have a special fixed-size child window that I want to make it stay at the right side of the resizable main window. When users resize the main window by dragging the left/right edge of it, WM_WINDOWPOSCHANGED is sent, the child window will [...] read more
winapi
resize
flicker
0votes
1answer

How to parse DW_OP_call_frame_cfa?

I am trying to get the variables location from a C (x86_64) code using libdwarf, but GCC even with optimizations off (-O0) generates the frame base relative from DW_OP_call_frame_cfa. In turn, clang uses DW_OP_reg6, which points to rbp in x86_64 ABI. I have read the DWARF-4 Standard but I can [...] read more
c
gcc
clang
dwarf
0votes
1answer

Making freeradius 3 in ubuntu 18 look at the mysql nas table for client "secret"

I am running freeradius from the same computer that I am running "radtest" from. I can get get an "accept" message with user password coming from either "users" file or mysql , and can get client "secret" from clients.conf file, but can't figure out how to get freeradius to look [...] read more
freeradius
0votes
1answer

Different Int values for the same value?

I ran into an integer overflow problem, which I managed to solve, but only by trial and error. Since it's an integer overflow problem, I've wrote some code to print out the buffer. The beginning of the buffer is the address where array[0] is stored. Then, I started to pass [...] read more
c
integer-overflow
stack-smash
0votes
1answer

Registry not set using Visual Studio 2017 Installer Project

I create a visual studio installer project on visual studio 2017 for word add-in. The registry is not set when installing it. What do I do wrong during the process? I have a MyWordAddIn solution which when running through visual studio correctly open Word 2016 and launch the add-in. I [...] read more
visual-studio-2017
registry
installation
0votes
1answer

certain parts of injected string are missing on stack frame

I'm trying return-to-libc exploit on simple program. I've managed to locate stack address where input string is stored, and locations of libc functions and build my payload base on it. [padding(252-byte)] + [system(4-byte)] + [exit(4-byte)] + [argument(4-byte)] I opened the vulnerable program with gdb and injected payload. When I check [...] read more
c
gcc
gdb
buffer-overflow
0votes
2answers

Create an Arduino ESP8266 library

I would like to create a Arduino library for an ESP8266or ESP32 microcontroller. I wrote a test library which running on an Arduino Nano board with no problem. Here the library cpp file: #include "Test.h" Test::Test(){ } uint32_t Test::libTest(strcttest* t){ uint32_t w; w = t->a; return w; } Here's the [...] read more
c++
arduino
esp8266
0votes
1answer

How to derive all offered interface types from an COM idl?

My goals is to generate bridging code that allows to call a COM interface in Java. I do use successfully JNA, insofar as I get an handle to the interface and can successfully work with most of the functionality of the interface. I have a question regarding several interfaces that [...] read more
c#
com
ole
0votes
1answer

I know the answer to this program but I don't understand why?

I understand there is an increment of ii and x shifts left, but how does it go from 1 to being 3? Then from 13(D) to being 69? and so on... #include <stdio.h> int main() { int x = 1; int ii; for (ii = 0; ii < 8; ii++) [...] read more
c
0votes
1answer

comprehension to change nested list to list of dictionaries

I've massaged the data into the list structure… [['keychain: "keychainname.keychain-db"', 'version: 512', 'class: 0x0000000F ', 'attributes:\n long string containing : and \n that needs to be split up into a list (by newline) of dictionaries (by regex and/or split() function) '], ['keychain: "keychainname.keychain-db"', 'version: 512', 'class: 0x0000000F ', 'attributes:\n long [...] read more
python
list
dictionary
list-comprehension
dictionary-comprehension
0votes
1answer

How to populate avcC box when encoding fmp4 file with H264 data?

my h264 frame just have I/P frame. The avcC box I filled in is as follows, but it cannot play with the VLC player (the timestamp runs but there is no image). AVC Decoder Configuration Record : Start offset 511 (0X000001FF) Box size 39 (0X00000027) Box type avcC (0X61766343) Detailed-Information [...] read more
mp4
0votes
1answer

DB2 REORG command is not able to start

I am trying to reorg a table in DB2 as the number of alters on a table has exceeded more than 3 times. DB2 CALL SYSPROC.ADMIN_CMD('REORG TABLE WASADMIN.EXCHANGERATES'); It is not giving any response and looks like it is hanged . I checked the status by running the command . [...] read more
db2
db2-luw
0votes
2answers

Storing Data on server and using on load c#

I am trying to store some data on a server as textfile or even as the class itself and then when the application loads it gets it and I can read and use from it as normal. internally it works just fine, I would like to store the class online [...] read more
c#
.net
0votes
1answer

How does this OSDEV Identity map work for PAE Paging?

I'm trying to understand as best I can what this OSDEV tutorial is on about. I have read the AMD64 programmers manaul (vol.2) chapters 4 and 5 as suggested, but I do not understand what happens when he goes through this loop: mov ebx, 0x00000003 ; Set the B-register to [...] read more
memory
mapping
virtual
paging
osdev
0votes
0answers

Loading Class from server C#

I am trying to store my data class on my server as is or even as a text file and then when the application loads it gets the class or text file and I can use it as normal. Internally everything works just fine, but I can not seem to [...] read more
c#
.net
0votes
1answer

Soloud + OpenSLES backend, inactive audio track

I'm using soloud as a audio lib, with opensles backend for playback. Everything seems to be working perfectly, but only 9/10 times. On those semi rare occasions, startup seems normal, but the app has no audio. Trying to change volume on active app brings up Ringtone volume (instead of Media [...] read more
android
audio
0votes
1answer

batch robocopy is deleting all of my files

I have the following directory structure: \Users\DorrisPringle\Desktop\test \Users\DorrisPringle\Desktop\test\mycopy.bat \Users\DorrisPringle\Desktop\test\backup \Users\DorrisPringle\Desktop\test\backup\asdf.txt \Users\DorrisPringle\Desktop\test\backup\a_directory \Users\DorrisPringle\Desktop\test\backup\a_directory\qwer.txt In the event that a key file doesn't exist, I want to copy backup/* into the directory "test." This gets executed from mycopy.bat: if exist "\Users\DorrisPringle\Desktop\test\myservice.exe" ( echo "all is good." ) else ( robocopy "\Users\DorrisPringle\Desktop\test\backup" "\Users\DorrisPringle\Desktop\test" /MIR [...] read more
batch-file
robocopy
-1votes
1answer

robocopy cannot find path

i have batch script like bellow: SET SOURCE=F:\Diff\For_VOYAGE\models.pck.files\models\players SET DESTINATION=F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players SET LOG=LOG.txt robocopy %SOURCE%\装备\女\印度舞娘时装上衣 %DESTINATION%\装备\女\印度舞娘时装上衣 /E /LOG+:%LOG% when i execute it, giving me error like bellow: ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows :: Version XP010 ------------------------------------------------------------------------------- Started : Sat May 14 20:27:50 2016 Source : F:\Diff\For_VOYAGE\models.pck.files\models\players\装备\女\印度舞娘时装上衣\ Dest : [...] read more
batch
windows-command-prompt
robocopy
command
-1votes
0answers

how do i initialize and use the adc from TM4C123 chip Family

HI i tried to use the ADC0 module of the TM4C123AH6PM chip. but every time i initialize the ADc i get an hard fault error. I think the ADC module is missing the Clock. underneath the source of my initialasation code. the hard fault occurs every time i tried to [...] read more
c
microcontroller
keil
adc
texas-instruments
-1votes
0answers

Why isn't my system tray icon sent by shell_notifyicon sending any message to my application when clicked?

I am working on c# app that handles windowing and whatnot entirely through UI (I want it to have a super small footprint). I'm trying to add a system tray icon. I've successfully added the icon -- I see it when I trigger it in the app and it disappears [...] read more
c#
windows
trayicon
window-messages
-1votes
1answer

How to open device driver for IOCTL

I am trying to open a device driver in order to send it an ioctl. There are many examples on SO and elsewhere but virtually all address opening "\\.\PhysicalDrive0" or the like. But I am trying to open a non-disk driver, compiled from Microsoft sample code at GitHub "Windows-driver-samples", namely [...] read more
windows
device-driver
createfile
-1votes
2answers

How to fix mentioned MISRA-2012 10.4 and 10.9 violations issue in this code?

There are required pieces to formulate my problem. Below are content of MyError.h header file. -------------------------------------------------------------------------------- MYERROR.H ########################### # myError.h ########################### 1 typedef enum 2 { 3 MySuccess = 0x00000000, 4 MyError1 = 0x00000001, 5 MyError2 = 0x00000003, 6 MyForce32 = 0x7FFFFFFF 7 } MyError; 8 #define PROPAGATE_ERROR_FAIL_MY_1(_err) \ 9 [...] read more
c
misra
safety-critical
-1votes
1answer

Defusing a Binary Bomb: phase_5

Here is my understanding of what the code is doing, and how I'd like to solve it: First I need to find a string, and then reverse engineer that string, based on the 16-byte lookup table that I have found. I do know that the values of these "offsets" must [...] read more
assembly
x86
reverse-engineering
-2votes
1answer

Console bugging and bugged, evidently

It appears that a false file path has been installed on a home computer many of us use, that reroutes my emails from gmail, to an Entourage mail app that I do not use, and from my dock have no access to…. My question is, is this even possible, and [...] read more
macos
-2votes
1answer

Bomb Lab Phase 6 :Stuck on the last step

This is asm code for phase_6 08048de3 <phase_6>: 8048de3: 56 push %esi 8048de4: 53 push %ebx 8048de5: 83 ec 4c sub $0x4c,%esp 8048de8: 65 a1 14 00 00 00 mov %gs:0x14,%eax 8048dee: 89 44 24 44 mov %eax,0x44(%esp) 8048df2: 31 c0 xor %eax,%eax 8048df4: 8d 44 24 14 lea 0x14(%esp),%eax [...] read more
linux
assembly
x86
reverse-engineering
-3votes
1answer

Quick question, why is scanf_s throwing an exception in runtime here? I am very confused

I am trying to use scanf (or some variant like scanf_s) to send a character array from the stdin stream into a (pre-defined) character array variable. The error (unhanled exception) is thrown at runtime by windows as soon as the user hits enter; it is triggered as soon as scanf() [...] read more
c
runtime-error
c11
-6votes
2answers

When a number is written as 0x00... what does the x mean

Suppose I was trying to create a mask in C for bitwise operations, like uint32_t Mask = 0x00000003; What does the x mean? I see a lot of numbers written with that 0x format and I don't understand why and have been unable to find an explanation that really makes [...] read more
c
bitwise-operators

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0