Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to establish references to external functions
Message
De
07/02/2002 17:53:36
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
07/02/2002 15:51:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616432
Message ID:
00617070
Vues:
31
The way Drew Speedie recommends is to create a procedure in the bottom of your main.prg. He calls it PROCEDURE PMFAKEOUT. It looks like this.
PROCEDURE PMFAKEOUT
EXTERNAL PROCEDURE BLAH etc.
ENDPROC

This function is never called, but it means you don't get compile errors from the project manager.

>>Why not create a .H file full of EXTERNAL declarations?
>
>I created a file FournierTransformationFunction.h. In that file, I tried with this syntax:
>
>
>#DEFINE IsCookie
>
>
>That didn't work. So, I tried with this:
>
>
>#DEFINE IsCookie()
>
>
>That didn't work. So, I tried with this:
>
>
>FUNCTION IsCookie
>RETURN .F.
>
>
>How should I enter those functions in the header file in order to them to be recognized at compile time?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform