Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Could not find file `C:\Program Files (x86)\ASM Visual\fasm\\prog8.exe" #6

Open
enjoysmath opened this issue Aug 25, 2021 · 6 comments

Comments

@enjoysmath
Copy link

enjoysmath commented Aug 25, 2021

When hitting run (debug or release) I just started all-of-a-sudden receiving this error message:

image

My system info:

ProductVersion: 1.1.4.0 Pro
ProductFullPath: C:\Program Files (x86)\ASM Visual\ASMVisual.exe
ProjectsFolderPath: C:\Users\FruitfulApproach\Documents\ASM Visual\Projects\
OS: Microsoft Windows NT 10.0.19043.0 (Microsoft Windows 10 Home x64) 
DotNetVersion: 4.8 or later (528372)
As admin: True
SetLang: en-US

;******* Additionally: *******
RAM: 15.9 Gb
CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
GPU: Intel(R) HD Graphics
Motherboard: 0WR7PY
Motherboard manufacturer: Dell Inc.

What did I do to cause this? I will try recreating the project, etc. and post back here.

@enjoysmath
Copy link
Author

Found what causes it. I was editing the very bottom of the file - the import section:

section '.idata' data readable import
	;library kernel32, 'kernel32.dll',
	library msvcrt, 'msvcrt.dll'
	import msvcrt, 	printf, 'printf',\
					fopen, 'fopen',\
					fclose, 'fclose',\
					fputs, 'fputs',\        ; these external functions must be wrapped by a gene within which the calling convention is kept / specified (?)
					exit, 'exit',\
					getline, 'getline',\

The IDE or FASM doesn't like the last ,\. So deleting them fixed the issue.

@alexeygritsenko
Copy link
Owner

Hi, I'm glad you solved the problem in code. However, this also looks like an ide problem. Compilation should have ended with an error, and it shouldn't have reached an attempt to start the program. Please send me an example of a project with such a situation.

@enjoysmath
Copy link
Author

enjoysmath commented Aug 26, 2021 via email

@enjoysmath
Copy link
Author

enjoysmath commented Aug 26, 2021 via email

@enjoysmath
Copy link
Author

enjoysmath commented Aug 26, 2021 via email

@alexeygritsenko
Copy link
Owner

@enjoysmath,

  1. Ok, if you can reproduce the situation please send.
  2. The bug with blank tabs has already been fixed and will be available in the next update.
  3. Ok, I'll keep your suggestion in mind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants