foreach range construction bug?!!?!?!?

Tavi Cacina octavian.cacina at outlook.com
Sun Jan 6 23:57:38 PST 2013


Am 06.01.2013 19:59, schrieb Phil Lavoie:
> Now here is what is really troubling me, the non defined version (using
> the import library) crashes when the range constructor is called inside
> the foreach statement, which is weird by itself. In addition, in DOES
> NOT crash when the functions are artifically defined. Anyone seen that
> before? Or maybe I am doing something wrong?
>

I had once some crashes when calling code in an external dll (on 
Windows). The problem went away after I've changed the declaration from 
extern(C) to extern(System). It may be worth trying.

Tavi.




More information about the Digitalmars-d-learn mailing list