Solved

Create a TTable from a DLL

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

821 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