Solved

Autocad compatible drawing class library

Posted on 2002-07-18
6
272 Views
Last Modified: 2013-11-20
I am looking for a autocad compatible drawing class library. I came across one at www.vdraw.com, which is what I wanted, but unfortunately, it is a ActiveX component. I prefer to have C++ library that support MFC. I don't mind if it is a commercial product.

Thank you.
0
Comment
Question by:siekiew
  • 3
  • 3
6 Comments
 
LVL 31

Expert Comment

by:Zoppo
ID: 7162194
Hi siekiew,

take a look at http://www.opendwg.org/
They tell they have a C/C++ library to load/save
.DWG files without Autocad ...

hope that helps,

ZOPPO
0
 

Author Comment

by:siekiew
ID: 7163716
Hi Zoppo,

Thanks for your response. I have a look at the opendwg, it is interesting, it may solve the file format problem, but still can't do what the vdraw can do, especially in editing of the drawing. I have tested VDraw, it allows us to use it just like Autocad without much effort. What I need to have is somthing like vdraw and at the same time allow me to control the input without going through the ActivX.

Regards,
siekiew
0
 

Author Comment

by:siekiew
ID: 7166107
Hi Zoppo,

It looks like I have to go for the VDraw and use ActiveX. Do you have any advise regarding the use of ActiveX in MFC application? Someone told me that it is difficult.

Regards
siekiew
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 31

Accepted Solution

by:
Zoppo earned 200 total points
ID: 7168848
Hmm ... I don't think that use of ActiveX in MFC is too problematic ... it's just not as simple as in VisualBasic, but
not very much harder ... you can simply let the ClassWizard create wrapper classes for you ... then create the control (i.e. in a dialog) and use the wrapper classes generated.

IMO most problems occur if the ActiveX-interface isn't well documented. If it is well documented it shouldn't be a big deal.
0
 

Author Comment

by:siekiew
ID: 7169084
Thanks for your advice. I have tested some example and it looks quite OK, but those things like VARIANT, SAFEARRAY, SAFEARRAYBOUND look a little bit scary for me. However, I believe I still can handle that.

0
 
LVL 31

Expert Comment

by:Zoppo
ID: 7169151
Well, yes, you may need to get used to use VARIANT, SAFEARRAY, SAFEARRAYBOUND ...

But, VARIANT and SAFEARRAY are implemented with MFC classes
COleVariant and COleSafeArray, and SAFEARRAYBOUND is simple I think...
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

777 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