Page 1 of 1

kylix console app

Posted: Fri 16 Sep 2005 21:45
by ck1018
How do I initialize both TMyConnection and TMyTable in a kylix console application, I keep getting unresolved externals with the following code

I am using Kylix3 c++

#include
#include "DBAccess.hpp"
#include
#include "MemDS.hpp"
#include "MyAccess.hpp"
#pragma hdrstop
//---------------------------------------------------------------------------

#pragma argsused
int main(int argc, char* argv[])
{
TMyConnection *myConn = new TMyConnection(NULL);
return 0;
}

Posted: Mon 19 Sep 2005 10:53
by Ikar
Most likely you have not set paths to MyDAC properly.

Posted: Mon 19 Sep 2005 16:39
by ck1018
thank you, will check that again and if I still have problems I will post what I find