>I have implemented the FAQ #7855 on how to print the screen to the printer. I located and installed DIPAPI32.DLL in the current directory, and followed the instructions on where to place the code. It works terrific, both when run from the main PRG file and from the compiled EXE file on my computer. However when a client runs it on a computer which does not have Foxpro installed using the compiled version of the application, clicking the PrintScreen button gives the error message "File 'getdesktopwindow.prg' does not exist". The user has the DLL file in his current directory, but I have not included this in the project.
>
>Any assistance would be appreciated.
Just to add to Sergey's response, the declaration is case sensitive and if you don't properly declare it, in terms of upper and lower case, you'll get this error.
George
Ubi caritas et amor, deus ibi est