kylix console app

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ck1018

kylix console app

Post by ck1018 » Fri 16 Sep 2005 21:45

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;
}

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Mon 19 Sep 2005 10:53

Most likely you have not set paths to MyDAC properly.

ck1018

Post by ck1018 » Mon 19 Sep 2005 16:39

thank you, will check that again and if I still have problems I will post what I find

Post Reply