No idea. There should be no difference between Win7 and XP in terms of a DLL running assuming all dependencies are there. Make sure the C Runtime libraries that the DLL might be compiled with are present.
Even on 64 bit systems 32 bit dlls should run fine when loaded from a 32 bit application like FoxPro.
Without more info on what you are actually doing and what DLL you're trying to access and what is available on your system it's really hard to tell what the problem is. But if it works on one box and not another the most likely culprit is a missing dependency.
+++ Rick ---
>The location of the DLL doesn't appear to be the issue here.
>
>I used "Set DeFault to path' and get the same results. I also build a second dll that simple accepts a integer multiplies it by ten and returns the value.
>
>The second DLL works fine. I have also determined dependancies that the DLL has.
>
>** Note the application runs well on my 32-bit Windows 7 development machine which has VFP7 & Visual Studio 10.
>the target machine is a development machine is 32-bit Windows XP with a VFP 7 & VFP 9 development environments.
>
>
>I'm at a lost as to what the issue is.