Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
External procedure doesn't
Message
De
04/02/2010 12:40:02
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Titre:
External procedure doesn't
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01447557
Message ID:
01447557
Vues:
119
I'm explicitly calling a function from dbc's stored procedures somewhere in code. The compiler, however, doesn't see this function and reports an error. I can safely ignore that error, but it's sort of cumbersome to do in an automated build.

So I tried to declare it as external procedure. Worked when I compiled manually, but for some reason it wouldn't, when I do an automated build - I get the usual suspend-cancel-ignore dialog. Ignore works, but I want to get rid of the error altogether.

Then I tried to add it as a dummy procedure immediately below the procedure which calls it. This compiled fine, but this dummy procedure was called instead of the stored procedure - not good, or at least not what I wanted.

What worked was a dummy prg with the same name. That satisfied the compiler, and is very low on the totem pole, far below the SPs in the currently set("database"). All works now.

Just thought I should share this.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform