[Ace] The ace WSA startup not initialized error occurs when the ace program is running.

Source: Internet
Author: User

Question 1: Execute the release ace in VS 2005.Program, Error: Ace WSA startup not initialized.

I found the following answers when I checked the information online:

Right-click a project in VS 2005, choose Properties> Configure Properties> General (gerneral)
Character Set: use Unicode Character Set
Character Set: Not Set)
So OK.

By default, Ace uses the multi-byte character set.
If you want Ace to use the Unicode Character Set,
You need to add the following two lines
# Define ace_has_wchar
# Define ace_use_wchar

Reference: http://www.cnblogs.com/zcshan/archive/2011/09/18/wsa.html

After setting according to the preceding instructions, the error persists,

For more information, see the following url: ACE: Init ();
Http://proxy3.zju88.net/agent/thread.do? Id = Socket-448a71e1-1787e2071ac3535f834d9b0e74c56191 & page = 0 & BD = socket & BP = 28 & M = 0

So join in the program Header

ACE: Init ();

Recompile and solve the problem.

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.