Solved

Create a TTable from a DLL

Posted on 1998-10-27
3
149 Views
Last Modified: 2010-04-06

How can I create a TTable from a DLL,
if TTable.Create requiere a TForm as
parameter...

att
lortega
0
Comment
Question by:lortega
3 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1344660
1. Try giving Nil as the parameter to TTable.Create

2. If that doesn't work, try this


           var
             MyForm : TForm;
             MyTable : TTable;
           ...
             MyForm := TForm.Create(Nil);
             MyTable := TTable.Create(MyForm);
             MyTable.Parent := MyForm;

Cheers,

Raymond.
0
 
LVL 5

Expert Comment

by:ronit051397
ID: 1344661
write this:     MyTable := TTable.Create(nil);
0
 
LVL 2

Author Comment

by:lortega
ID: 1344662
thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now