NamedPipe supported in CF?

M

Mike

I'm trying to implement interprocess communication on a smartphone
using the NamedPipe routines in kernel32. Is this supported in CF 1.0?
2.0?

I've imported the functions from kernel32.dll, but am getting
MissingMethodExceptions when I call them.

The import calls look like the following:
[DllImport("kernel32.dll", SetLastError=true)]
public static extern IntPtr CreateNamedPipe(
String lpName,
uint dwOpenMode,
uint dwPipeMode,
uint nMaxInstances,
uint nOutBufferSize,
uint nInBufferSize,
uint nDefaultTimeOut,
IntPtr pipeSecurityDescriptor
);

Of course, I can't find kernel32 on the phone, so that's not
encouraging.

Thanks,
Mike
 
P

Paul G. Tobey [eMVP]

The fact that you're talking about kernel32 indicates that you have a
misapprehension of what Windows CE is. It's *not* desktop Windows. Most of
the APIs that the two operating systems (and they *are* two, separate,
operating systems), have in common are the same, but, as you might imagine,
to run in a few MB of RAM and to be stored fully in a few MB of Flash,
Windows CE is much smaller, in most configurations.

Named pipes are not supported in any version or configuration of Windows CE.

Most of the Win32 API is implemented in coredll.dll on Windows CE.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top