I use UniDac
component to connect to PostgreSQL
. My Query
is running in a separate thread. Now when I use CoInitialize
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With