LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

GetBitmapFromFile: error loading 1 Pixel width jpg file

Hi,
I've got the following error message, when I tried to load the small (1 x 13 pixel, see attachment) bitmap with function "GetBitmapFromFile". This message occurs in LabWindows 6.0 and also in 7.1:

Library function error (return value == -92, Unexpectedly reached end of file

this is my code:

#include "userint.h"
int main (int argc, char *argv[])
{
int BmpID, Res;
Res = GetBitmapFromFile ("F5C101.bmp", &BmpID);
return 0;
}

who can tell me what's going wrong?
0 Kudos
Message 1 of 1
(3,031 Views)