ilload -> can not open; illoadimage -> invalid_extension
A full featured cross-platform image library
Brought to you by:
doomwiz
Hi,
i used this librarary (1.6) with Excel2010 VBA for years. Now i have Excel 2019 x64. Neither x86 nor x64 1.8-library nor unicode version is working. I get the best results with x64 unicode library.
VBA Code:
Call ilInit
If devil_Check > 0 Then GoTo err_msg ' OK
Call ilGenImages(&O1, lIName)
If devil_Check > 0 Then GoTo err_msg ' OK
Call ilBindImage(ByVal lIName)
If devil_Check > 0 Then GoTo err_msg " --> OK
X = ilLoad(IL_JPG, "copy.jpg")
If devil_Check > 0 Then GoTo err_msg ' --> could not open file, but it is there
or:
X = iluLoadImage("copy.jpg")
If devil_Check > 0 Then GoTo err_msg ' --> invalid extension, but location and extension are OK
Please check.