Re: _tfopen() problem



Well, we might have some hope if you gave something other than the vague "didn't work"
nonsense most people seem to think constitutes a proper question. How didn't it work?
What error code was returned? How do you know what device you were actually using as the
'current directory' at the time (my Pocket PC has both internal and external devices, such
as a memory card). Reporting "didn't work" without saying what happened merely means you
have a bug. If you want help fixing it, you need to say EXACTLY what went wrong.
Obtaining the current working directory and saying what it was would be a big help, also.
joe
On 12 Feb 2006 23:14:13 -0800, "grubbymaster" <grubbymaster@xxxxxxxxx> wrote:

Hi

I'm building an application for Pocket PC's , and i want to save data
in a file in a specified path.I'm saving the file like this FILE *f =
_tfopen(TEXT("profiles.txt"),TEXT("a"));Can someone provide a method or

aexample on how to specify a certain path , like for example :
"\Program Files\MyApp".I've tried FILE *f = _tfopen(TEXT("\\Program
FIles\\MyApp\\profiles.txt"),TEXT("a")); and it didn't work.


10x
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.



Relevant Pages

  • Re: infinity
    ... > that x is larger than any number you can specify. ... > The only way for me to make sure that my number is bigger ... >>It doesn't prove that value is infinite, ... > That's what people are saying. ...
    (sci.math)
  • Re: infinity
    ... >>> FINITE number greater than any finite you specify. ... > infinite, because there is always a larger finite value than any finite value ... they are equivalent in everyday English. ... then it would be equivalent to saying it's infinite. ...
    (sci.math)
  • Re: Crank It With Travis Barker
    ... Not sure what you're saying there. ... He's more than in the pocket and (as you ... do those drums sound choked to you? ... one song, cut lose!! ...
    (rec.music.makers.percussion)
  • Re: SPF
    ... since a lot of places don't check the SPF records, few places specify ... that you should hard-fail mail from unauthorized addresses with most ... saying that mail can come from anywhere besides the listed addresses, ...
    (alt.os.linux.suse)
  • Re: Scofield/Jordans latest - WOW!
    ... I'm not saying anything of the kind about JOHN SCOFIELD. ... I'm not denying that the drummer's pocket is fat. ... And after a few more listens I stand by my assertion, but I might be inclined to place the blame more on the bass player than the drummer. ...
    (rec.music.makers.percussion)

Quantcast