Latest Uploads
Merry Christmas

Jayenkai

Invasion V ... tup screen

rychan

image-07-1 ... -20-59.jpg

Jayenkai

PixeLink - ... oween 2014

rockford

PixeLink P ... zle Editor

rockford

PixeLink

rockford

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
Smash Bros 3DS/WiiU
Jayenkai Sat 09:31
NerdBlock
rockford Sat 06:42
Advent Calendars 2014
rockford Sat 06:36
Festive Pics
Jayenkai Fri 09:34
Penguin Party
rychan Fri 04:17
Christmas Poo
Jayenkai Thu 18:43
iOS dev on Windows.
steve_ancell Thu 14:33
Foodless
rychan Thu 13:52
Cold Neck = Sore Neck
rockford Thu 11:30
OUYA Download Stats
rychan Thu 09:40
More

Latest Items
News : Newsletter #245
rychan Fri 06:36
Showcase : GPS Fun Runner 3D
zzoom Wed 15:35
Showcase : Santa's Workout 2
Jayenkai Wed 08:10
Showcase : The Biggest Snowman
rychan Mon 01:06
News : Newsletter #243
Dabz Thu 03:29
Dev-Diary : Scaling Back
rychan Wed 14:33
Showcase : Alpha Collexion
rychan Wed 06:23
Life : Health Update
rockford Thu 12:41
Blog : Powerball Hack
steve_ancell Tue 18:47
Hols : Advent Calendars
rychan Wed 04:56
Life : MIA until better
Jayenkai Mon 07:03
News : Newsletter #241
steve_ancell Thu 20:46
Snippet : Monkey Framework - HTML Layout
steve_ancell Thu 08:35
Woot : : Update on hand issues
rychan Fri 10:00
:
Wed 17:00
More

Who's Online
Jayenkai
Sat, at 18:01
steve_ancell
Sat, at 17:45
shroom_monk
Sat, at 16:49
rockford
Sat, at 15:25
spinal
Sat, at 13:11
blanko1324
Sat, at 12:43
9572AD
Sat, at 12:03
CodersRule
Sat, at 09:44
rychan
Fri, at 16:46
zzoom
Fri, at 15:55
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.