Solved

Create a TTable from a DLL

Posted on 1998-10-27
3
153 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

838 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