ShellExecute

Jarrett Billingsley kb3ctd2 at yahoo.com
Tue Feb 12 17:43:55 PST 2008


"Sergey Gromov" <snake.scaly at gmail.com> wrote in message 
news:MPG.221c192f273aa432989691 at news.digitalmars.com...

>
> Thanks.  I did know what the specs were saying, I was just wondering if
> I missed something.  I also know that it does work without `export'---
> because I've tried.  Is it a left-over from an earlier versions of the
> language ?  The example-driven programmers keep copying this code
> around, making it sort of common practice...

I think it's used when exporting a symbol _from_ a library/app (i.e. as a 
symbol to export from a DLL, which does actually work), but when dealing 
with external symbols, I'm not entirely sure what it's supposed to do.  I 
suppose if it works fine without it, there's no need for it.  It might just 
be one of those cases where D ignores spurious protection attributes. 




More information about the Digitalmars-d-learn mailing list