Using DevIL

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
User avatar
dos mes





Posts: 2158
Joined: Thu Dec 29, 2005 9:58 pm
Location: Syracuse, NY

Using DevIL

Post 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?
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

Man i think its the library i had the code perfect but it still gave me an exception.
Image
Zenaku213





Posts: 185
Joined: Thu Jun 02, 2005 12:09 pm
Location: In your walls.

Post by Zenaku213 »

Quick little thing...

Code: Select all

Dim bitm as System.Drawing.Bitmap
bitm = DevIL.DevIL.LoadBitmap(filename)
PictureBox1.Image = bitm
CLuis wrote:Being goth is a disease.
All those losers in gym must have it then.
Kurroda





Posts: 1737
Joined: Sat Sep 03, 2005 10:01 am
Contact:

Post by Kurroda »

yeah never said i didnt know how the library doesnt work.
Image
Post Reply