Hi Cetin,
>It happened to me when I first tried to build under XP (and .NET installed) and for sure I didn't select ATL Activex control nor had a reference to any ActiveX control.
Yes, you are right. I found the problem, but I'm unsure about the solution. The problem is that WINAPIMS.LIB in the VFP 7 version refers to ATLS.LIB. That library only ships with VS.NET, by default it is in the "Program Files\Microsoft Visual Studio .NET\Vc7\atlmfc\lib" directory. I can compile an FLL with VC++ 6 and 7 with versions 6 and 7 of the WINAPIMS.LIB without any problem and without that the project in VC6 refers to the VC7 lib files. IOW, ATLS.LIB not always required, but I have no idea what triggers that.
Emanuele: If you don't have VC.NET installed, try using the VFP6 WINAPIMS instead of the one that ships with VFP 7.
Christof
--
Christof