Can I mix my Microsoft-compatible C libraries with Watcom run-time libraries?

If the third party library is a static library (.lib) that has dependencies on the run-time system (i.e. Calls run-time library routines) of another compiler, then the link will almost definitely fail. The link usually fails because the third party library makes references to the Microsoft run-time, which will not be present.

Even if the link succeeds, the application will probably not run properly, since the two run-time systems will be incompatible. If the third party library is a dynamic link library (.dll) or an assembly library that does not have dependencies on any other vendor's run-time, then #pragma's can be used to adjust the Watcom compiler's calling conventions for any given routine. This allows the routines to be called from Watcom compiled code.

For more information on #pragma's, please refer to the Watcom C/C++ User's Guide. Note that although DLLs written in C can usually be made to work, Microsoft C++ DLLs will not necessarily work with Watcom C++ applications unless ... more.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions