I have some images preloaded as below to compile with the program (so, I want to get them included inside of the final compiled exe-file).
Code: Select all
DataSection
Image0:
IncludeBinary "C:\Colors for PB\Image1.jpg"
Image1:
IncludeBinary "C:\Colors for PB\Image2.jpg"
Image2:
IncludeBinary "C:\Colors for PB\Image3.jpg"
Image3:
IncludeBinary "C:\Colors for PB\Image4.jpg"
EndDataSection
I would like to get the same value to a variable as Debug gives me.
Code: Select all
For Picture = 0 To 4
Debug (Picture)
Result = ImageID(Picture)
Debug Result
Next
0
-754642828
1
-234549321
2
151325117
3
2047151689
4
805638195
I just can't figure out how to get these debug values (0-4) to a variable as Result for example
Any idea how to do it, maybe I just missed something or am I just stupid once again?
Regards/
Ekix