0

Is there a data type in eVC++ that is the equivalent of __int64? None of the aliases compile. And I cannot find any of the long types in Math.h.

A third party library would also be acceptable.

Anthony Mastrean
  • 21,850
  • 21
  • 110
  • 188
  • What is eVC++? The article you referenced doesn't have "evc" in the text anywhere. – SoapBox Feb 24 '09 at 22:08
  • Embedded Visual C++. The Wikipedia article noted it in a bullet point in the History section (http://en.wikipedia.org/wiki/Visual_C%2B%2B#History). I updated the link to Google... I can't find a product page. – Anthony Mastrean Feb 24 '09 at 22:22
  • No longer a seperate product. Superceded by Visual Studio 2005/2008/2010 – MSalters Feb 25 '09 at 08:59

3 Answers3

1

Assuming you are using EVC++ 4.0...

You'll first need to make sure you have the Pocket PC 2003 SDK installed. If you are on win mobile 5.0 and up and are still attempting to use EVC++4.0 I will fight you (Ron Burgundy). The PPC 2003 SDK can be found here.

After it's install, update the linker to find the newly installed SDK header files with the macro definition of LONGLONG. To do this:

  1. Tools -> options
  2. Directories tab -> make sure the third drop down reads "include files"
  3. Add the path -> "C:\Program Files\Windows CE Tools\wce420\POCKET PC 2003\Include\Armv4"
  4. Make sure to #include winnt.h in your class. In that header you will find the definition of LONGLONG which is an _int64

Good luck!

0

Do you have access to the LargeInt library in eVC++? IIRC this was a standard lib bundled with VC 6.0. VC 6.0 did not support __int64 natively.

Sandeep Datta
  • 28,607
  • 15
  • 70
  • 90
0

"long long" is a synonym for "__int64" in VC++... maybe that works?

Dan Byström
  • 9,067
  • 5
  • 38
  • 68