msg parameter for dsmRCMsg is a NULL pointer.
The message parameter for dsmRCMsg is a NULL pointer.
The system returns to the calling procedure.
Allocate enough space for the message parameter.