Re: start my own initial program from storage card

"Valter Minute" wrote:

prabu.jem@xxxxxxxxx wrote in

You can add the entries in platform.dat file to copy the
application from storage card to the windows directory.

It's not granted that your storage card will be mounted and accessible
when the .dat file commands are executed by the CE filesystem manager.

Look into this post for editing the platform.dat
uilder-using-dat-files-to-initialize-the-file-system.aspx (OR)

You can write another simple application to which will lauch
during boot up and this simple application will launch your main
application which resides in storage card using "CreateProcess".

This solution is more reliable (IMHO).

Use this solution, you might need to wait first until API is ready.

while(!IsAPIReady(SH_SHELL)) //Sleep untill API is up
{ Sleep(1000); }

Valter Minute
Training, support and development for Windows CE
(the reply address of this message is invalid)