[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Autocad compatible drawing class library

Posted on 2002-07-18
6
Medium Priority
?
280 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
[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
  • 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
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!

 
LVL 31

Accepted Solution

by:
Zoppo earned 800 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

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

650 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