#import referenced a type from a missing type library; '__missing_type__' used as a placeholder: Exc

J

just_me

Hi,

we used to do have following lines (VC++):

#import "mso9.dll"
#import "vbe6ext.olb"
#import "excel9.olb"

on some machines this doesn't work and an error is issued:
error C4772: #import referenced a type from a missing type library;
'__missing_type__' used as a placeholder

The 2 not emitted methods are GetVBE and GetVBProject....
Nevertheless, for each of the type libraries a .tlh and .tli file is
created.

The machines on which this compilation fails do not have Office installed
but the type libraries mentioned above
are on the machine, the directory in which they are located is added by
having the /I option.
In fact they are even in the PATH environment.

Does something else need to be done?

Thanks,

Bart
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top