CreateMailslot does not function in an XP Embedded SP2 FP2007 image

A

Alexander

Hello,
If I call CreateMailslot in a XP Embedded image built with XP Embedded
SP2 FP2007, I always get the error with code 3, meaning "The system
cannot find the path specified". My path is simply "\\\\.\\mailslot\
\TEST_PORT" (in C string syntax).

The exact call is

CreateMailslot(TEST_PORT_NAME, /* name of the port */
0, /*
no maximum message size */
MAILSLOT_WAIT_FOREVER, /* no time-out for
operations */
(LPSECURITY_ATTRIBUTES) NULL))

where TEST_PORT_NAME is defined as "\\\\.\\mailslot\\TEST_PORT"

I do not get this error when working with an image built with XP
Embedded SP1.

Could it be that the component necessary to work with Mailslots has
been optimized away by default and had to be enabled by adding a
specific component as it is the case for the Explorer menu bar which
only exists in FP2007 images if the component Primitive:Browselc is
included in the SLX file.

Any help would be greatly appreciated.

Alexander
 

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