Windows XP/VC 6.0/MySQL how to use vc6.0 to connect to MySQL for test + Supplement

Source: Internet
Author: User

FirstI would like to express my gratitude to the original author for the fact that most of my experiences come from here..

Http://blog.csdn.net/xiaoxiao54562/article/details/8285659

In addition, the things after this are all things that I think should be paid attention to after encountering various problems. It may happen that they have solved the pain of making you unable to survive.

======================================

Set vc6.0:

See Original Author (1) (2) (3) (4)

PS: 1 is simple

2. Note that in the "show directories for:" drop-down list mentioned above, select "library ".
Files ",", note that the "drop-down list"

I am wasting a lot of time here.

3. Easy to do

4
My own experience is not just as simple as "suggestion", but I have set everything in my own settings (including the failure to find libmysql as I mentioned in the subsequent error reports. lib file path settings), but even if the compilation is successful, the runtime will still prompt that libmysql cannot be found. llib file to crash.

Later, I copied the libmysql. dll and libmysql. Lib files to the project directory to make it work. ======> If someone else solves this problem in the future, please remember to tell me. Thank you!

========================================================== ======================================

VC programming:

In a word, follow the instructions of the original author and I will pass the test.

Of course, the username and password in the Code must be changed accordingly.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.