www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: Database connection...

JC wrote:

Perhaps the compiler could read the PATH environment variable, and
then have an option to do a recursive search for .d files on that
path. But that would compile everything it found, which often is not
what you want.

There are explicit information about what to import in the source files. I'm not a compiler programmer but I think that would be enough. Brad Anderson wrote:
I have wrappers for FreeTDS (http://www.freetds.org) that wrap its
ctlib portion of code.  They were generated with bdc.gen, and I was
able to get a D program talking to MSSQL.

However, it's a bit low-level, and I have plans on integrating it
with the DDBI lib on dsource - http://www.dsource.org/projects/ddbi.
Let me know if you want it in it's rough form.

Thank you, I'll try them as well. :)
Oct 30 2006