Select to view content in your preferred language

esriSystem.olb - #import referenced a type from a missing type library

3886
2
04-11-2010 05:35 PM
JohnRogers
Emerging Contributor
Not sure if this is my build setup or a more general problem.

I had my Visual Studio 2005 C++ build working with the 9.4 beta 2 type libraries. This required some additional typelib #imports as noted in another post.
However, the same source compiled with the 10.0 prerelease installed and OLBs registered gives the errors:

stdafx.h(40) : error C4772: #import referenced a type from a missing type library; '__missing_type__' used as a placeholder
stdafx.h(40) : fatal error C1084: Cannot read type library file: 'esriSystemUI.olb': Error loading type library/DLL.

I allege that the type libraries are registered correctly - and no generated tlh or tli files show this error.

Has anyone else seen this? Or, does anyone have a working VS 2005 C++ build using this typelibs? Any clues?

Thanks
0 Kudos
2 Replies
MarcN
by
Deactivated User
There are some migration guidelines in the ArcObjects SDK:
http://help.arcgis.com/en/sdk/10.0/ArcObjects_NET/conceptualhelp/index.html#/welcome_to_the_arcobjec...
Chapter "Migrationg and upgrading your code". Maybe this is useful. If you find a solution please post it 🙂
0 Kudos
JohnRogers
Emerging Contributor
Brain0 - thanks for the link - which turned out to be useful in tracking the error I had made.
I had registered the 10.0 typelibs in one directory - but still had the Visual Studio project additional include directory pointing to the 9.4 beta OLBs.
All fixed now
0 Kudos