i'm a total n00b to c++, and i am working on a dll to extend a VB program. I want to pass a picturebox or its hdc to the c++ function, and have the function to return the array of pixels. i know how to use functions and arrays in c++ and all that, but i just need to know how to use pictureboxes/hdcs and get the pixels contained in them