I don't like to be a nuisance, so I tried to solve this on the halp board so that I could at least provide a workaround. Sadly, can't. Anyway, details:
Relevant Information:
DBP Installer Pack:
DBProFreeInstaller251111.exe
OS:
Windows 7 Home Premium x64
Problem:
The #INCLUDE command doesn't work. It won't try to compile. Whether or not: the included file is added to the project, the included file is in the project's directory, the included file is in the temporary folder DBP uses or all/none of the aforementioned. I have double/triple checked my path and even pasted it from explorer. Still error. Eventually enabled output window. According to the output, it is a "syntax error".
#INCLUDE "yourpath/yourfile"
rem I see no problem - aside from lack of creativity in the example code
It's definitely the editor doing it. I copied the "compiler" directory from the new version to my old version and invoked the old editor (It's easier than copying the editor from the old to the new and getting it working). Anyhow, DBPro runs like a dream now (sans the awesome editor environment from the new one ;_; but anyway). Dunno what's causing the error beyond that apart from speculation by other users. Btw, it's not my security systems. I did an absolutely clean run and still got problem.
Speculation:
I've had suggestions that it could be DEP. I've disabled it (so much as you can in windows 7) but I was told it could be happening at CPU-level because of hardware DEP (which my CPU supports). My laptop's bios offers no hardware alteration so I can't test that theory. Hopefully this information's enough to track it down. Personally though, the more I think about it the more I wonder how DEP could affect #INCLUDE. My understanding was that #INCLUDE just appended the include-file to the source file at pre-compile (standard disk operation like saving, except the output is the temp source dump). Therefore DEP shouldn't affect it or am I missing something?
Optional Drivel: (little relevance to bug report)
To TGC staff and people who know what's <i>really</i> going on:
A relative in England (where I'm emigrating soon) has bought me
DBPro + extras pack (when TGC had that sale on recently. Think
it ended 24/12/2011). Anyway it's waiting for me when I get there.
Will this bug be present in that version?
Really love the new editor environment. Looks so professional and has
nice that Keystate Helper (seriously, 12/10 for that). So I don't want
to be stuck with old one. That's why I ask.
Will post a reason or solution if I find one (I doubt I will though).