views:

283

answers:

3

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.

A: 

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.

SDX2000
A: 

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

danbystrom
Nope. None of the aliases, `long long` nor `signed long long` are available.
Anthony Mastrean
+1  A: 

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!

Langer