Page 1 of 1
Using DevIL
Posted: Tue Apr 25, 2006 5:14 pm
by dos mes
I'm trying to get DevIL to work with Visual Basic 2005. I've looked at the samples and everything but I can't get the referance or loading the image to work. Does anyone know how to use DevIL?
Posted: Wed Apr 26, 2006 5:48 am
by Kurroda
Man i think its the library i had the code perfect but it still gave me an exception.
Posted: Fri Apr 28, 2006 1:13 pm
by Zenaku213
Quick little thing...
Code: Select all
Dim bitm as System.Drawing.Bitmap
bitm = DevIL.DevIL.LoadBitmap(filename)
PictureBox1.Image = bitm
Posted: Fri Apr 28, 2006 1:15 pm
by Kurroda
yeah never said i didnt know how the library doesnt work.