Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Project compilation errors
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00524346
Message ID:
00524545
Vues:
18
This message has been marked as the solution to the initial question of the thread.
Hi!

I remember this trick from the old FPD times:
cClassLib = '\redp\appl\JobControl\Classes\JobControl.vcx'
oJC=NEWOBJECT('initialize',cClassLib)
As about GetNext_ID - if it is a function called from the current database, use evaluate() over the expression instead of direct call to function (the same approach). However, as far as I know, this problem goes away if you add database with that function into project (even when with exclude option that is by default for database). After compiling with that database this function call will not cause that error.

HTH.

>Tried it without much success. So, I added this classlib into the project and I also added DBC to the project, but exclude it. This solves this problem.
>
>>See External in Help -- EXTERNAL PROCEDURE and EXTERNAL CLASS
>>
>>>Hi everyone,
>>>
>>>In my code I call SP from database. I also have this piece of code:
>>>oJC=NEWOBJECT('initialize','\redp\appl\JobControl\Classes\JobControl.vcx') (I put it in a launch3 program, which allows me to test my form without running JobControl). Now when I compile my project I have these two errors:
>>>
>>>Form g:\redp\appl\stats\forms\frmstats.scx has the following errors:
>>>    Unknown GETNEXT_ID - Undefined
>>>
>>>Program g:\redp\appl\commonwg\progs\launch3.prg has the following errors:
>>>    Visual Class Library JOBCONTROL - Undefined
>>>
>>>I could not remember the exact way to get around this problem. The project works fine, so these are just compilation error, but I want to get rid of them, if possible.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform