Latest Uploads
Bumble Bee

dna

Tires

dna

Guess The Remake

rychan

Julia Set Visualer

Andy_A

Julia Set Visualizer

Andy_A

image-07-0 ... -34-29.jpg

Jayenkai

Forum Home

Loading problem

UserMessage
Posted : Saturday, 19 March 2011, 14: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, 20: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
Jay's New Lumia 1020
Jayenkai Wed 16:13
Free SIMS 2
Jayenkai Wed 15:13
Good TV?
Jayenkai Wed 02:45
SAT:AM Loving
rockford Tue 08:18
AGameAWeek Progress Report
rychan Mon 23:57
[OUYA] AquaVenture
Jayenkai Mon 07:57
Happy Birthday to All
Jayenkai Mon 02:15
Mog's Village
Mog Sun 19:20
Faceless Piles of Shite
Dabz Thu 18:34
Dabz Takes Manhattan
Jayenkai Thu 18:32
More

Latest Items
Techy : Back from Game Dev Con!
Jayenkai Sun 15:52
Family : Sunday
Jayenkai Wed 02:31
Family : Good News (for once)
Kuron Tue 14:37
Showcase : Don't Tap The Zombies
therevillsgames Mon 15:26
Showcase : Mutant Monty
steve_ancell Wed 18:26
Blog : Update
Kuron Mon 12:52
Techy : New Laptop!?
Kuron Fri 14:52
Showcase : Ascension 2 Live Wallpaper
CodersRule Fri 12:48
Showcase : Saviors of Gundthor
CodersRule Fri 11:50
Showcase : Lava Monkey
rychan Tue 15:13
Blog : Mac Rant!
rockford Fri 13:48
Dev-Diary : Yup, another song
Kuron Wed 05:39
Pets : Old pic to share...
rockford Sat 16:01
Blog : EmuMenu
spinal Sat 10:07
Family : More bad news :c(
Kuron Mon 06:07
More

Who's Online
blanko1324
Wed, at 21:39
dna
Wed, at 20:37
Evil Roy Ferguson
Wed, at 19:13
steve_ancell
Wed, at 19:10
Jayenkai
Wed, at 16:21
rychan
Wed, at 15:46
rockford
Wed, at 14:31
spinal
Wed, at 13:33
Krakatomato
Wed, at 12:30
HoboBen
Wed, at 08:13
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.