Latest Uploads
Kuron Cap Get!

rychan

Merry Christmas

Jayenkai

Invasion V ... tup screen

rychan

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

Jayenkai

PixeLink - ... oween 2014

rockford

PixeLink P ... zle Editor

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
VR Stuff
rychan Sun 16:18
Great Big Youtube thread
Jayenkai Sun 14:17
CVG website closing Down
Jayenkai Sun 11:24
Daily Doodles
Jayenkai Sun 03:05
RIP : Leonard Nimoy
Jayenkai Sun 01:46
GTA 5 PC Screenshot
Hotshot Sat 12:57
Happy Birthday Pakz
Hotshot Sat 12:54
Happy Birthday Jayenkai and Toaster!
Hotshot Sat 12:53
Scary Outdoors
steve_ancell Sat 09:52
FauxLego
Kuron Thu 18:11
More

Latest Items
Snippet : IFS Fractal Viewer
Andy_A Mon 14:20
Snippet : Rotating Sphere
Andy_A Tue 14:25
Showcase : Futrino
Jayenkai Thu 06:16
Showcase : Millenipede
Steve Elliott Mon 17:44
Showcase : Flappy New Year
rychan Wed 02:49
Snippet : Simple stack-based interpreter
tbohon Wed 12:08
Link : Protolol
Afr0 Tue 10:53
Showcase : Santa's Workout 2
jayparker Tue 00:43
Dev-Diary : Stripping it All Away
Jayenkai Mon 01:57
News : Newsletter #245
rychan Fri 06:36
Showcase : GPS Fun Runner 3D
zzoom Wed 15:35
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
More

Who's Online
Hotshot
Sun, at 16:34
rychan
Sun, at 16:29
Jayenkai
Sun, at 16:08
rockford
Sun, at 15:55
Pakz
Sun, at 15:50
zzoom
Sun, at 15:16
blanko1324
Sun, at 14:42
shroom_monk
Sun, at 14:31
spinal
Sun, at 14:23
Dabz
Sun, at 09:40
Link to this page
Site : Jayenkai 2006-Infinity | MudChat's origins, BBCode's former life, Image Scaler.