Comments (5)
After further research this appears to be a very strange mingw-w64 issue. I copied the source code into VS2019 and it compiled and functioned fine as x86. I would love to know what would cause such a strange issue
from delete-self-poc.
After further research this appears to be a very strange mingw-w64 issue. I copied the source code into VS2019 and it compiled and functioned fine as x86. I would love to know what would cause such a strange issue
That is extremely weird @Octoberfest7, do you have the binaries you could send to me? I'll take a look side by side.
from delete-self-poc.
How would you prefer I get them to you? Alternatively I can just provide the mingw command and version I used, as the baseline code in the repo will reproduce this issue.
from delete-self-poc.
See this repo: https://github.com/Octoberfest7/Delete-self-files
I have uploaded the compiled x86 exe's from both MingW and VS2019, as well as provided details on each in the README. Additionally I linked a StackOverflow post I made on the issue so you can read what others have said. One particularly helpful individual even provided code to address the memory issues that the other open issue speaks of.
Let me know if you need more/what you find out.
from delete-self-poc.
Issue resolved. With x86 programs there needs to be a manifest file present when calling certain API's involved in UAC virtualization. Mingw does not create or include this manifest file, you must create it and include it manually. See this stack overflow post: https://stackoverflow.com/questions/71834608/mingw-produces-x86-program-which-only-successfully-runs-as-administrator-x64-an/71838906?noredirect=1#comment126965290_71838906
from delete-self-poc.
Related Issues (3)
- Not working as expected .. HOT 6
- Two issues in the code HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delete-self-poc.