flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > FASMW cant find include files when opened with a file

Author
Thread Post new topic Reply to topic
wisepenguin



Joined: 30 Mar 2005
Posts: 129
wisepenguin 02 Aug 2005, 01:46
if i create a shortcut to FASMW.EXE by right clicking in explorer and choosing "Create shortcut" then place this in the start menu.
now i run it.
open one of the samples, like "hello.asm"
press F9 to compile and it works fine, the box appears "win32 assembly is great"

now, if you double click the EXE in explorer, or modify the registry to allow ASM files to be automatically opened in FASMW

HKEY_CLASSES_ROOT\.asm\shell\Open in FASMW\command\
default value = "C:\Program Files\fasmw162\FASMW.EXE" "%1"
with all the quotes !

it opens correctly in FASMW but pressing F9 says "cant find include file"

i have set INCLUDE to the fasm include dir, and FASMINC to the same dir, because i read somewhere about FASMINC.

if you double click the EXE in explorer then File->Open hello.asm, it still cant din the include file when compiling.

windows xp sp 2 if it helps
Post 02 Aug 2005, 01:46
View user's profile Send private message Reply with quote
wisepenguin



Joined: 30 Mar 2005
Posts: 129
wisepenguin 02 Aug 2005, 01:52
sorry, forgot to add its using FASM 1.62
Post 02 Aug 2005, 01:52
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4623
Location: Argentina
LocoDelAssembly 02 Aug 2005, 03:57
A question: it doesn't work with this in fasmw.ini?

[Environment]
Include=C:\Program Files\fasmw162\include

I don't know exactly how you have setted your INCLUDE but if it's not a full path maybe the problem is FASMW use as INCLUDE directory something like "CurrentDirectory\include".

I'm using FASM on Windows 98 and works fine with Include setted in FASMW.ini

Sorry my English is really bad Sad
Post 02 Aug 2005, 03:57
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.