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