On 11/8/2014 7:03 PM, Jason den Dulk wrote: > > It looks like its trying to access the stuff as D code rather than C > code. Can anyone shed some light on what the problem might be? Anything in an extern(C) block *is* D code. The extern(C) bit just affects the name mangling.