Posted on 1999-01-27
We have a program that takes an image from a CCD camera and analyzes it as well as displays it. This program works fine on our initial computer and on our server with archived data (no camera).
We have just expanded new computers and camera, however this code refuses to display the images on the new computers. It does get the data though, as the analysis are still correct. Perhaps someone can see a flaw that we are missing....
All computers are running NT (3 workstation and 1 Server) the two that will not display are running Workstation.
Here is the peice of code that should display. It generates no errors and there are no problems when stepped through in debug mode.
//bitbuffer - 262144 bytes of data
Bitmap = new CBitmap;
Bitmap->CreateBitmap( 512, 512, 1, 8, bit_buffer);
if(Bitmap != NULL)
dc.BitBlt(10,10,512,512, &memoryDC, 0,0, SRCCOPY);
Thanks for your help!