This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Why is this an error?


Why is this an error?

Postby R0B » Jun 3, 2002 @ 11:59pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby R0B » Jun 4, 2002 @ 12:40am

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby BurningSheep » Jun 4, 2002 @ 12:45am

Last edited by BurningSheep on Jun 4, 2002 @ 12:47am, edited 1 time in total.
Do you want custom Snails levels? Click
User avatar
BurningSheep
pm Insider
 
Posts: 1226
Joined: Apr 12, 2002 @ 11:49pm
Location: The Netherlands


Suggestion

Postby fzammetti » Jun 4, 2002 @ 12:46am

fzammetti
 


Postby Dan East » Jun 4, 2002 @ 1:17am

User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby R0B » Jun 4, 2002 @ 1:36am

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby R0B » Jun 4, 2002 @ 1:53am

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby R0B » Jun 4, 2002 @ 2:16am

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby R0B » Jun 4, 2002 @ 2:27am

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby Dan East » Jun 4, 2002 @ 6:30am

First off, I would check the return code of fseek to make sure it isn't failing first. ferror returns the current error code, even if it wasn't set in the last function call (the only things that clear the error code is clearerr, fclose and the unsupported rewind function). The Windows system error number 32 is "The process cannot access the file because it is being used by another process." I don't know if that corresponds to the errors as returned by ferror or not. Whatever creates fpse.ini is not writing to it while you're trying to read, is it?

Also, remember that it is possible for the filesystem on your Pocket PC / Storage Card to become corrupted. It is just a standard FAT filesystem. If the file is corrupted errors could certainly be encountered when trying to read it. Try pulling it up in Pocket Word or copying it over to your PC.

Dan East
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby R0B » Jun 4, 2002 @ 7:51pm

"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby R0B » Jun 4, 2002 @ 8:57pm

Ok, as I pound a book into my head, I think I fixed the problem (knock on wood). It appears as if another file included in the program defined fopen, fseek,... with it's own set of comands. Now, I have fixed that, and here is hoping that it will work :arrow:
"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby R0B » Jun 4, 2002 @ 9:07pm

Yep, that was it. I wasted a day of programing because a simple fopen was declared incorrectly. Wow, am I pissed right now.
"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Postby Malmer » Jun 4, 2002 @ 9:20pm

All your base are belong to us
User avatar
Malmer
pm Member
 
Posts: 768
Joined: Apr 26, 2001 @ 5:15pm
Location: Sweden


Postby R0B » Jun 4, 2002 @ 9:49pm

Good call
"1011001010 NNNNNNNNNNOOOOOOOOOOOOOOOO!!!!!!" -Bender
User avatar
R0B
got muffins?
 
Posts: 1894
Joined: Jun 22, 2001 @ 12:04pm


Next

Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron