Nondisclosure007
2010-05-17 01:31:11 UTC
I'm using Visual Studio 2010.
Here's what I get as an error when I try to compile my DLL:
Error 1 error C1083: Cannot open precompiled header file: 'Debug
\MyDll.pch': No such file or directory c:\users\michael\documents
\visual studio 2010\projects\mydll\mydll\mydll.cpp 4 1 MyDll
Well, here's the steps I take when creating this project:
File, New Project
Win32 Console Application
I enter a name in Name and click OK.
When the wizard comes up, I click Next
Application settings, the ONLY thing that is checked is DLL under
'Application Type'. (Visual Studio greys out 'pre compiled headers
option, and puts a check in it. I've tried various ways to remove it,
but haven't been able).
Hit Finish.
I enter NO more code in.
click on Build, Compile. And that's when I get that error.
Why? It should just compile with nothing in it.
Here's what I get as an error when I try to compile my DLL:
Error 1 error C1083: Cannot open precompiled header file: 'Debug
\MyDll.pch': No such file or directory c:\users\michael\documents
\visual studio 2010\projects\mydll\mydll\mydll.cpp 4 1 MyDll
Well, here's the steps I take when creating this project:
File, New Project
Win32 Console Application
I enter a name in Name and click OK.
When the wizard comes up, I click Next
Application settings, the ONLY thing that is checked is DLL under
'Application Type'. (Visual Studio greys out 'pre compiled headers
option, and puts a check in it. I've tried various ways to remove it,
but haven't been able).
Hit Finish.
I enter NO more code in.
click on Build, Compile. And that's when I get that error.
Why? It should just compile with nothing in it.