On 17.01.2009 04:30, Jordan Miner wrote: > extern unsigned long rb_cObject; > > so in my binding I have > > extern uint rb_cObject; For accessing variables in a DLL, you need to do it like this: export extern (C) extern uint rb_cObject;