Re: Is __int64 dead?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message news:0p91d3tv5nn4ms14e17uoppemogs99d7f1@xxxxxxxxxx

I tend to use the types LONGLONG and ULONGLONG and not worry about the underlying type
they are written in terms of.

Am I the only one who worries about the aesthetics of these names?

bool, char, int, __int64, are elegant names.

long, short aren't too bad either.

BYTE, WORD, UINT, and even DWORD are not too bad.

But others are just plain ugly including

LONGLONG, wchar_t, size_t, INT_PTR, and a whole host of those rising to prominence relatively recently. Just a thought - I now i'm not going to win any battles to eliminate them. <g> (I do tend to use WCHAR instead of wchar_t though.)

Dave
--
David Webber
Author of 'Mozart the Music Processor'
http://www.mozart.co.uk
For discussion/support see
http://www.mozart.co.uk/mzusers/mailinglist.htm

.



Relevant Pages

  • Re: problem using sdk
    ... //It's used to indicate the device where the SecBank is to be found ... SECBANKDLL_API UINT SB_CALLMODE SecBank_GetFirstPublic (DWORD ... UINT SB_CALLMODE SecBank_GetPrivate (DWORD IDSecBank, WORD IDEntry, ...
    (microsoft.public.vb.winapi)
  • Re: problem using sdk
    ... SECBANKDLL_API UINT SB_CALLMODE SecBank_GetFirstPublic (DWORD IDSecBank, ... //Insert a new Entry in the SecBank currentrly on RAM and returns ...
    (microsoft.public.vb.winapi)
  • Mangaged to Unmanaged code I2C device access violation issue
    ... in unmanged code in passing PBYTE pBufIn in the function below's signature. ... It is defined as a 4 byte array and the driver code casts this to a DWORD. ... BOOL bRet = FALSE; ... public static uint CTL_CODE(uint DeviceType, uint Function, uint ...
    (microsoft.public.dotnet.framework.interop)
  • Re: NotifyIconData versions
    ... Hwnd As Long ... UINT uFlags; ... CHAR szTip; ... DWORD dwState; ...
    (microsoft.public.vb.winapi)
  • Re: About some questions on PocketPC (CPU Usage,..)
    ... DWORD permissions = GetCurrentPermissions; ... __int64 creation; ... If this is not the first loop, ... SetProcPermissions(permissions); ...
    (microsoft.public.windowsce.app.development)