>>OK, in your sub.EXE you might have to make your references to the main .EXE not show up in a similar fashion.
>>
>>If you're calling something with a DO whatever, change it to DO ('whatever'). If it's a function call, you can use macro substitution:
>>
>>myfunc = 'whatever'
>>lRetVal = &myfunc(param1,param2,etc)
>
>Yes, this is what I was trying avoid. We have hundreds of calls to them from various programs.
Well, you either have to change the code, either by adding the EXTERNALs and including the MAIN.EXE in the SUB.EXE project, marking it as EXCLUDED, or changing the code as I've described. Or you could just live with the errors, but that's not a very good choice. You might miss something important if you start ignoring errors.