flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
ProMiNick 31 Mar 2022, 14:54
Code: library kernel,'KERNEL32.DLL', user,'USER32.DLL' missed symbol "\" that concatenates line with next line Code: library kernel,'KERNEL32.DLL',\ user,'USER32.DLL' |
|||
![]() |
|
Ali.Z 31 Mar 2022, 18:30
also ExitProcess requires an argument to be passed, refer to https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-exitprocess
edit: or clear EAX and use RET instruction. _________________ Asm For Wise Humans |
|||
![]() |
|
revolution 31 Mar 2022, 20:01
Ali.Z wrote: also ExitProcess requires an argument to be passed, refer to https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-exitprocess Ali.Z wrote: ... use RET instruction. |
|||
![]() |
|
macomics 31 Mar 2022, 23:05
Ali.Z wrote: also ExitProcess requires an argument to be passed, refer to https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-exitprocess ![]() |
|||
![]() |
|
mangoe 01 Apr 2022, 01:13
ProMiNick wrote:
i try and it gave me "Error: write failed" warning, so confusing. Does it case sensitive? |
|||
![]() |
|
revolution 01 Apr 2022, 01:17
You get "Error: write failed" if the target exe is open. Windows locks the file.
So you need to either save as a new name. Or close the app before re-assembling. |
|||
![]() |
|
mangoe 01 Apr 2022, 01:24
Ali.Z wrote: also ExitProcess requires an argument to be passed, refer to https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-exitprocess i think that you assumed me to have some experience with programing. To be honest i am also new with programing too, in fact i am cosidering a carres change, that why i am learning C and asembly at the moment. Can you make it more detail what i need to do? ![]() ![]() ![]() |
|||
![]() |
|
mangoe 01 Apr 2022, 02:55
revolution wrote: You get "Error: write failed" if the target exe is open. Windows locks the file. I save it with a same name but into different folder and it works. Thank you very much. However i still don't know how it work, can you explain to me? I have no background on programing though. |
|||
![]() |
|
revolution 01 Apr 2022, 03:03
If you have "firefox.exe" open then Windows will lock the file so you can't write to it. This is the same for your app. If you have it open, Windows prevents you from writing to it. So fasm can't update app.exe while it is running. Close it before updating.
|
|||
![]() |
|
macomics 01 Apr 2022, 05:41
revolution wrote: If you have "firefox.exe" open then Windows will lock the file so you can't write to it. This is the same for your app. If you have it open, Windows prevents you from writing to it. So fasm can't update app.exe while it is running. Close it before updating. |
|||
![]() |
|
mangoe 01 Apr 2022, 09:40
Ah i see it now, so i need to clear my previous run out of memory before starting a new one. Thank for all the help.
|
|||
![]() |
|
Ali.Z 01 Apr 2022, 16:41
mangoe wrote: Can you make it more detail what i need to do? Sorry, I did not open my eyes wide open; you can safely ignore my useless post. _________________ Asm For Wise Humans |
|||
![]() |
|
macomics 01 Apr 2022, 17:12
I haven't looked into the IDE for Windows before, but there is a suggestion. Add a setting that allows you to specify the path and name of the debugger program and the menu item that runs the program in the debugger.
Otherwise, newcomers will have similar incidents. Processes will hang in memory if they did not terminate on their own. |
|||
![]() |
|
ProMiNick 01 Apr 2022, 19:23
If newcomer can`t detect hang of compilled program or can`t destroy such app via Taskmgr he is not skilled enought to start programming from windows environment at all, even more he is not skilled enought to be user of such OS.
|
|||
![]() |
|
revolution 01 Apr 2022, 20:10
ProMiNick wrote: If newcomer can`t detect hang of compilled program or can`t destroy such app via Taskmgr he is not skilled enought to start programming from windows environment at all, even more he is not skilled enought to be user of such OS. |
|||
![]() |
|
macomics 01 Apr 2022, 21:22
ProMiNick wrote: If newcomer can`t detect hang of compilled program or can`t destroy such app via Taskmgr he is not skilled enought to start programming from windows environment at all, even more he is not skilled enought to be user of such OS. |
|||
![]() |
|
ProMiNick 01 Apr 2022, 22:10
there is no sense in talking about improvement and creation.
Willing to improve? - do it. The main problem is what? failed compilation if output is locked by exe execution. So in moment where output name of compilation is resolved (somewhere before write from fasm.inc called) there could be forced try of taskkill of process that could exist & lock output. but if fasm will start to kill processes it will be classified as attacking software. And this feature could be exploited in abnormal way. |
|||
![]() |
|
mangoe 02 Apr 2022, 03:31
ProMiNick wrote: If newcomer can`t detect hang of compilled program or can`t destroy such app via Taskmgr he is not skilled enought to start programming from windows environment at all, even more he is not skilled enought to be user of such OS. Well as i said i have no background in Computer science at all and i want a career change that why i want to learn about programing. But you are right i am not skilled enought to be user and to start programing in Window enviroment, that's why i am learning because i'm always curious about how computer and programing work. Be patient man or you can just ignore my post from now on cause i gonna ask millions more stupid questions about flat and asembly. |
|||
![]() |
|
mangoe 02 Apr 2022, 03:35
Ali.Z wrote:
That's my fault. Thank you for your time answering my post. |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.