ObjectARX

ObjectARX

Reply
Distinguished Contributor
cwanless
Posts: 225
Registered: ‎12-08-2003
Message 1 of 5 (66 Views)

COM wrapper for OPM in AutoCAD 2004

66 Views, 4 Replies
05-08-2003 12:00 PM
Hi All I am having problems creating a COM wrapper for AutoCAD 2004 for my custom entities. I can do it correctly for 2000-2002, but for some reason the objects in 2004/.Net will not. The DllRegisterServer() function is returning an error code. I can't seem to find what I am doing wrong.

Thanks Chad
*Howard, Eric
Message 2 of 5 (66 Views)

Re: COM wrapper for OPM in AutoCAD 2004

05-08-2003 10:04 PM in reply to: cwanless
Chad,

 

I am having the some problems with a COM wrapper
for OPM in AutoCAD 2004 also.  I started with the AsdkOpmX source from
2000-2002.  The problem I'm experiencing is not being able to get the
project to link. Would you be willing to discuss this outside or inside the
newsgroup?

 

Thanks

 

Eric


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
All I am having problems creating a COM wrapper for AutoCAD 2004 for my custom
entities. I can do it correctly for 2000-2002, but for some reason the objects
in 2004/.Net will not. The DllRegisterServer() function is returning an error
code. I can't seem to find what I am doing wrong.

Thanks Chad

Distinguished Contributor
cwanless
Posts: 225
Registered: ‎12-08-2003
Message 3 of 5 (66 Views)

Re:

05-09-2003 12:48 AM in reply to: cwanless
either is fine with me. Inside is preferable, that way others can get the answers too.

Thanks Chad
*Brown, Anne
Message 4 of 5 (66 Views)

Re:

05-09-2003 03:56 AM in reply to: cwanless
The original of this message with attached file has been moved to
the Customer Files area at
news://discussion.autodesk.com/autodesk.autocad.customer-files or
http://discussion.autodesk.com/WebX?14@@.ee940b5. GIFs, JPGs, or
PNGs smaller than 200k only may now be posted in all discussion
groups. Please ZIP your files if zipping will make them smaller.
Zipping files (if it saves space) is a courtesy to those who
download the files.

See the newsgroup guidelines at
http://discussion.autodesk.com/webx?groundrules.
--
Anne Brown
Manager, Moderator
Autodesk Product Support discussion groups
Discussion Q&A: http://www.autodesk.com/discussion

=======================
Subject:
Re: COM wrapper for OPM in AutoCAD 2004
Date:
Fri, 9 May 2003 11:20:45 -0700
From:
"Eric Howard"
Newsgroups:
autodesk.autocad.objectarx

Chad,

I finally got it compiled and working. It registers correctly
and displays properties, however I have only one problem. During
the OnSet Event I
am not able to use the SetEnums Method. This used to work in
2000 - 2002. Could you take a look at that?

Thanks.

"cwanless" wrote in message
news:f161e83.1@WebX.maYIadrTaRb...
either is fine with me. Inside is preferable, that way
others can get the answers too.

Thanks Chad

File: OpmX.zip
Distinguished Contributor
cwanless
Posts: 225
Registered: ‎12-08-2003
Message 5 of 5 (66 Views)

Re:

05-09-2003 08:49 AM in reply to: cwanless
Hi Eric, I got your project and I will look at it on the weekend. Unfortunatly, I promissed to take my children to see the new X2 X-men movie and it's a 4 hour round trip to the nearest theater, so it will be Sunday before I will have the opertunity to look it over thoroughly.

Thanks Chad.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.