Why don't you use the function CWIMAQImage.ImageToArray which will give you a pixel array of the image and that you can use in VB or C. Call it like any other datatype, CWIMAQInage is a activeX control which would be hairy to pass around.
Hope it helps.