FrmCustomAlert takes strings (const char *) as the last three arguments.
You are passing integers (short) to it.
Please read the friendly manual.
------------
Date: Fri, 24 Aug 2001 11:16:20 -0700 (PDT)
From: Johnathan Smith <[EMAIL PROTECTED]>
Subject: Trying to display return from calendar??
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 );
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/