TheSwamp

Code Red => .NET => Topic started by: jmaeding on February 05, 2007, 05:01:59 PM

Title: say what? non-compatible acad dll's?
Post by: jmaeding on February 05, 2007, 05:01:59 PM
Based on Tony T's NG posting,
I did a function to regen the layer names I sent it in an array string. see image attached
I referenced AcMgdInternal.dll like a good boy, and it seemed to not like the other acad dll's.

This is a HUGE issue.  This implies that .net programs that hook up with Acad are sensitive.
I am guessing the various service packs affect the acad dll's, so how can I be sure what another person has installed?
I was under the assumption that the autocad dlls were compatible with themselves.
Is there a way to avoid this message?  Is it a real problem or just a warning I have to live with?
Title: Re: say what? non-compatible acad dll's?
Post by: Kerry on February 05, 2007, 05:19:49 PM
Hi James,

For me
C:\ACAD2007\acdbmgd.dll
Name: acdbmgd, Version=17.0.116.0, Culture=neutral, PublicKeyToken=null

C:\ACAD2007\acmgdinternal.dll
Name: acmgdinternal, Version=17.0.54.0, Culture=neutral, PublicKeyToken=null

My acmgdinternal internally references  acdbmgd, Version=17.0.54.0

... without any issues that I'm aware of . ..

What are your compiler settings for warnings ?

Title: Re: say what? non-compatible acad dll's?
Post by: jmaeding on February 05, 2007, 05:39:57 PM
not sure where to get listing? I looked around a bunch...
do you mean the debug->exceptions stuff?
I have not tweaked any that I can think of besides the loaderlock thing.
I am programming on 2006, have not tried on 2007.
I am wondering if you are just lucky its working, or if 2007 is less sensitive?

are there other ways to regen the drawing that I should look at for 2006 maybe?
thx
Title: Re: say what? non-compatible acad dll's?
Post by: Kerry on February 05, 2007, 05:59:45 PM
For AC2006
C:\ACAD2006\acdbmgd.dll
Name: acdbmgd, Version=16.2.54.0, Culture=neutral, PublicKeyToken=null

C:\ACAD2006\acmgdinternal.dll
Name: acmgdinternal, Version=16.2.54.0, Culture=neutral, PublicKeyToken=null

My ac2006 acmgdinternal internally references  acdbmgd, Version=16.2.54.0

I don't know where your 16.2.77.0 came from ... are you by chance using one of the verticals ?


... but it looks like your acmgdinternal references 16.2.77.0 and you have 16.2.54.0 .. that seems weird.

Is it just a warning ?


Title: Re: say what? non-compatible acad dll's?
Post by: jmaeding on February 05, 2007, 06:02:33 PM
no, its an error, it will not compile with the code I wanted to use.
I am usin Land Desktop 2006, with service pack 1.
I'll see if it has same issue in 2007
Title: Re: say what? non-compatible acad dll's?
Post by: Nathan Taylor on February 06, 2007, 12:32:40 AM
I have experienced the same problem with one of Map's dll's. Luckilly it was only for a temporary project so just running in debug mode was okay. So all I can do is sympathize.

Regards - Nathan