Link to home
Create AccountLog in
System Programming

System Programming

--

Questions

--

Followers

Top Experts

Avatar of pentomino
pentomino

import causing compiler error
When I choose "Build All" on a large Visual C++ project I get compiler error
c:\dev111\main\\stdafx.h(25) : fatal error C1083: Cannot open compiler generated file: 'c:\dev111\main\debug\msado15.tlh': Permission denied

Line 25 if the stdafx.h file is:
#import "C:\Program Files\Common Files\System\ADO\msado15.dll"   - rename_namespace("AdoNS") rename("EOF", "EndOfFile")


If I then just choose to build the exe, all goes well.  Can anyone tell me what is going on?


Thanks

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of GlennDeanGlennDean

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of BeyondWuBeyondWu🇺🇸

Because the *.tlh or *.tli is read-only, Maybe you get it from sourcesafe or other reason cause it read-only.
So you can delete all the *.tlh and *.tli file then rebuild.

Avatar of pentominopentomino

ASKER

Thanks Glenn

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

System Programming

System Programming

--

Questions

--

Followers

Top Experts

Kernel and system programming is the process of creating the software necessary for a computer or device to function and operate other programs. Some operating systems (such as Microsoft Windows) are proprietary, but others, such as the various Linux distributions, are open source.