Latest Uploads
PixeLink P ... zle Editor

rockford

PixeLink

rockford

image-21-0 ... -21-29.jpg

Jayenkai

image-15-0 ... -19-40.jpg

Jayenkai

image-15-0 ... -20-07.jpg

Jayenkai

Bumble Bee

dna

Forum Home

Loading problem

UserMessage
Posted : Saturday, 19 March 2011, 15:31 | Permalink
dna


In this code I have a problem getting the jpg to load.

-->

I'm stopping the program at that point and cannot get the variable to be other than zero (0).
the code and the images are in the same folder. I save the source code in the same folder and even tried compiling and making a exe and then running the program, thinking that it was a system 7 nuance.


-----
DNA
Posted : Monday, 21 March 2011, 21:06 | Permalink | Mark Here
Teasy


here are some questions
that may help you figure out the problem.

- does floor.jpg load with loadimage?

- can the floor.jpg file be opened directly via 'explorer'
without intervention of the file stream system
asking 'do you want to open file file?'

- are you sure it's really a jpg file
and not, say, a bmp file with a jpg extension?

- can floor.jpg be opened by some other programs?

- does blitz return '1'
when examining the file with FileType?

- does blitz return a non-zero value
when examining the file with FileSize?

- does blitz return 'True'
on opening the file with ReadFile?

more questions are available if you need them
Homepage : http://www.bettiesart.com/tc/contact
Latest Posts
RIP : Lynda Bellingham
Jayenkai Mon 01:21
Games To Avoid
Kuron Sun 18:59
Happy Birthday, Rychan
Kuron Sun 11:32
How's things?
shroom_monk Sun 05:22
AGameAWeek Progress Report
Kuron Sat 19:10
Holy Flying People, Batman!
Kuron Sat 17:11
Making An Advent Calendar Collection
Jayenkai Sat 09:47
Ah, the memories...
Jayenkai Sat 04:52
Marginally Overpriced WebDev
Kuron Fri 11:00
Rock, Paper, Something...!
Kuron Fri 06:34
More

Latest Items
Techy : My Newest Toys
Jayenkai Sun 04:16
News : Newsletter #239
Jayenkai Sat 05:34
Showcase : Preppie!
Jayenkai Fri 13:00
Rant : I Stubbed My Toe...
steve_ancell Tue 09:47
Blog : Bedroom 2.0
Kuron Mon 18:59
Link : Message(s) from the grave
Jayenkai Tue 09:27
Blog : 20 Years Ago....
steve_ancell Mon 15:28
Life : Back Online
Kuron Tue 11:48
Showcase : Munky Blocks DX
Jayenkai Mon 07:06
Showcase : Little Nemo's Nightmare
Jayenkai Sat 04:14
News : Newsletter #234
rychan Fri 08:02
Showcase : Space Rocket Adventurers
HoboBen Thu 16:56
Blog : Health Update : August 2014
Jayenkai Sat 11:31
Techy : Back from Game Dev Con!
Jayenkai Sun 16:52
Family : Sunday
Jayenkai Wed 03:31
More

Who's Online
Jayenkai
Mon, at 03:12
spinal
Mon, at 03:03
rockford
Mon, at 02:44
rychan
Mon, at 02:23
shroom_monk
Mon, at 02:19
Afr0
Mon, at 02:15
Kuron
Mon, at 00:56
HoboBen
Sun, at 23:19
Dabz
Sun, at 23:04
dna
Sun, at 19:37
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.