Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
2271 connectés 

  FORUM HardWare.fr
  Programmation
  C++

  fatal error RC1015: cannot open include file 'afxres.h'

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

fatal error RC1015: cannot open include file 'afxres.h'

n°1528372
Giz
Posté le 14-03-2007 à 14:12:21  profilanswer
 

Quelqu'un pourrait m'expliquer comment résoudre ce problème de compilation sous Visual C++ 6  :sweat: . J'ai googlisé la RC1015 mais je trouve pas solution.  :sweat:  
 
Merci.

mood
Publicité
Posté le 14-03-2007 à 14:12:21  profilanswer
 

n°1528411
_darkalt3_
Proctopathe
Posté le 14-03-2007 à 14:49:08  profilanswer
 
n°1528413
_darkalt3_
Proctopathe
Posté le 14-03-2007 à 14:52:58  profilanswer
 

et au cas où ton projet est bien de type mfc etc ?


---------------
Töp of the plöp
n°1528444
Giz
Posté le 14-03-2007 à 15:20:38  profilanswer
 


 

Citation :

Fatal error RC1015: cannot open include file 'afxres.h'.
Oddly enough, VC++ adds afxres.h to resource files even when you aren't using an MFC project, and yet the file may only be installed if you install MFC. This perticular file isn't actually required, so to fix the error you can edit the .rc file in notepad and replace both occurances of "afxres.h" with "winres.h" (note that there should be two of them, and you need to change both).


 
Ca marche pas !
 

Citation :

Convertissez le fichier .rc à .rct ou .res et l'ouvrez lorsqu' un projet Java est ouvert.

 
 
 [:mlc2]

n°1528445
_darkalt3_
Proctopathe
Posté le 14-03-2007 à 15:23:43  profilanswer
 


Ouais le second lien c'était pour déconner :o


---------------
Töp of the plöp

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Programmation
  C++

  fatal error RC1015: cannot open include file 'afxres.h'

 

Sujets relatifs
[PHP] Questions sur le "include"Pb d'include
getURL("Javascript.... et includeRésultat code PHP dans une variable --> include ?
Ajax Probleme Open fichier XML IE7Problème type "fatal error :Cannot instantiate..."
Utilisation de CFile et open ?probleme include et session
Plus de sujets relatifs à : fatal error RC1015: cannot open include file 'afxres.h'


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR