enforce()?
BCS
none at anon.com
Sun Jun 20 21:42:34 PDT 2010
Hello Leandro,
> If the DLL has a bug, it will explode anyways.
A DLL can work just fine (a.k.a. not explode) and still return garbage as
long as it never depends on not seeing the kind of garbage it's producing.
Say for instance it's written in D and returns a string with a missing \0
as a char*/length, the DLL works just fine but a printf blows up.
> You
> are just trying to catch programs bugs in the DLL,
Exactly.
> which seems overly
> patronizing to me.
Um, it doesn't to me.
> Why will you assume I'm so dumb that I won't use your interface correctly?
First because some people are. And second, because it trivially easy to respond
to support calls that start with "Your DLL is throwing a YouAreNotUsingThisDLLCorrectlyRTFM
Exception" <joke/>.
--
... <IXOYE><
More information about the Digitalmars-d
mailing list