C ++ fatal error c1083 project was perfect before, now what?

I have a C ++ project (com) that uses C ++ dll (.net). The project compiled and worked fine.

Now all I did was make changes to the dll, and I get a fatal error c1083 - I can’t open the include stdafx.h file - when recompiling my (com) project.

What does it mean?

+3
source share
2 answers

Look for your stdafx.h. Here are the possibilities:

  • If this is not enough, try restarting the computer. You can also use sysinternals' handle.exe to find out who is holding this file.
  • If it is missing, create it.
  • , , , . , .
+1

include :

#include <stdafx.h>

... , :

#include "stdafx.h"

. , "ok , ". , "DONT , ". stdafx.h , , .

, ...

0

Source: https://habr.com/ru/post/1732360/


All Articles