>Then I will try to explain myself again...
>
> I'm using VC6 (SP5) with MFC framework to produce an .OCX with uses the
>API from VFP7 (SP1), no the ATL framework.
>
> The .ocx component compiled without the VFP7 API works fine. In order to work with tables and memo fields I need to include "pro_ext.h" and "ocxapi.lib", because we are working with MFC (since it's indicated in the VFP's help).
>
> The problem is that when I biult the project it throws:
>
>LINK : fatal error LNK1104: cannot open file "atls.lib"
>
> which is *NEVER* referenced in any file of the project.
>
> When, in order to test if we are swepting away something, biult it with VFP6 (SP5) it links and works great!
>
> I visit microsoft.public.fox.vfp.lck-api, and other people has suffered the same. Is there any Microsoft fix, or any comment about it ??
>
I'm not aware of one, but then I use ATL for my C++ OCXs. I'd suggest trying tech support; I'll try to create an MFC project to test this with next week after end-of-month, when I'm not buried up to my ears in problems at my company. For clarification, which C++ compiler are you using - I'd assume that you're still using VC++ 6.0 unless you spec otherwise.