>I have a APP with a lot of class, in the future it could be a DLL.
>
>Now, I use in Pr1.pjx :
>
>SET CLASSLIB TO x.vcx IN MyLib.APP
>
>When I compile Pr1.pjx it show as error all the class, and classlib I use, and they are in MyLib.APP
>
>Pr1.APP work Ok, the class in MyLib.APP It´s created Ok, but in compile time it show these errors (files and classes don´t found).
>
>I Try to use EXTERNAL command, using:
>
>EXTERNAL FILE ...
>EXTERNAL CLASS ...
>
>But it don´t work.
>
>How I can do for don´t recibe these errors.
>
>Regards,
>José Luis.
The EXTERNAL basically tells the compiler to ignore the "errors" for one particular file. I used it now and then in the past for arrays, which the compiler may confuse with (nonexistent) procedures.
The EXTERNAL command has to be in the same file where you reference the array or file. Perhaps this is your problem? If you reference a program that is not found in the project, in several PRGs, I believe that each PRG needs the EXTERNAL declaration.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)