Latest Uploads
King Salmon

Pakz

Snooker

Jayenkai

You've ... o have you

Jayenkai

Merry Xmas

Jayenkai

RCT Classic on iOS

Jayenkai

Oops

Jayenkai

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
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
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 549|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Latest Posts
Hurricane Doris vs Shed Roof
steve_ancell Wed 20:23
PIP Crap
Jayenkai Wed 16:45
What Have You Done? - Feb 2017
rockford Wed 12:23
SSL Options
Jayenkai Wed 11:31
AGameAWeek : 2017 - Part One
Jayenkai Mon 08:35
Nintendo Switch Indies
rychan Mon 02:48
UWP Languages
rskgames Sun 05:05
Switchmas
rockford Sun 04:24
Happy Birthday, Mrs Rockford
rockford Fri 05:30
Pokemon Go
Jayenkai Fri 04:46
More

Latest Items
Snippet : Wall Tracing on Random Maps (rpg)
Pakz Wed 18:56
Blog : mini project
Jayenkai Tue 06:23
Snippet : Path Following
Pakz Mon 16:25
Dev-Diary : PS2 to N64 Adapter
spinal Mon 01:53
Snippet : Flowers (Jan 2017)
Kuron Thu 01:13
Showcase : Clusters of Hex
therevillsgames Mon 15:01
Article : Maths 101 - Episode 1: Basic Trigonometry
shroom_monk Sun 14:07
Article : Maths 101 - Episode 5: Line Intersection
shroom_monk Sun 14:02
Dev-Diary : Normals and Dot products
Pakz Sat 20:37
Pets : Molly On The Couch
Jayenkai Thu 04:32
Showcase : Between Space
Pakz Sun 12:55
Snippet : Additive Particle Flames
Pakz Fri 18:12
Snippet : Maze 2d - Recursive Backtracker
Pakz Sun 07:34
Snippet : Bush fire maps
Pakz Wed 09:43
Woot : My Music
Jayenkai Sat 14:20
More

Who's Online
steve_ancell
Wed, at 20:27
rskgames
Wed, at 20:21
Pakz
Wed, at 19:43
Jayenkai
Wed, at 18:27
9572AD
Wed, at 18:26
Evil Roy Ferguson
Wed, at 17:04
rockford
Wed, at 15:56
shroom_monk
Wed, at 15:01
HoboBen
Wed, at 14:40
Andy_A
Wed, at 12:43
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.