msvc-wine icon indicating copy to clipboard operation
msvc-wine copied to clipboard

Is it possible to import a type library?

Open cmhulbert opened this issue 3 years ago • 2 comments

The code that I am trying to get to compile currently imports a type library:

#import "Library/lib/ActiveSkin.ocx" raw_interfaces_only, raw_native_types, no_namespace, named_guids

However, when compiling I get the following:

fatal error C1083: Cannot open compiler generated file: '[PROJECT]\cmake-build-release-wine_msvc\CMakeFiles\project.dir\activeskin.tlh': Permission denied

Is this supported?

cmhulbert avatar Sep 06 '22 20:09 cmhulbert

Sorry, no idea - I have never seen such #import statements (outside of Objective C), so apparently there's something there that doesn't work.

mstorsjo avatar Sep 07 '22 10:09 mstorsjo

It should be the same issue reported at DevCom-10736559. Since Microsoft doesn't think it is a bug, the only way is to reorganize the projects to avoid race condition.

huangqinjin avatar Sep 11 '24 12:09 huangqinjin