I am a very new guy to visual studio as well as IDL. I have an .idl file and visual studio is generating .h and .cpp files from the idl file.
In the generated code , a "const" is addded for "in" attribute in IDL file. I want to get rid of this "const"...please somebody help me.
generated header file has the following functions:
virtual CosTransactions::Coordinator_ptr recreate(
const CosTransactions::PropagationContext& ctx,
CosTransactions::otid_t_out tid) = 0;
virtual CosTransactions::Coordinator_ptr tmf_start(
const CosTransactions::otid_t& tid) = 0;
I would like to know how to avoid the "const" in the parameter list of recreate() and tmf_start()