I am displaying a calander and letting the user pick a
date if the user picks a display I am trying to
display a AlertForm showing him the date but I am
getting the following error

Error   : illegal implicit conversion from 'short' to
'const char *'
Starter.cpp line 233       whichButton =
FrmCustomAlert( DisplayDateAlert, month, day, year );

Below is my source code. please help



                        int whichButton;

                        if (SelectDay (selectDayByDay, &month, &day, &year,
titleP))
                        {
                                dueDateP->day = day;
                                dueDateP->month = month;
                                dueDateP->year = year - firstYear;
                                whichButton = FrmCustomAlert( DisplayDateAlert,
month, day, year );

                        }


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to