cannot convert parameter 1 from 'char *' to 'LPCWSTR'

前端 未结 5 907
北海茫月
北海茫月 2020-12-15 06:45

Im trying to load a BMP file

AUX_RGBImageRec *LoadBMP(char *Filename)  // Loads A Bitmap Image
{
    FILE *File=NULL;                      // File Handle

           


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-15 06:54

    Looks like your trying to use two different character sets. 'char ' is the typical ANSI and LPCWSTR is the wide character (i.e. unicode). If you would like to use char change the 'Character Set' property in your project setting to 'No Set'.

提交回复
热议问题