Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   TUniConnection (https://www.delphipraxis.net/153422-tuniconnection.html)

youuu 2. Aug 2010 14:04

Datenbank: mysql • Version: 5.x • Zugriff über: devart

TUniConnection
 
Hi,

ich habe eine Unit und möchte darauf eine TUniConnection erstellen

Delphi-Quellcode:
DBConnect := TUniConnection.Create(self);
Allerdings nimmt er "self" nicht an, liegt es daran, das ich kein Formular habe, sondern nur eine Unit?

franktron 2. Aug 2010 14:05

AW: TUniConnection
 
Delphi-Quellcode:
DBConnect := TUniConnection.Create(Nil);
geht

youuu 2. Aug 2010 14:06

AW: TUniConnection
 
Danke, daran hab ich gar nicht gedacht


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:29 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz