Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convertion from integer to c++
Message
 
À
Tous
Information générale
Forum:
Visual C++
Catégorie:
Autre
Titre:
Convertion from integer to c++
Divers
Thread ID:
00866903
Message ID:
00866903
Vues:
76
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform