MySQL Forums
Forum List  »  Connector/C++

How to statically link the dll files into my exe application?
Posted by: Larry James
Date: April 10, 2011 08:03AM

I have successfully compiled and can use the Connector/C++ driver on my computer. I'm using Visual Studio 2010.

I had some problems because there were conflicting versions of the dll files in various paths on my machine. I know I can resolve this by always insuring that the proper version is always in the same directory as the exe program. But to make it even easier for my clients using my application, I'm trying to learn how to actually statically link the dlls into my application the same way the lib files are linked.

Can someone advise me if this is possible and how to do it?

Thanks in advance for your input on this matter.

-- L. James

--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames

Options: ReplyQuote


Subject
Views
Written By
Posted
How to statically link the dll files into my exe application?
3115
April 10, 2011 08:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.