Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / a funny error

Author
Message
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 27th Jul 2005 09:08 Edited at: 27th Jul 2005 09:09
if you take a look at the screenshot below notice the red circle has 2 variables: temp and temp1
these variables contain the exact same string, one loaded from a file and one hard coded

the problem is the hard coded one loads the image fine, the one read from a file doesnt, and dbImageExists() returns 0 for the image...

anyone seen this before?

EDIT: i attached the screenshot because i dont think google will let me link to it

OSX Using Happy Dude
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location: At home
Posted: 27th Jul 2005 18:06
Its more of a coding problem on your part - probably the variables are getting overwritten...

This works fine :



AtomZ - its got an A. Its got a Z. Now its just needs U
Blog:http://spaces.msn.com/members/BouncyBrick/
Web Site:http://www.nicholaskingsley.co.uk
matt rochon
21
Years of Service
User Offline
Joined: 15th Mar 2003
Location: Canada
Posted: 28th Jul 2005 08:50
that works fine for me too but the other one i showed doesnt

temp is the variable i want to use, it reads the filename from a hash table and loads the image, in the screenshot you can see both have the same data, but the one from the hash table doesnt work... been stepping through it all day lol

anyways im sure ill figure it out

Login to post a reply

Server time is: 2024-03-29 15:57:23
Your offset time is: 2024-03-29 15:57:23