![]() |
2006-07-29: This devNote illustrates platform isolation from C/C++ implementation- and platform-specific libraries and APIs. The treatment here was inspired by a request on the Microsoft MSDN Visual C++ 2005 Express Edition Forum. This incomplete and provisional material is created so that the in-progress work can be referenced at a stable web location from the related MSDN Forum discussion threads.}
The evolving organization of material is as follows:
- Synopsis and Content (this page)
- Overall Requirements and Approach for Platform Isolation (d060701b for latest material)
- API Reference for getpwd (d060701d for the latest)
- Header File development (d060701e for latest)
toward a stable header file that is itself fully portable among Standard C/C++ implementations
- Portable Stub Implementation (d060701g for latest)
providing portable test programs and examples that are themselves fully portable
- Visual C++ implementation-specific code (d060701h for latest)
providing a platform-specific code that remains fully isolated and encapsulated behind the contracted interface associated with the header file and its correct portable usage
- A platform-independent fixture for use in testing all of this
The current article threads and materials are:
- d060701d: getpwd API Reference (latest version)
- d060701i: getpwd API Reference (0.50 alpha)
- d060701e: getpwd00.h Latest Description
- d060701j: getpwd00.h (0.50 alpha) Description
- d060701f: getpwd00.h (0.4 alpha) Description
- d060701a: getpwd Diary & Job Jar
This material owes its inspiration to the question provided by
- desolate
- signing as THE TRAINMAN on the MSDN Forums and requesting a standard method for keyboard input
created 2006-07-29-14:12 -0700 (pdt) by
orcmid |