c++mobilewindows-ceplatform-builder

Access desktop release directory from windows ce device


I am writing a test program to copy some file in Application data folder on device to release directory on desktop.

I am not sure how to access release dir on desktop?

Is there any shell command to do that?

Basically I want to write c++ program that will run on device to accomplish this task.


Solution

  • I found the solution

    There is API called CoyFile that can copy to release dir.

    CopyFile(Src file,Dest file,FALSE);

    Destination file can be given as

    ce::wstring = L"\release\foo.txt";