   InitD3D8 Problem
  I'm trying to get my code to initialize and render Direct 3D 8 through a class I reference with a global pointer to that class.  I don't know what the problem is, maybe it's what I'm passing, not sure though.Here's my code