I use Borland C++ Builder 2009 to build 32 bit executables.
I need to change a huge portion of my code since I need to change (at least) one variable of almost all objects to a 64 bit variable, and it is used a lot in calculations etc.
While doing this I'm often faced with the fact that for particular functions that are used the 64 bit value is not needed and will never be needed (e.g. buffer size limitations, or only using a sub-range that can never exceed a DWORD boundary etc.) and so then I wonder, should I change these routines as well or not.
Or in functions that do use the 64 bit variable input, change other function-scope variables to 64 bit as well, or leave them as is.
So I was wondering if a 32 bit application actually 'suffers' from the use of 64bit variables or not ? If this is significant or completely irrelevant ? In case of the former I would try to keep the DWORD values where possible for instance.