Hi,
After reading this thread: http://www.vbforums.com/showthread.p...hreadid=209455 I found a link to the following site, which describes how to use a pointer as the fastest way to plot single pixels: http://rookscape.com/vbgaming/tutAY.php , but I'm having some problems with it.
At the beginning it declares the variable 'sa' as a 'SAFEARRAY2D' to store the image's data in, but when the data has been assigned and the CopyMemory function is used, with the variable 'sa' as the source of the data, I get the following warning:
Compile Error:
Type mismatch: array or user-defined type expected
If anyone could take a look at the code in the link and see why it might be doing this I would be very greatful,
Thanks,
ISDP




Reply With Quote