Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
External procedure doesn't
Message
From
04/02/2010 12:57:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01447557
Message ID:
01447571
Views:
50
>>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.
>
>Did you include DBC into the project?

Yes, marked as excluded.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform