IDATECTL_GetDateString problem | developer.brewmp.com IDATECTL_GetDateString problem | developer.brewmp.com

Developer

IDATECTL_GetDateString problem

Forums:

Hi All,

In the brew application i m using the getdatestring function of the date control interface.

unsigned int retSize ;
IDATECTL_GetDateString(pApp->m_pDate,psTextBuf ,75,
&retSize,DFMT_DD_MON_YYYY);

the function returns the correct date string on the emulator, but i get errors while creating the mod file.

Following is the error msg "Error: C3028E: : implicit cast of pointer to non-equal pointer".

Am i missing something as input to the IDATECTL_GetDateString() function? but i get the result right...
Wht cud be the problem with IDATECTL_GetDateString() function...
any suggestions??

thanks in advance.
Pribhi

There's an error in the docs. The fourth parameter should be int, not unsigned int.
-Erik

There's an error in the docs. The fourth parameter should be int, not unsigned int.
-Erik

Hi Erik,
Thank u so much for ur help!
these api docs need to be updated now....
thanks again
-Pribhi

Hi Erik,
Thank u so much for ur help!
these api docs need to be updated now....
thanks again
-Pribhi