flat assembler
Message board for the users of flat assembler.
Index
> Windows > Can't run the application. Access denied |
Author |
|
Furs 24 Sep 2017, 19:36
You know, more information and the exact FASM program you want to run would help.
But if you didn't touch it then it has nothing to do with FASM, probably a hiccup in the OS (did you open the file in another application? restart your PC and see what happens if you try to run it again?) or you have malware or whatever. |
|||
24 Sep 2017, 19:36 |
|
DimonSoft 25 Sep 2017, 11:25
Furs wrote: or you have malware or whatever. Or antimalware/antivirus, since those are also the programs that sometimes make strange things happen. |
|||
25 Sep 2017, 11:25 |
|
Picnic 25 Sep 2017, 11:40
Add "Turn off Windows defender" to above tips.
|
|||
25 Sep 2017, 11:40 |
|
The_Unknown_Member 26 Sep 2017, 10:38
I have uninstalled the Anti-Virus software (Avast). Windows Defender and Windows SmartScreen are disabled and I am using the administrator account and still getting this: [img] https://i.gyazo.com/f75128d2f0a638e3872731078935c720.png [/img]
|
|||
26 Sep 2017, 10:38 |
|
sinsi 26 Sep 2017, 10:43
Looks like ASM_01.exe is 16-bit, 64-bit Windows can't run old DOS programs now.
|
|||
26 Sep 2017, 10:43 |
|
Furs 26 Sep 2017, 14:08
And how did it run 4-5 days ago then? Oh people omitting important information again.
|
|||
26 Sep 2017, 14:08 |
|
The_Unknown_Member 26 Sep 2017, 17:49
I wrote "format PE console" and "use32" at the top of my code. Doesn't "use32" mean to use the x86_32 arhitecture ?
|
|||
26 Sep 2017, 17:49 |
|
DimonSoft 26 Sep 2017, 19:55
I guess, the reason is in the 17th line of your code. Just check it carefully.
|
|||
26 Sep 2017, 19:55 |
|
Furs 27 Sep 2017, 10:41
The_Unknown_Member wrote: I wrote "format PE console" and "use32" at the top of my code. Doesn't "use32" mean to use the x86_32 arhitecture ? However, did you really write "format PE console"? Can you show the code? |
|||
27 Sep 2017, 10:41 |
|
The_Unknown_Member 27 Sep 2017, 12:25
Furs wrote:
The code doesn't matter. Nothing runs. I wrote a simple program, tested and still the same Code: format PE console use32 ; x86_32 entry start include 'win32a.inc' ; This is the data section: ; ======================================================= section '.data' data readable writeable ; ======================================================= section '.text' code readable executable start: mov eax, 10d |
|||
27 Sep 2017, 12:25 |
|
revolution 27 Sep 2017, 13:29
Empty sections are not supported by the Windows loader. I suspect this will be the cause of your troubles. You either need to define at least one byte in each section, or remove empty sections.
|
|||
27 Sep 2017, 13:29 |
|
The_Unknown_Member 28 Sep 2017, 13:37
revolution wrote: Empty sections are not supported by the Windows loader. I suspect this will be the cause of your troubles. You either need to define at least one byte in each section, or remove empty sections. Thank you very much! The problem is solved. |
|||
28 Sep 2017, 13:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.