Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

CodeTools and TMySQL50Connection

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I'm trying to work with TMySQL50Connection, however, CodeTools (unlike the compiler itself) claims that it does not know what is TMySQL50Connection.

Is there something I should tweak to be able to work with it ?

I'm Attaching an example.

Ido

http://ik.homelinux.org/ -------------- next part -------------- A non-text attachment was scrubbed... Name: test1.tar.gz Type: application/x-gzip Size: 2706 bytes Desc: not available Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080524/65a27972/attachment-0001.gz

Reply by email

Mattias Gaertner
to ik
Show quoted text 5 lines
Hello, I'm trying to work with TMySQL50Connection, however, CodeTools (unlike the compiler itself) claims that it does not know what is TMySQL50Connection.

The TMySQL50Connection uses macros and the codetools don't support macros. IMO macros are not worth the trouble, so they should be avoided.

Is there something I should tweak to be able to work with it ?

I will ask some fpc devels, why macros are used.
There is already a bug report:
http://bugs.freepascal.org/view.php?id=8952

Mattias

Reply by email