Solved

Create a TTable from a DLL

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

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

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 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