12-06-2022, 09:27 PM
The invalid handle happens if you don't get a jpeg and put in in your local folder named as image1.jpg
In the code, picture$ = "image1.jpg"
temp = _LOADIMAGE(picture$, 32): _SOURCE temp
So if no image1.jpg in the folder, no handle.
I just renamed one of the jpegs already in my QB64PE folder, and it worked fine, as advertised.
Pete
In the code, picture$ = "image1.jpg"
temp = _LOADIMAGE(picture$, 32): _SOURCE temp
So if no image1.jpg in the folder, no handle.
I just renamed one of the jpegs already in my QB64PE folder, and it worked fine, as advertised.
Pete