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
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