Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best way to establish references to external functions
Message
From
07/02/2002 17:53:36
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
07/02/2002 15:51:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616432
Message ID:
00617070
Views:
30
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform