All Frameworks  Class Hierarchy  This Framework  Indexes

PSNInteroperability Global Function ExecuteOnServer


HRESULT ExecuteOnServer(int* ioLng,
char** ioMsg)
Executes a User Exit on ENOVIAvpm V4.
Role:This method sends a message to ENOVIAvpm V4 that will enable trigger the execution within ENOVIAvpm V4 of a specific User Defined function identified by the message.
The arguments are In/Out arguments.

Note: The return code of this method is not the returned code of the function executed on the server. The server function return code should be returned in the message sent as a reply from the server.

If needed, your Imakefile.mk should include the module: CATPinServices

Parameters:
ioLng
Length of the Message
ioMsg
Message sent to ENOVIAvpm V4 as input and message received from ENOVIAvpm V4 as output.
Returns:
  • S_OK: The message has been successfuly sent
  • E_FAIL: Failed to send to message.

This object is included in the file: CATVPMExecService.h

Copyright © 2003, Dassault Systèmes. All rights reserved.