Solved

Autocad r13/r14 with Delphi 2

Posted on 1997-11-05
4
334 Views
Last Modified: 2010-04-03
Does anybody have some sample how to use Delphi with Autocad.

I want to use Delphi as an Database to give information to Autocad, so it will put the text in Autocad.

Were can I find some sourcecodes for this, and other sources   to use Delphi with Autocad.

Thanks,
0
Comment
Question by:CyberChild
  • 2
4 Comments
 
LVL 3

Expert Comment

by:mirek071497
ID: 1349556
1. Check if Acad have dde (manual of Acad), and how can you use this.
2. Find Examples (in Delphi) for using DDE


0
 
LVL 3

Accepted Solution

by:
Pegasus100397 earned 100 total points
ID: 1349557
Cyberchild,

In addition to checking to see if AutoCad supports DDE, you may also want to check to see if it support OLE as well. For even more fun, contact AutoDesk to determine the file layouts for autocad files and determine what the layout is, or better yet, if there is some sort of ODBC driver or somesuch you can use to access the files.

As a "last" (but sometimes useful) resort, assuming Acad is totally uncooperative (no DDE, no OLE and not file format available) you can always resort to sending Acad windows messages (WM_Click, etc) to correspond to the normal actions you would take while in the application, except that your Delphi program would be sending the "keystrokes" and "mouseclicks".

Good luck with your project!
Pegasus
0
 
LVL 3

Expert Comment

by:mirek071497
ID: 1349558
I found so Acad have Lisp in which you can use dll's. Write your own dll and try using this in lisp.
0
 

Author Comment

by:CyberChild
ID: 1349559
Autocad support OLE and DDE, but how must I use it with Delphi.
DLL's I never made one, does anybody have some examples.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
calling procedure inside activexForm from secondform 1 231
Multiple image collision 13 69
Find and Replace Stream with 0s 8 56
When i run adoquery my application freezes 26 150
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

912 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

17 Experts available now in Live!

Get 1:1 Help Now