Re: query on pocket pc emulator and device

r_z_aret_at_pen_fact.com
Date: 03/07/05


Date: Mon, 07 Mar 2005 14:48:09 -0500

On Sun, 6 Mar 2005 23:21:43 -0800, "Naveen koul"
<Naveenkoul@discussions.microsoft.com> wrote:

>
>Hello Sir,
>
> i have moved a little bit up.
>First i want to tell you exactly what is happening .As you had told me to
>use debugger . I have used debugger it is not generating any error at any
>sort of point .it is moving with ease.
>Then i thought why not to check the path i was providing to the files which
>my exe looks forat run time .I have got some files which i used to copy
>in to my emulator device at location"My Device" at this place my exe is also
>formed. so when i cliciked the exe it is working fine. Later i checked the
>path on my device and i did found i was placing it at wrong place . so now i
>brought all my files and release exe in "My Device" of my pocket pc
>device.And iwhen i clicked it my exe came into operation and when it moved
>little bit further it showed up me the same error again " out of memory".Then
>i loaded my debug version of my exe onto the device and when i clicked
>my exe it gave me error.Path for some the files missing or all the files
>are not being loaded..
>
>Now please tell me how should i give path to my files in evc++.
>at present i am giving like this

You can use GetModuleFileName to get the full path for your
executable. You can parse that to find files in the same folder.
Windows CE (including Pocket PC) does not understand relative paths,
so you must always provide full paths.

>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com



Relevant Pages

  • Re: query on pocket pc emulator and device
    ... I have used debugger it is not generating any error at any ... in to my emulator device at location"My Device" at this place my exe is also ... >> i am developing my application on pocket pc devicce but i was using emulator ... If the symptom does show with a debug ...
    (microsoft.public.pocketpc.developer)
  • Re: 0xc0000142 error with CreateProcessAsUser on XP only with VC 8
    ... Perhaps enable "show snaps" in gflags for the app .exe in question and set ... it as having a debugger associated with it. ... child process works when it is compiled with the older compiler, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Different variable results in debugger than in application
    ... "Armin Zingler" wrote: ... >> debugger than when I run the exe. ... the variable inifilename shows the ...
    (microsoft.public.dotnet.languages.vb)
  • Re: APP behaves differently in IDE vs EXE
    ... You can try using the VC debugger, ... settings, select the option "Create symbolic debug information", then create ... an EXE. ... >> time it takes to do something in the IDE over a compiled app ...
    (microsoft.public.vb.general.discussion)
  • Re: Disable breakpoints inside dll
    ... Trying to debug it with the debugger, the exe dose run but breakpoints inside the dll become automatically disable. ... We then attach to that process with the debugger, verify break points (usually having one set just after the MessageBox invocation, and click OK on the MessageBox. ... I would imagine the same thing works out for your .dll, and that unless you needed to debug something that happens as soon as you attach to the DLL, you may not even need to stop the program with a MessageBox. ...
    (microsoft.public.win32.programmer.kernel)