docs

Home All functions Categories

vuMailSlotCreate(SlotName)

vuMailSlotCreate(*CSTRING), Signed

Description

Creates a mail slot in your application for receiving messages from other applications on the same PC or within the same domain.

Parameters

Parameter Data Type Description
SlotName CSTRING(256) The name of the mail slot to create.

Returns

A LONG value representing the number of current mail slots active on the PC if successful.
Returns -1 on error.

Example

SlotName = 'Transactions'
IF vuMailSlotCreate(SlotName) > 0
  MESSAGE('Mail slot created. There are now ' & vuMailSlotCreate(SlotName) & ' mail slots running on this PC.')
END

Notes

Home All functions Categories