Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Autocad r13/r14 with Delphi 2

Posted on 1997-11-05
4
Medium Priority
?
341 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
[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
  • 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 300 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

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

722 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