VB Code:
  1. Dim surfaces() As DirectDrawSurface7 'all the surfaces

i get an error that says the "User defined type not definded" but thats not what the problem is because the line before
VB Code:
  1. Dim Mainsurf As DirectDrawSurface7
works fine

does that type just not work with dynamic arrays and vb is confused as to what the error is or is there another problem
tell me if you need to see more code.

thanks