 |
|
 |
Hi,
Is it also possible via Rapi to retrieve system information of the connected device like : the serial number of the device ?
Regards
Geert
|
|
|
|
 |
|
 |
Спасибо, Александр, очень полезная программа!
Thanks a lot!
|
|
|
|
 |
|
 |
This is a great program and I am finding it very helpful.
Thanks Alexander.
Am I right in saying that in Rapi1.cpp
LPCTSTR itoaFileSize(DWORD size, LPTSTR out = NULL)
{
... TCHAR postfix[5];
Needs to be
... TCHAR postfix[6];
to make room for the string delimiter after "bytes"?
Martin
|
|
|
|
 |
|
 |
Hello,
Your application copies files a lot slower than active synch, any idea why?
Thanks!
danutz_cr
|
|
|
|
 |
|
 |
Hi Alexander,
Thank you.
Why you use 5006 as the buffer size in CopyFile1 and CopyFile2.
CODE with me
|
|
|
|
 |
|
 |
I'd like to copy files to PPCs SD card, how can i find SD card directory?
thanx
|
|
|
|
 |
|
 |
Sorry I cannt help you. Because now I am using non MS device.
--
Alexander Shilonosov
|
|
|
|
 |
|
 |
Hi this is really great tool. however, I would like to have this in vb .net version of it.
is anyone can convert will be great.
|
|
|
|
 |
|
 |
Hi, there is a bug in Rapi1.cpp in itoaFileSize
In debug mode and when transferring big files I got stack corruption.
Postfix variable should be declared as an array > 5 because bytes needs 6 car to be stored : 5+ backslash 0
I have declared it as an array of 64 elements and it seems to fix all my issues.
|
|
|
|
 |
|
 |
Hi,
This is a great tool, I love it. I used it all the time when I want to copy files from PC to PPC.
You mentioned you have add this to "Send To" menu.
Could you share with us how you do it ??
Thanks.
|
|
|
|
 |
|
 |
Hm. Let me to recall... It's seems that I created *.bat file. that uses %1 parameter and call rcmd.exe with it. rcmd.exe should be on the c:\windows\ folders. Bat file should be in "%your profile dir%\send to" folder.
You should only correctly setup this BAT file. and play-around a bit to get it works.
--
Alexander Shilonosov
|
|
|
|
 |
|
 |
It is very useful for me!
Thanks a lot!
|
|
|
|
 |
|
 |
Hi, I'm using your code on desktop application in VC++ to copy files from PC->PPC and PPC->PC. But, in the middle of a copy process, if I take the windows ce device off from the cradle (disconnect it) the program fails in a windows memory read error and the program exits!! I tryied to use try-catch into my code, but it couldn't avoid that error. What solution do you advise?
Thanks!
Carlos Eugênio Torres
Software Analyst and Developer
Microsoft Certified Application Developer (MCAD.NET)
email: carloseugeniotorres@gmail.com
|
|
|
|
 |
|
 |
1. Try to use _set_se_translator() in your app;
It's even interesting to me. whether it can detect the fatal error.
2. Check the code for correct processing return values
on Ce* functions.
--
Alexander Shilonosov
|
|
|
|
 |
|
 |
Excuse my ignorance, but what's _set_se_translator() ?
I'm just using the functions from your CRapi class, no using Ce* functions directly. I'm using dir, copy and del functions most.
Carlos Eugênio Torres
Software Analyst and Developer
Microsoft Certified Application Developer (MCAD.NET)
email: carloseugeniotorres@gmail.com
|
|
|
|
 |
|
 |
You can use it within your VC Application to define an exception handler.
It's a way to get control when your App is fataling but before closing it.
So you can pop-up a message to user to exuse for error ))
See MSDN for the info.
I advice you to check all return values of Ce* functions in the class .
When I make the class, I did not take into account that user can plug out a PocketPC while copying.
--
Alexander Shilonosov
|
|
|
|
 |
|
 |
Your utility is great and I need it
But is there away to add creating a directory as well
I need to transfer files to a new directory like \Storage Card\Temp for example.
I noticed a bug in CAB files that if it is handling more than 1000 files, the installation generate error , So I am thinking of using you utility to transfer all my files manulay by my Scripit in NSIS setup application , but it fails to copy in uncreated directory ,,, could u help please ,,
Best regards
|
|
|
|
 |
|
 |
Hello,
Just now, I take a look at rcmd.exe sources and notice that new directory should be created when copy files to PocketPC->PC (and PC->PPC).
As I get from sources now , you cant copy to unexisting folder.
Instead you may copy from "c:\my data\" to PPC (try with slash or without) , in this case "my data" folder will be created at destination and all folder content will be copyed.
Another way is to add some code for creating folders to rcmd.exe sources and compile it and share it with codeproject .
--
Alexander Shilonosov
|
|
|
|
 |
|
 |
Yeah that's what I did : update the code in order to create directories
I will look how to share this...
|
|
|
|
 |
|
 |
Hi guys,
I have a machine, let's call it TESTMACHINE, where is plugged in my pocketpc device. I wrote a script to run some tests on my device from TESTMACHINE (that calls rcmd to create/del files/dir). It works fine.
But, I need now to lauch my script from a remote machine, using telnet. It seems that rcmd can not connect to the device then...
Any knowledge about this ?
Thanks a lot.
Quentin
|
|
|
|
 |
|
 |
I have no idea why it isn't working.
--
Alexander Shilonosov
|
|
|
|
 |
|
 |
Ok...
Well, some Microsoft guys seem to say that they are not surprised that it doesn't work . Something with the difference between the authentification used in the RAPI and the one used for telnet/ssh... So they told us to give up trying to do this :->
Anyway, I found another way, not very nice that works : from telnet, schedule a task on the remote machine which will be executed at t+1 and that launches basically the script I was trying to launch directly from telnet...
|
|
|
|
 |