1,407 questions
3
votes
1
answer
71
views
Do the bytes "00 10 A1 B3" make sense in Arm 32-bit architecture?
The bytes 00 10 A0 B3 decodes to movlt r1, #0 in the arm 32-bit architecture.
When I type the bytes 00 10 A1 B3 into the shell-storm online disassembler, it shows "N/A".
However, in the ...
0
votes
0
answers
106
views
Suitable Pandas installation on 32-bit Python (3.10, 3.11)
I am trying to use the Kiwoom OpenAPI (for making automated stock trading program), which requires a 32-bit Python environment. However, to successfully use Kiwoom Open API I need to set up pandas in ...
0
votes
0
answers
52
views
how to implement blocking system call in xv6?
I am currently reading xv6 kernel source ported to 32bit x86. My question is regarding blocking io syscall, i.e., bread. I am expecting some trap handler in xv6 that sets its own process state to ...
0
votes
1
answer
98
views
Emulate keyboard click on Windows using NASM assembler
I am not an experienced developer, do not judge strictly
I am writing a short application in NASM assembly language, I managed to make the click click of the CapsLock keyboard, but the problem is that ...
-3
votes
2
answers
129
views
integer overflow in expression of type ‘int’ results in ‘1’ [-Woverflow]
I want to understand more about int overflow in C++ on a 64-bit system. So I would like to stick to int for my understanding without casting / extending the type to unsigned or 64-bit and I am on ...
0
votes
1
answer
655
views
My 32 bit window application is crashing on Window 11 24H2 version [closed]
My 32-bit Windows application is crashing after updating to Windows 11 24H2, while it runs without issues on both earlier and later Windows versions.
The crash results in an "Out of Memory" ...
0
votes
0
answers
152
views
Problem installing python libraries (scipy, speechmatics) on 32 bit windows
Ok, I guess this is a bit of an impossible situation... But hoping some of you may be able to help me out: I'm not managing to install certain python libraries - notably speechmatics-python and scipy -...
0
votes
0
answers
379
views
lutris can run a program installer using wine that I can't successfully run using just wine
I'm using wine-9.15 (Staging) I setup the prefix with WINEARCH=win32. When I try to run the setup.exe with wine I get the following error.
0150:err:module:import_dll Library MFC30.DLL (which is needed ...
0
votes
1
answer
124
views
Loading DLL with dynamic path in Excel 32bit
I'm currently trying to load a dll (C++) with a dynamic path into my VBA Code.
I've two different dll's, one for 32bit and one for 64bit. Both dll's are working fine, I can also use both if i declare ...
0
votes
1
answer
73
views
"[WinError 193] %1 is not a valid Win32 application" running CDLL with 64 bit MinGW-w64
I'm trying to compile and run a package on Windows 11 with MinGW-w64, but I'm getting the error message "[WinError 193] %1 is not a valid Win32 application" when I try to run the .dll ...
-1
votes
1
answer
104
views
Problems using a C++ Dll with Excel 2016 32bit
im looking for a solution, that a DLL is not running on Excel 2016 32bit. I've tried so much in the recent weeks, that i have no idea left. I only get it running on Excel 64bit, I have two different ...
2
votes
1
answer
70
views
How to properly print user input in the correct position in 32-bit assembly?
I am currently developing a simple "About me" section in the terminal. I am using NASM assembly and running Ubuntu in Oracle VM. I am currently having trouble with printing the user input ...
0
votes
1
answer
109
views
Divide 8-byte stored in 2 uint32 by a uint32 it on a machine with 32-bit operation
I want to divide uint64 by a uint32 in WebGPU, which currently only handles uint32 operations. So I am trying to simulate this by storing my long into two uint32 buffers high and low. and now I want ...
2
votes
1
answer
100
views
How can I read a binary file in C
I'm trying to read a binary file that has a sequence of integers, a file that has 100 integers in sequence.
The beginning of the sequence is:
20 2 22 4 22 10 5 5 4 1 ...
Using the xxd -b bin_100.bin ...
0
votes
1
answer
77
views
Attempting to change into 32-bit protected mode causes triple fault
I have a simplistic bootloader comprised of two parts - the actual bootloader that loads the second 'stage' into memory, and executes it.
In that second stage, I'm trying to switch to 32-bit protected ...
3
votes
2
answers
3k
views
Issue installing matplotlib on Python 32-bit
I'm trying to install Matplotlib on a 32-bit version of Python. When I run pip install matplotlib, I get the following error when it tries to "Prepare metadata."
WARNING: Failed to ...
0
votes
1
answer
461
views
Excel VBA 32-Bit to 64-Bit
I have a old Excel file with 32-bit code.
Who can turn this into 64-Bit code?
Private Declare Function SetWindowPos Lib "user32" ( _
ByVal hWnd As Long, _
...
0
votes
0
answers
46
views
trying to print 1 to n in 32bit arm
.text
.global main
main:
adr r0,format
ldr r1,=number
bl scanf
ldr r2,=number
ldr r2,[r2]
mov r3,#1
loop:
mov r1,r3
adr r0,format1
bl printf
add r3,r3,#1
...
-1
votes
1
answer
139
views
updating 32bit macro for 64bit
This excel macro worked fine on windows 10, but gives me errors on windows 11. If anyone could help would really appreciate it.
Option Explicit
Private Declare Function URLDownloadToFile Lib "...
0
votes
1
answer
58
views
Buffer does it stay or get popped of the stack?
Just a quick question, lets say we have this following C code:
int hello(){
char arr[16];
scanf("%s",arr);
printf("%s",arr);
return 0;
}
I have a doubt that when the arr ...
0
votes
1
answer
40
views
Does updating Cygwin 32-bit to 64-bit require Cygwin client update?
We have systems using Cygwin 32-bit application. Now we have to update it to 64-bit due to the server changes. Does this require the Cygwin client to be updated as well?
Thanks for any helps!
-1
votes
2
answers
55
views
PHP php_mongodb.dll for 32bit [closed]
facing the error that my windows server 2019 uses 32bit. now i want to connect from that server with php to my mongodb. I've searched the whole internet for a 32bit version of the php_mongodb.dll but ...
0
votes
0
answers
302
views
How to run a 32bit dotnet 6 console application in Ubantu machine
currently I have created a .net console App using dotnet new console -n HelloWorld. if I try to build it using dotnet build and run using dotnet run I am able to see the output . and the .csproj of ...
0
votes
1
answer
103
views
Different errors between cl.exe 64-bit and 32-bit
I have the following source code:
#include <functional>
#include <minwindef.h>
#include <winerror.h>
#include <libloaderapi.h>
#include <winreg.h>
namespace ffmock
{
/**...
0
votes
1
answer
2k
views
Using MinGW to compile 32-bit modern applications on Windows
I wish to use MinGW to compile a 32-bit application from source that contains c++20. Thus, apparently OG MinGW won't cut it due to compiler support for modern C++, but I instead need to use MinGW-w64.
...
1
vote
0
answers
75
views
Running a x86 server inside a x64 library using C++ (MSVC)
I have the following problem I have been working on:
I need to make a 32bit (x86) library dll play well with a more complex library that leverages it but works in 64bit (x64). The way that I have ...
1
vote
1
answer
1k
views
Pandas Series with dtype=int defaulting to int32 instead of int64 on 64-bit Python environment
I'm working on a Windows system with a 64-bit version of Python (Python 3.10.13, packaged by Anaconda, Inc.). When I run Python, the header indicates that it's a 64-bit environment: "Python 3.10....
0
votes
0
answers
782
views
Why node binary size is way more than pre-build binary while cross compiling to 32 bit ARM
I am cross compiling node to 32 bit ARM processor.
Using node v12.22.12 source code downloaded from https://nodejs.org/download/release/v12.22.12/
Using an ubuntu VM to cross compile. not sure how to ...
0
votes
3
answers
1k
views
MacOS Computer Systems: A Programmer's Perspective labs setup
I'm going to study this Computer Systems: A Programmer's Perspective, and do labs from http://csapp.cs.cmu.edu/3e/labs.html
But I can't figure out how to start, when I'm running "make" to ...
0
votes
1
answer
516
views
pwnlib.exception.PwnlibException: kernel architecture must be specified
Hi so I have a 32 bit little endian executable on Intel arch so I used context.binary for that and tried context.arch = vax to resolve this issue but both are not working what should I do?
Code below:
...
1
vote
1
answer
276
views
Flutter 32-bit Android device - mmap failed errno 12 Out of memory
This is only happening on 32-bit Android Devices while debugging and on release mode.
on another device, everything is working fine also on other platforms.
I can't able to find out why it is ...
1
vote
1
answer
291
views
Is there a way to create a c++ 32-bit DLL that access SQLite database?
We are trying to build a c++ 32-bit DLL that access SQLite database.
Background: We have a lot of legacy 32-bit apps. Our long-term goal is to convert them to 64-bit using mostly c++ and wxWidgets. ...
1
vote
2
answers
87
views
Is there any way for a python project to have two virtual environments?
My current project in python has hit a problem.
The API I wrote to connect to Sharepoint needs to be run in 64-bit python.
And the Oracle API needs to be run from python 32 bits (because of server ...
1
vote
0
answers
45
views
How to run a function/process when waiting for reading a character from user?
I am new to assembly and trying to build a kind of pong game where a ball hits the wall and we use a paddle to reflect the ball back towards the wall. I am using the Irvine32 library in this project ...
2
votes
1
answer
430
views
Why does PRIx64 print "lx" instead of 16 hex chars?
We've run into an issue at work where we were not able to use the "portable" types from <inttypes.h> (PRIx64) to correctly print a 64-bit unsigned integer in hexadecimal format.
...
0
votes
1
answer
707
views
Installing Pillow on Windows with 32-bit Python
I'm getting this error while running pip install pillow.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\python39-32\lib\site-...
0
votes
0
answers
227
views
Converting 64bit asm to 32bit?
I'm working on a project which involves loading a dll into an application that has 64bit and 32bit versions. I do not have access to the source code for this app, I am injecting instruction into a ...
0
votes
1
answer
1k
views
OpenJDK errors java.lang.OutOfMemoryError: Java heap space and Could not reserve enough space for 1048576KB object heap
The team switched from Oracle JRE 1.8 to OpenJDK. Started the test with this version:
java-1.8.0-openjdk-1.8-Ø.372
Things were OK until load testing started and moved to a higher staging environment. ...
0
votes
0
answers
78
views
Why can I not print out the contents of a buffer in x86 assembly?
Thank you for taking the time to look at my question and all help is appreciated.
I will keep this question simple, so here it is:
; Program Author: David Mark Serrano
; Program Name: Battle_Chess
; ...
0
votes
1
answer
450
views
How do I compile for ONLY 32 bit for Mac OSX with Xcode 9.4?
I have a very old macOS project that I will be porting and converting to 64 bit but for now I need to compile and debug it in 32 bit mode because it has a complex module that will only run in 32 bit ...
2
votes
0
answers
82
views
init gets killed on syscall
I'm trying to build an OS on a 32 bit Linux kernel. I made start.S and init.c and executed them, but init keeps getting killed when syscall is made. How can i fix it (start.S and init.c combine to /...
0
votes
0
answers
64
views
C++Builder 11.3 build an application for WinPE 5.0
I would like to create a simple VCL application for WinPE.
I have created an 32bit application with C++Builder 11.3. The application contains a VCL edit box and button, but it does not run. An error ...
0
votes
0
answers
99
views
Build mongo-c-driver for 32bit
How to build mongo-c-driver for 32bit linux on a 64bit linux machine using cmake? I'm trying to build it with -DCMAKE_TOOLCHAIN_FILE and all packages are installed with i386.
Error when trying to ...
1
vote
0
answers
43
views
How is it possible that a 32bit application uses more than 5GB virtual memory?
I maintain a rather old 32bit application using largeadressaware that is deployed in an integrated system using always the same computer. Due to supply issues, the pc had to be changed and now the ...
0
votes
1
answer
112
views
Detect if a word is inside a sentence in Assembly NASM
So basically I have this code where I need to check if a word is inside a sentence and I have no clue in how to do it. It's my first week learning assembly sorry.
Im making my own sql but in local ...
0
votes
1
answer
1k
views
Convert a vector of 3 uint8 to a uint32 in simulink
I had a vector of 3 elements all type uint8 that need to be converted to a uint32, I’m struggling to find the correct block to do that I tried unpacking the signals but then that creates a problem ...
0
votes
0
answers
52
views
can't import pyqtgraph on 32 bit win 10
I can't manage to import pyqtgraph in 32 bit win 10 installations.(I need it to run on 32 bit windows)
There is a problem with win 10 related to pyqtgraph Although It works when os is 64 bit only and ...
0
votes
0
answers
77
views
Zstd decompress with Armv7 32bit performance is too poor
I am using ZStd with armv7 32bit platform to decompress, but 128M data would require about 2 minutes to finish. But on armv8 64bit, it is only require about 2seconds, so what result armv7 32bit ...
2
votes
0
answers
123
views
Sigsegv when executing 32bit programs
I am having problem when executing majority of 32bit software on my Linux.
This problem happens when running any dynamically linked c++ software and also dynamic linked c programs that uses any libs ...
0
votes
0
answers
24
views
why the min int for 32bit is -2^31 not -2^31+1? [duplicate]
why the min int for 32bit is -2^31 not -2^31+1 ?
I can understand the max int is 2^31-1, so why the min int is not just the reversed of the max int -2^31+1?