Problem with MIDL

Problem with MIDL

Anonymous
Not applicable
1,373 Views
2 Replies
Message 1 of 3

Problem with MIDL

Anonymous
Not applicable
I copied the Smiley sample from the ObjectARX SDK directory into a new folder. When I try to build it, I get an error:

3>.\SmileyDbCom.idl(56) : error MIDL2011 : unresolved type declaration : IAcadEntity [ Interface 'ISmileyEntity' ]

Higher up in the compiling process, I see this warning:
3>.\SmileyDbCom.idl(38) : warning MIDL2015 : failed to load tlb in importlib: : axdb17enu.tlb

Which makes me think that it can't find axdb17enu.tlb.

FWIW, I have set "Additional Include Directories" and "Additional Library Directories" in the project properties to the correct path, but I'm not sure what to do for the tlb.

I'm using VS 2005 and ObjectARX 2007.

Thanks for any suggestions.

Mike Message was edited by: Mike Riley
0 Likes
1,374 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Mike:

> ... I'm not sure what to do for the tlb.

That should be at MIDL -> General -> Additional Include Directories. 🙂
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hmmm...
For some reason MIDL isn't listed under Project->Properties. I got "C/C++", "Linker", "Build Events", etc. But no "MIDL".

Mike
0 Likes