flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
ProMiNick
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
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
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
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
ProMiNick wrote:
i try and it gave me "Error: write failed" warning, so confusing. Does it case sensitive? |
|||
![]() |
|
revolution
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
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
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
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
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
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
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
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
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
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
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
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
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
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.