Target 32- and 64-bit Platforms Together with a Few Simple Datatype Changes
Just because you aren't porting to 64-bit now, doesn't mean you should be ignoring the new coding guidelines. You can make a few simple adjustments now that will target your C+ code dually for 32/64-bit, leaving you in great shape for when the 64-bit requirement finally arrives.
by Danny Kalev
March 10, 2005
n the early 1990s, 64-bit systems were considered "a solution waiting for a problem." In 2005, however, this technology is rapidly gaining a critical mass of users. Even if you're aiming at 32-bit platforms for the time being, adding 64-bit compliance to your coding checklist guarantees a smooth migration to 64-bit platforms in the future. This solution shows you how to write dually-targeted code.
How to write single-source code that can be deployed on both 32- and 64-bit environments without necessitating code rewriting?
It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com. Already a member?
To become a member of DevX.com create your Member Profile by completing the form below. Membership is free!