Cast Object - get null

Namespace rswhite4 at googlemail.com
Thu Apr 19 01:48:45 PDT 2012


And which version do you use? I use DMD 2.059 on Windows 7.

I get this compile error with your code
object.Error: Access Violation
----------------
41943C
4192C7
40F75B
40BE90
40BECA
40BAEB
4206E1

If i comment out this part

     if (vs2 == vf) {
         writeln("equal");
     }


it works fine.


More information about the Digitalmars-d-learn mailing list