>I think that I am having trouble with the following lines of code:
>
>DECLARE INTEGER FindWindow IN USER32.DLL ;
>STRING @lpClassName, STRING @titlestr
>
>How do you recommend that I change this line of code so that it works under all Windows operating systems?
Try:
DECLARE INTEGER FindWindow IN WIN32API ;
STRING @lpClassName, STRING @TitleStr
This works under all versions of Win95, Win98 and WinNT. The only place that I know of where this statement will not work is on some versions of Win3.x using WIN32s; because WIN32s actually converts the 32-bit API call back to a Win16 call and 'thunks', VFP may not be able to determine the correct provider. I can guarentee you that on a Win32s based system, the provider
ISN'T' USER32.DLL.
>
>With these lines of code I assume that it is the User32.dll that is not on the particular user's system. Where can they get that file to install it? Isn't is just a standard Windows System file?
>
>Thanks,
>Phyllis