Re: CeRapiInvoke in librapi2-0.13

2009-06-29 Thread David Richardson
I implemented reading of the output_size and output_buffer too. I couldn't figure out how to actually run the CeRapiInvoke tests (my automake experience is lacking) but I did create a separate executable that does the same thing as those tests. It should pass test_ping_result and test_ping_buffer

Re: CeRapiInvoke in librapi2-0.13

2009-06-29 Thread David Richardson
On Mon, Jun 29, 2009 at 7:42 AM, Mark Ellis wrote: > On Mon, 2009-06-29 at 12:39 +0200, Mark Ellis wrote: > > On Fri, 2009-06-26 at 22:37 +0200, David Richardson wrote: > > > I called CeCreateFile("//test.txt", GENERIC_READ | GENERIC_WRITE, 0, > > > NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL)

Re: CeRapiInvoke in librapi2-0.13

2009-06-29 Thread David Eriksson
On Mon, 2009-06-29 at 15:42 +0100, Mark Ellis wrote: > Can't invoke on WM5+ because it's in 'RAPI Restricted Mode', anyone know > how to switch to 'Open Mode' ? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51conRAPIRestrictedModeSecurity.asp Mvh, David Er

Re: CeRapiInvoke in librapi2-0.13

2009-06-29 Thread Mark Ellis
On Mon, 2009-06-29 at 12:39 +0200, Mark Ellis wrote: > On Fri, 2009-06-26 at 22:37 +0200, David Richardson wrote: > > I called CeCreateFile("//test.txt", GENERIC_READ | GENERIC_WRITE, 0, > > NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); and watched that > > connection on wireshark so I had some

Re: CeRapiInvoke in librapi2-0.13

2009-06-29 Thread Mark Ellis
On Fri, 2009-06-26 at 22:37 +0200, David Richardson wrote: > I called CeCreateFile("//test.txt", GENERIC_READ | GENERIC_WRITE, 0, > NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); and watched that > connection on wireshark so I had some basis for comparison. > > CeCreateFile has a command code