General information
Title:
Convertion from integer to c++
Hello People, i dev an app in fox, this app send the follow info:
***FOXPRO CODE
#DEFINE WM_TIMER 0x0113
nID = varsqueue.iid
lnResult=SendMessage(hWndLMC,WM_TIMER,2,nID)
***FOXPRO CODE
nID is an integer field, i see the follow value: 268
but when i received this info in the c++ app i define like INT
this the c++ code:
***C++ CODE
void CLinkmicrocomputingDlg::OnTimer(UINT nIDEvent,INT nIID)
{
static BOOL bFistTime = TRUE;
if (nIDEvent == 2)
{
// Event fired for the web server
// in this case we need open the database
// for search new request for writing
char aa[20];
itoa(nIID,aa,10);
AfxMessageBox(aa);
//ProcessVarsQueue();
}
***C++ CODE
i received the value 1243684 , how i can convert to the int value in VFP (268)?
Thanks For any Help
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only