Sorry that I can not type Chinese here, because my OS is English one.I used LoadImage() in another project which main project depended on to load image from file. The LoadImage() function is like this:hBitmap = (HBITMAP)::LoadImage(NULL, szFilename, IMAGE_BITMAP, 0, 0,
LR_DEFAULTCOLOR | LR_LOADFROMFILE | LR_CREATEDIBSECTION);But under winNT and WinXP OS, every time when window restart and Auto Launch the program (because I set it as windows startup program), this function fails, I traced and find out this function fails. The szFilename is passed correctly, the return value is just 0. Then I close it and start again program, it works fine. Also, if I do not start the program, just after the windows start, then click to run the progam, it works fine also. I also tried Windows Me, also works fine.Any help or suggestion is much appreciated!