Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convertion from integer to c++
Message
 
To
All
General information
Forum:
Visual C++
Category:
Other
Title:
Convertion from integer to c++
Miscellaneous
Thread ID:
00866903
Message ID:
00866903
Views:
77
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
Map
View

Click here to load this message in the networking platform