xinyuanshen-5921 avatar image
0 Votes"
xinyuanshen-5921 asked JimmyYang-MSFT edited

error LNK2019: 无法解析的外部符号; public: static class ConnectionPool * __cdecl ConnectionPool::getConnectionPool(void) (?getConnectionPool@ConnectionPool@@SAPEAV1@XZ),函数;void __cdecl `dynamic initializer

ConnectionPool* cp = ConnectionPool::getConnectionPool(); //创建数据库连接池
shared_ptr<Connection> sp = cp->getConnection();
char sql[1024] = { 0 };
snprintf(sql, SQL_MAX, "INSERT INTO receiveData VALUES('%s', '%s');", timestamp, data);


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @xinyuanshen-5921

Microsoft Viva Connections desktop was formerly known as the Home site app, which combines the power of your intelligent SharePoint intranet with chat and collaboration tools in Microsoft Teams. Accoring to your description, your question is related to the MFC development, which is not in our support scope. So I will remove your tag and add not-supported tag. Thanks for your understanding and patience!

0 Votes 0 ·

0 Answers