|
We know, CHANGES are coming... But our problems are still there and we still
need some DECmcc MM programming support. In our case, Digital PAYS for the
development of this Access Module to manage Bull systems... And as you know,
time is money. Is there anybody out there to help us?
Regards,
Serge
|
| Marc,
Not a big deal, the problem is with the static declaration of the
component_id_dsc and component_version_dsc in the mcc_yourmm__show_char_mcc.c
code.
Making these two descriptors local variables of the do_directive function
solves the problem.
Just change in the mcc_yourmm__show_char_mcc.c file
the declaration from :
>static char component_id[] = { "DECmcc YOURMM AM" };
>static MCC_T_Version component_version =
> { VERSION1, VERSION2, VERSION3, VERSION4 };
>
>static MCC_T_Descriptor *component_id_dsc = { MCC_K_NULL_PTR };
>static MCC_T_Descriptor *component_version_dsc = { MCC_K_NULL_PTR };
>
>
>static MCC_T_CVR do_directive( p_callargs, p_context)
>
>dt_callargs *p_callargs;
>dt__LocalContext **p_context;
>
>{
> MCC_T_CVR status = MCC_S_NORMAL;
> unsigned long int id_len;
> struct MCC_R_ILV_CONTEXT ctx;
> unsigned long mode = MCC_K_ILV_LIST_VALUE;
> unsigned long datatype;
> unsigned long datalength;
> unsigned long ms_id;
> unsigned long vms_datatype;
> unsigned long id_code;
> unsigned long reason_code = 0;
to
<static char component_id[] = { "DECmcc YOURMM AM" };
<static MCC_T_Version component_version =
< { VERSION1, VERSION2, VERSION3, VERSION4 };
<
<
<static MCC_T_CVR do_directive( p_callargs, p_context)
<
<dt_callargs *p_callargs;
<dt__LocalContext **p_context;
<
<{
< MCC_T_CVR status = MCC_S_NORMAL;
< unsigned long int id_len;
< struct MCC_R_ILV_CONTEXT ctx;
< unsigned long mode = MCC_K_ILV_LIST_VALUE;
< unsigned long datatype;
< unsigned long datalength;
< unsigned long ms_id;
< unsigned long vms_datatype;
< unsigned long id_code;
< unsigned long reason_code = 0;
<
< MCC_T_Descriptor *component_id_dsc = { MCC_K_NULL_PTR };
< MCC_T_Descriptor *component_version_dsc = { MCC_K_NULL_PTR };
Regards.
Pierre (TeMIP V1.1 team, not yet "TeMIP's framework" support...)
|