I am doing a console program. It is a CGI program so that I need it to be a console program.
The program need to access a Visual FoxPro database. As I tried to use ADO as follow:
var ADOConnection1: TADOConnection;
ADOConnection1 = TADOConnection.Create(nil);
After the create statement, the program generate an exception (EOleSysError / CoInitialize has not been called). I tried with BDE, everything work fines. Please help with the case.
Every development in my team use ADO, I wish my new program can use ADO rather than BDE.
Thanks in advanced.