.NET

.NET

Reply
New Member
jgehrken
Posts: 2
Registered: ‎10-11-2013
Message 1 of 4 (275 Views)
Accepted Solution

Problem creating .NET dll for Autocad OEM 2010

275 Views, 3 Replies
10-11-2013 02:53 AM

Hello,

 

I try to get a .NET dll working with Autocad OEM 2010 and use the EllipseJig-Sample from the arx samples.

 

It seems very simple:

- add AcMgd and AcDbMgd from the Autocad OEM Main Dir

- compile project

- set up OEM Make Wizard and adding EllipseJig.dll as Module using 'Build with: BindDll' and 'Build Destination: Exe'

 

Executing Build leads to an error in the stamp.bat where it cannot find the patch string. On closer inspection it tries to execute patcher.exe in order to translate AOEM.EXE or AOEMAOEM.EXE to <myOEMName>.exe, but neither string is included in the dll.

 

I tried variations, but failed too:

- using Autocad OEM 2011 (taking libs from there, using 2011 make wizard etc.)

- using AcMgd/AcDbMgd from subdir arc/inc-win32

 

I think it is just a simple oversight somewhere. Documentation does not lead anywhere, either the .NET parts pertain only to normal Autocad, or if it is for OEM, it concentrates on ObjectArx or Lisp. I didn't found much info on creating .NET dlls. The bits I found made me think that adding lib references to the correct OEM libs should solve the problem, but it doesn't.

 

Does anyone know where my problem is?

 

Best regards,

Jörg

Off the top of my head, I believe you should be using BindMgd - not BindDLL - to bind a .NET assembly DLL.

 

 

ADN Support Specialist
StephenPreston
Posts: 429
Registered: ‎05-22-2006
Message 2 of 4 (224 Views)

Re: Problem creating .NET dll for Autocad OEM 2010

10-16-2013 11:09 PM in reply to: jgehrken

Off the top of my head, I believe you should be using BindMgd - not BindDLL - to bind a .NET assembly DLL.

 

 

Cheers,

Stephen Preston
Autodesk Developer Network
New Member
jgehrken
Posts: 2
Registered: ‎10-11-2013
Message 3 of 4 (212 Views)

Re: Problem creating .NET dll for Autocad OEM 2010

10-17-2013 05:20 AM in reply to: StephenPreston

Thanks for the info. I tried that and got it to work.

I have other problems, but as it pertains to OEM, I'll contact support.

Best regards.

ADN Support Specialist
StephenPreston
Posts: 429
Registered: ‎05-22-2006
Message 4 of 4 (196 Views)

Re: Problem creating .NET dll for Autocad OEM 2010

10-17-2013 10:23 AM in reply to: jgehrken

BTW As you're an ADN member, you might like to read the information here so that my team can recognize you as an ADN member on the forum and so that you can more easily escalate your forum posts to us if you're not getting an answer - http://adn.autodesk.com/adn/servlet/item?siteID=4814862&id=22170101

 

Cheers,

Stephen Preston
Autodesk Developer Network
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.