开发者

Why is CoInitialize an undeclared identifier?

开发者 https://www.devze.com 2023-03-01 11:29 出处:网络
I use UniDac component to connect to PostgreSQL. My Query is running in a separate thread. Now when I use CoInitial开发者_如何学Goize in the thread, I receive this compiler error:

I use UniDac component to connect to PostgreSQL. My Query is running in a separate thread. Now when I use CoInitial开发者_如何学Goize in the thread, I receive this compiler error:

- [DCC Error] QryThread.pas(41): E2003 Undeclared identifier: 'CoInitialize'

Why?


Because ActiveX is missing in the uses list.

0

精彩评论

暂无评论...
验证码 换一张
取 消