Author Topic: adui16res.dll not found  (Read 10648 times)

0 Members and 1 Guest are viewing this topic.

TR

  • Guest
adui16res.dll not found
« on: April 28, 2005, 10:48:15 AM »
I'm doing some BOO testing in SharpDevelop trying to create an AutoCAD command that returns a string to the command line. I have references to acmgd.dll and acdbmgd.dll but when I try to compile my program I get an error message saying "adui16res.dll not found". This doesn't make sense because adui16res.dll is located in the same directory as acmgd.dll and acdbmgd.dll. I'll keep working on it but if anyone has any thoughts or ideas I'd love to hear them.

Here is a Screenshot of my error.

tjr

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #1 on: April 28, 2005, 10:54:24 AM »
Hmmm, dunno. What's on lines 21 and 22?

Off topic: Is it good to have a namespace and class share the same name?
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

TR

  • Guest
adui16res.dll not found
« Reply #2 on: April 28, 2005, 11:03:12 AM »
Quote from: MP
Hmmm, dunno. What's on lines 21 and 22?

21: [assembly: AssemblyTitle('BooHoo')]
22: [assembly: AssemblyDescription('A test for using BOO with AutoCAD')]

Assembly information for my dll.


Quote from: MP
Off topic: Is it good to have a namespace and class share the same name?

I don't think it matters as I've seen it done before. If someone where to import my assembly they would just be referencing BooHoo.BooHoo.

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #3 on: April 28, 2005, 11:33:31 AM »
Sorry Tim, have no ideas.
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
adui16res.dll not found
« Reply #4 on: April 28, 2005, 05:34:42 PM »
Does anyone know what adui16res does. ?
Can I assume some sort of user interface Resources stuff ?
.. similarly acui16 and acui16res and adui16

I'm guessing .. paletes ???

I <just now> tried to reference it into a C# project .. no go, not compatible .. but I AM using ac2005, not 2006 .. if that makes a difference.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #5 on: April 28, 2005, 05:43:27 PM »
It's not on this pc so my guess is right along side yours.  

On the other hand it could be A Damned Unavailable Interface (for AutoCAD 16) Requiring Exhaustive Searching ...
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
adui16res.dll not found
« Reply #6 on: April 28, 2005, 05:48:02 PM »
heh, good guess
... that opens the door for some interesting<perhaps> acronyms.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #7 on: April 28, 2005, 05:53:36 PM »
Hey hey hey keep it clean ...

:)
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16717
  • Superior Stupidity at its best
adui16res.dll not found
« Reply #8 on: April 28, 2005, 06:52:42 PM »
Quote from: Kerry Brown
Does anyone know what adui16res does.


It contains the resources required for adui16.dll
It is required for the interface to the ToolPalette object and transparency settings.

The file contains bitmaps, cursors, dialogs, string tables, menus and the such.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
adui16res.dll not found
« Reply #9 on: April 28, 2005, 07:00:02 PM »
Thanks Keith, that was my Guess ..
Wonder why Tim's stuff is trying to reference it ?

<kwb definition> stuff : technical term relating to a wide variety of stuff.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #10 on: April 28, 2005, 07:01:37 PM »
Quote from: Kerry Brown
<kwb definition> stuff : technical term relating to a wide variety of stuff.

Oooh, recursive def'n.

:)
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
adui16res.dll not found
« Reply #11 on: April 28, 2005, 07:14:44 PM »
hehehehe .. I thought you'd recognise that ..
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #12 on: April 28, 2005, 07:23:02 PM »
Oh the shame to be so predictable.

:oops:
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
adui16res.dll not found
« Reply #13 on: April 29, 2005, 04:58:40 AM »
Quote from: Tim Riley

Quote from: MP
Off topic: Is it good to have a namespace and class share the same name?

I don't think it matters as I've seen it done before. If someone where to import my assembly they would just be referencing BooHoo.BooHoo.


Tim, I missed this comment,
... actually, It does make a difference :

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnamespacenamingguidelines.asp
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

MP

  • Seagull
  • Posts: 17399
adui16res.dll not found
« Reply #14 on: April 29, 2005, 05:03:41 AM »
I knew I had read that at some point; good eye there Mr. Brown.
\|// Set goal. Experiment tirelessly until
|Oo| practice has become expertise.  Loop.
|- | LinkedIn | Dropbox

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16717
  • Superior Stupidity at its best
adui16res.dll not found
« Reply #15 on: April 29, 2005, 06:53:52 AM »
That all looks good, but in a practical application does it really matter. I would suspect that provided the application does not interfere with another class or namespace it "shouldn't" make a difference. It would be an obvious problem if you duplicated the class name of an already existent class, such as in the example, Microsoft.Office ~ I don't see that being a problem while being used on a small scale, but it has broader implications on a large scale deployment.

The info is a good rule to follow, at least then you won't have to try and guess if the naming convention is what is creating your problem.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

TR

  • Guest
adui16res.dll not found
« Reply #16 on: April 29, 2005, 02:28:52 PM »
I really have no idea why booc.exe (the boo compiler) is looking for adui16res.dll. The only assemblies I am referencing in my project are acdbmgd.dll and acmgd.dll so one of them must be referencing that file. If I have local copy set to True on both dll's it will also copy the adui16res.dll into my bin/debug directory. I am assuming that this is something to do with BOO as I have not seen that dll in any C# projects I have compiled. Also I've checked the references of both dll's and I do not see anything pointing to adui16res.dll.




MickD

  • Gator
  • Posts: 3294
  • (x-in)->[process]->(y-out)
adui16res.dll not found
« Reply #17 on: April 29, 2005, 07:13:36 PM »
Hi Tim,
This may be a dumb question but we have to start somewhere, are both of the managed wrapper dll's visible in your project solution explorer?
Forth is like the Tao: it is a Way, and is realized when followed.
Its fragility is its strength; its simplicity is its direction - Michael Ham

Lao Tzu: “To attain knowledge, add things
every day; to obtain wisdom, remove things every day.”

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
adui16res.dll not found
« Reply #18 on: April 29, 2005, 08:06:37 PM »
Good point. This is a snap of a solution view with VC#2005

Note that the DLL's are included as References.
You seem to have them as a Viewable/editadle file ??



user tip : when posting images do NOT have spaces in the file name.
This is the format, using img, not ximg, of course.
[ximg]http://www.theswamp.org/screens/kerry/SolutionExplorer.png[/ximg]
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate to theSwamp<--

TR

  • Guest
adui16res.dll not found
« Reply #19 on: May 02, 2005, 11:57:56 AM »
Quote from: MickD
Hi Tim,
This may be a dumb question but we have to start somewhere, are both of the managed wrapper dll's visible in your project solution explorer?


Yes both dlls are there.


MickD

  • Gator
  • Posts: 3294
  • (x-in)->[process]->(y-out)
adui16res.dll not found
« Reply #20 on: May 02, 2005, 05:10:59 PM »
Ok, next...(probably should have been first ;) )
Is this a class library project or an windows application (.exe)?
If it is an .exe, you can't use the managed wrappers, you will have to use the COM interface.
And what is 'BOO' (I hope that isn't a silly question  :oops: )
Forth is like the Tao: it is a Way, and is realized when followed.
Its fragility is its strength; its simplicity is its direction - Michael Ham

Lao Tzu: “To attain knowledge, add things
every day; to obtain wisdom, remove things every day.”

daron

  • Guest
adui16res.dll not found
« Reply #21 on: May 03, 2005, 08:18:00 AM »
Mick, have a read of this thread.

MickD

  • Gator
  • Posts: 3294
  • (x-in)->[process]->(y-out)
adui16res.dll not found
« Reply #22 on: May 03, 2005, 03:08:49 PM »
aahhh....Thanks Daron, that clears that piece of the puzzle up :)
Forth is like the Tao: it is a Way, and is realized when followed.
Its fragility is its strength; its simplicity is its direction - Michael Ham

Lao Tzu: “To attain knowledge, add things
every day; to obtain wisdom, remove things every day.”