Re: How can I get output buffer with CeRapiInvoke

Tech-Archive recommends: Fix windows errors by optimizing your registry



Which way are you using the call, block or stream? Show us the code for the
DLL function you're calling and the code that's trying to access the data.

Paul T.

"James.S" <JamesS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3D160943-76D2-48D2-8321-C2F042566507@xxxxxxxxxxxxxxxx
Hi all:

It works well when I use CeRapiInvoke on Desktop to remote WinCE device.
But I can't get the right outBuffer.
I followed the sample code from http://support.microsoft.com/kb/299891 .
When I want to read pOut, my desktop's program would crash.

Could anyone give me some hints?
Thank you.


.



Relevant Pages

  • Re: 8ms Timer for serial port access
    ... Then start calling readagain. ... stream of bytes that you acquire by calling read. ... Forget about timing. ... can read and be guaranteed that you have a complete frame). ...
    (comp.os.linux.development.apps)
  • Re: SetPositions() being called at the end of the stream
    ... debugger to see who's calling it. ... quartz.dll is calling this function. ... except at the end of the stream. ... Try putting a breakpoint there and check the call stack in the ...
    (microsoft.public.win32.programmer.directx.video)
  • log4net question
    ... I simply get the stream for the logger and do: ... reader and reading the contents into a string and the string looks correct. ... The problem is, after calling XmlConfigurator.Configure, my log still has ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: FTP problems
    ... As far as calling the ".close" function goes, for that you would need to ... first make a stream object and close it as is given below ... can you do a ".close" on your stream and then try the code? ... many using the ftpWebRequest object, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: C# program calling a C++ DLL
    ... If you can see the DLL function with Depends then it is likely you ... is your DLL in the correct directory? ... OutAttribute on your function prototype instead like so: ... Note that your calling convention above may not be StdCall... ...
    (microsoft.public.dotnet.languages.csharp)