Solved

Create a TTable from a DLL

Posted on 1998-10-27
3
155 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Dynamically Created Query 3 78
RESTRequest Parameter 4 79
Delphi: making a BW image transparent 10 137
Way to create an iPhone app for my customers 8 89
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

732 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