Cant compile - used unit MyAccess.pas

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Schorsch
Posts: 6
Joined: Tue 24 Jun 2008 16:26

Cant compile - used unit MyAccess.pas

Post by Schorsch » Tue 24 Jun 2008 16:34

Hi and sorry my english.,

i've download the mydac-vcl-components for Delphi 2005. After the installation i place a TMyConnection-component on a form, doubleclick on them and in objectinspector i set Connected to True - it works. But if i will compile i become an error "Cant compile - used unit MyAccess.pas" (in german) - must i copy .bpl-files or an idea?

Tks..

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 25 Jun 2008 07:47

Check if the path to the directories "%MyDAC%\Lib" and "%MyDAC%\Bin" is included to the "Library path" via the
Tools->Optins->Delphi Options->Library - Win32 menu.
%MyDAC% is the MyDAC installation path on your computer.
If the problem persists, please try to reinstall MyDAC.

Schorsch
Posts: 6
Joined: Tue 24 Jun 2008 16:26

Post by Schorsch » Wed 25 Jun 2008 10:43

Library-Path was set correctly. Reinstall same problem! Heavy: i've take a delphi7-source within mydac-delphi7-components, delete all code, and compile - it works! What is that???

Schorsch
Posts: 6
Joined: Tue 24 Jun 2008 16:26

Post by Schorsch » Wed 25 Jun 2008 11:16

The mydac-examples works also!

Post Reply