Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to the build configuration, developer documentation, and project setup for the MAPI Stub Library. The changes make it easier for developers to build, link, and integrate the library into their projects, regardless of platform or build system. The documentation has been expanded to include detailed guides and FAQs, and the build scripts have been updated to support multiple architectures and static linking.
Fixes #26
Documentation improvements:
docs/Building.md, providing step-by-step instructions for building the library with Visual Studio and Node.js/node-gyp, including output details.docs/FAQ.mdwith answers to common questions about usage, linking, building, and troubleshooting the library.docs/Linking.mdto guide users on linking their projects toMAPIStubLibrary.libas a drop-in replacement formapi32.lib.docs/DirectlyIncluding.mdexplaining how to include the source files directly in a project and use optional stub utility functions.Minor fixes:
library/stubutils.h.README.mdto point to the new local documentation.Build system and configuration enhancements:
binding.gypto define the target as a static library (MAPIStubLibrary), added architecture-specific output directories, MSVC compiler settings, and preprocessor defines for better Windows compatibility.package.jsonwith scripts for building and cleaning the library usingnode-gyp, supporting x64, x86, and ARM64 architectures.