|
-
March 31st, 2004, 09:42 AM
#1
INT_PTR to int
Hi,
I'm trying to adopt my [VC++ 6.0] code to [.NET C++]...
There is some changes in MFC.
One of them is return types!.. e.g.
CList::GetCount() returns int in 6.0, but
it returns INT_PTR in .NET
I still use it as 'int' ...
INT_PTR sounds like 'a pointer to an int'. Therefore it seems
"the count of elements in list" = *m_List.GetCount(); // with de-reference
However, it works without 'de-referencing' !
Could you please explaine what is going around and what does Microsoft want to do?
Thanks...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|