Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Project compilation errors
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00524346
Message ID:
00524639
Views:
16
>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.
>

Thanks, Vlad. Your second suggestion I already implemented by myself. I'll try now your first suggestion. Thanks.
>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.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform