On 3/7/2011 7:57 AM, Ming Ruan wrote: > We’d like not to use these dll’s, but their equivalent lib’s, i.e.: > > - apr-1.lib (or libapr-1.lib?) > - aprutil-1.lib (or libaprutil-1.lib?) > - apriconv-1.lib (or libapriconv-1.lib?) > > These lib’s are created by our Microsoft Visual Studio 2008 Express. My > question is: how can I make activeMQ-CPP use these lib’s instead of the > dll’s?
When compiling... /D APR_STATIC When linking... link them (the libapr*.lib files correspond to the .dlls)