Why can I use #pragmas to adjust the calling conventions for a static library?
#pragma’s can always be used to adjust symbol naming and parameter passing conventions used by the compiler. Using #pragma’s, the user may be able to force an apparently successful link. However, as mentioned previously a successful link does not guarantee the application will run properly. Differences in the run-time systems or internal data structures may prevent the application from running properly.
Related Questions
- Is there a best-practice method for images or other resources: Static Resources under sites or the document library?
- Are there any advantages of using either a static library over the linked library (Performace, Speed, Compatibality)?
- Why can I use #pragmas to adjust the calling conventions for a static library?