i'd like to copy files to the SD card. How can i find SD card directory name? thanks
ReplyThank you for the source code. I've just made som minor changes. Etc. I added the iBytesRead instead of always writing with BUFFER_SIZE. Also I added the call to CeSetEndOfFile, in case of re-writing a smaller file to the Pocket PC. int iBytesRead = 0; while((iBytesRead = oldFile.Read(&cTemp, BUFFER_SIZE)) > 0){ CeWriteFile(h, &cTemp, (DWORD)iBytesRed, &nbytes, NULL); } CeSetEndOfFile(h);
Replyhi i want to thank you for the information i got. and i have request plz: i want to learn about programing pocket pc by C# but at begining i want to understand what is pocket pc? i want to design program on pocket pc sends and reseives data from Desktop database server through wireless connection. it is important to know how to exchange these data between the two devices (pocket pc & desktop pc). so i hope & wish that you help me and give me your advice, and if i can obtain anything help me like websites adresses,or forums or tutorials or ebooks or articles...etc. thank you very much & i hope i don't waste your time.
ReplyOriginally posted by: Baazunga
After using the standard scriptlike programs out on the market for free i.e EzSetup etc and quickly realizing its limits I was looking for something like this. I found it, made som minor modifications and now have a really good installationprogram. Thanks... keep up the good work. Great comments also, helped me tons!
Reply
Originally posted by: aryan
we develop project on this application
so, u have any information about it, then send me..
Originally posted by: Zubair
Nice sample code. I need to copy file to storage card. Is there any good way to find storage card folder name. They seem to be different on devices, like "Storage Card", "Storage Card2", "SD Card", etc.
thanks,
Zubair 10/29/03
ReplyOriginally posted by: Ernie D.
I've taken your great sample code and I'm trying to modify it so that it creates a database in the object store instead of creating a file. But I'm having all sorts of troubles with headers. I'm sort of a newbie at this, as I'm sure you'll be able to tell :-) I created a new .cpp file, and this line of code:
CEOID oid;
produces an error that CEOID is an undeclared identifier. What header file do I need to add so that this will work? I tried adding this path:
C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Emulator
under "Project Settings/C++/Preprocessor/Additional include directories"
When I do that, the error about CEOID (and a lot of others) goes away, but now I get several errors including:
stdlib.h: '_JBLEN' : undeclared identifier
winnt.h: 'PCONTEXT' : missing storage-class or type specifiers
winnt.h: 'ContextRecord' : missing storage-class or type specifiers
I know this is just a matter of knowing what headers are needed. What .h files do I need to include at the top of my new .cpp file? Thanks a lot!
E.D.
ReplyOriginally posted by: Norm
I've tried using CeSHCreateshortcut(LPWSTR, LPWSTR. It seems to work for the most part, but empty spaces don't seem to work. For example, "\\My Documents\\..." I get cannont find 'My'... If I get rid of the space, there's no error, but the path is wrong.
Any help, thanks,
Norm
ReplyOriginally posted by: Guruprasad
Hi all,
I am using a 802.11b wireless LAN to connect to PC. Doing this establishes a LAN IP for the handheld. I need to copy some files to the PC and then from the PC to the handheld device. From desktop to PC is no problem I can use the CopyFile() API and give the path as "\\Machine Name\Folder\DestFileName" - it works - without ActiveSync!
But from the PC to the handheld, I have problem as I don't have a machine name for the handheld. So I have depend on CeWriteFile RAPI file - for which I have to depend on the ActiveSync :-(
I want to give up ActiveSync because if the Wireless LAN fails, the ActiveSync disconnects and doesn't connect automatically.
So I was wondering if there is any way of either starting the ActiveSync from the Handheld device programmatically. Or otherwise if there is any way of copying the files from PC to the handheld which doesn't depend on ActiveSync.
Thanks in advance and best regards,
Guru
Originally posted by: Norm
I'm trying to write a simple install program. Can RAPI execute a pocket PC file to register my Active X files, or can RAPI register Active X files on the pocketPC?
Thanks, and thanks for the code, very helpful,
Norm
Reply