Hey Stromausfall, I'm in need to customize the wrapper a little bit so I can access some of the parameters of the Native structs.

Specifically I need to get the 'dy' member of the NativeFont struct. I tried adding this to the 'FONT' class...
Code:
private Var dy_ = null;
        public Var dy
        {
            get
            {
                unsafe
                {
                    if (dy_ == null)
                    {
                        dy_ = (Var)(IntPtr)(&((*FONTPointer).dy));
                    }
                }
                return dy_;
            }
        }


...yet I'm always getting 0, where as testing in lite-c gives me the value of 20.

Last edited by DJBMASTER; 01/19/10 00:13.