Hi.
I'm trying to make a Unix-like include/lib directory structure. I'm putting everything under "\Program files". The idea is to have only one directory to throw every header possible, be it .inc, .h, .whatever.
So I have this


Include\
ASM
ATL
MFC
STL


The problem is that I can't make MASM to read the .inc from the ASM directory. Even when I set up the INCLUDE environment variable to point to it.
In the code I use


include ASM\kernel32.inc


But it doesn't work at all.
Any ideas?
Thanks
Posted on 2002-09-28 01:12:53 by GogetaSSJ4
Possibly that is due to blank characters in the path name.
Try 'short' name (a.k.a. DOS 8.3 name) of the path.
Posted on 2002-09-28 01:46:19 by Starless
Shouldn't it work if I enclose the path in double-quotes?
Posted on 2002-09-28 16:39:54 by GogetaSSJ4
MASM has issues with blanks, whether quoted or not. Considering the release date, this is no surprise.

I remember there was a patch floating around to fix this, but I never gave it a try. That is only because I collected all files (which you are trying to collect) under c:\usr, and never had any problem. So, you might want to search for that patch, or actually try my solution post earlier, or develop your own directory hierarchy without blanks.
Posted on 2002-09-29 03:22:57 by Starless