Page 1 of 1

Empty parameter method generation

PostPosted: Mon Jan 26, 2015 4:03 pm
by Pushpendu
Hi ,
I am new to XLW and trying to create a new empty parameter method and the code generator is not able to generate the code properly.

//header
double //get prop value
getProp(void // no param
);

//impl
double //get prop value
getProp(void
)
{
DataConfiguration config;
string prop = config.getProperty("Last2YrDivideBy100");
return 0;
}


generated header file part

double // get prop value
mxlw_getProp (

Re: Empty parameter method generation

PostPosted: Wed Jan 28, 2015 11:40 pm
by mj
have you tried just putting


double //get prop value
getProp(
);


in the header
?