Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with API in VFP7
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00649660
Message ID:
00649724
Views:
16
>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.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform