Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Embedded #includes not being found
Message
 
 
À
23/08/2007 17:57:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01250057
Message ID:
01250059
Vues:
13
If 'common.h' is not on the path, you have to include full path.

>I'm having some trouble with embedded #includes within a visual class (.vcx) file. I've placed the path and name of the include file in the dialog box, Class->Include File. Say that is projectSpecific.h.
>
>Now within projectSpecific.h I have another #include which points to a more or less common.h file that I use across many of my projects.
>
>projectSpecific.h:
>
>#include common.h
>
>#DEFINE BANG_CHAR        CHR(33)
>#DEFINE COLON_CHAR       CHR(58)
>#DEFINE COMMA_CHAR       CHR(44)
>...
>
>
>The problem I am experiencing is that #defines that are defined in the common.h are not being found when the class get instantiated. Both .h files are located in the same folder that the .vcx is.
>
>1) At what point do the #include includes get inserted into the class file before the compile happens? Is this when you do a file->save of the vcx or at run-time?
>
>2) Does anyone have any suggestions as how I should go about troubleshooting this?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform