File name impact !!

Login to reply to this topic.
Mon, 2006-05-01 06:06
Joined: 2006-01-09
Forum posts: 105
Hi Developers :

i would like to know one thing...
Can application crash due to file name ?

after crash it showed :

Reason code : USER
Reason number : 7

In my application, files name was : Cxxxxxx.h and Cxxxxxx.cpp

i just removed the very first letter C .. and everything was fine...

i was amazed and stunned...

so i would like  to know the concept behind it??

Cheers!!
CodePupil

Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!


Tue, 2006-05-02 06:05
Joined: 2006-01-09
Forum posts: 105
Re: File name impact !!
Hi Experts Smiley

I am still looking for solution.....



waiting...
CodePupil

Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!

Tue, 2006-05-02 07:25
Joined: 2003-10-21
Forum posts: 40
Re: File name impact !!
Hi CodePupil,

Your application can crash if the file name is obscene. On some countries,xxx is not acceptible.
Just kidding man!  Grin
There's probably something you're doing wrong with your file name descriptor. Post your code and we'll have a look.

Imzadi
Wed, 2006-05-03 11:31
NewLC AdministratorSymbian AccreditedForum Nokia Champion
Joined: 2003-01-14
Forum posts: 2006
Re: File name impact !!
Actually, just rebuilding the application is sometimes the solution especially if:
- you have modified some defines / inline functions
- or working with unfrozen interface
- or ...

Codewarrior is not always very good at detecting when a file shall be recompiled or not.

Eric Bustarret
NewLC Founder & CEO / Professional Symbian OS Consultant

Thu, 2006-05-04 13:28
Joined: 2006-01-09
Forum posts: 105
Re: File name impact !!
Hi

Thanks for your replies...
but ...  still unsatisfied.....
well...just looking for better solution....



Cheers!!
CodePupil

Thanks and Regards
CodePupil
__________________________
You are I and I am he .. !!

Thu, 2006-05-04 13:50
Joined: 2005-11-20
Forum posts: 1242
Re: File name impact !!
If Eric's theory is correct - and I think this is highly probable - you can now safely rename your files back to the original names Cxxxxxx.h and Cxxxxxx.cpp, and the crash will not come back.

Still unsatisfied if this turns out to be so?  Smiley

René Brunner

Thu, 2006-05-04 13:53
Joined: 2005-03-30
Forum posts: 206
Re: File name impact !!
after u removed C letter.. u have to remake your project and rebuild... so i think it had nothin to 2 with your file name. i think u made some changes in code... and didn't rebuild.... cheers

guda

  • Login to reply to this topic.