Date:  10/19/2009 11:19:21 AM Msg ID:  004042
From:  FoxWeb Support Thread:  004041
Subject:  Re: ReadFile() in a PRG class error...
The ReadFile function has been deprecated for years (since VFP added the FileToStr function). Just replace all calls to ReadFile with calls to FileToStr.
 
FoxWeb Support Team
support@foxweb.com email
Sent by Ali Koumaiha on 10/19/2009 09:16:26 AM:
Hi foxWeb.

I have my own custom PRG class that works with my Desktop app and with FoxWeb that i am developing for a client.

Everything is working perfectly.

the only thing that bugs me, is i am using the ReadFile() to download attachement, and it's in my PRG class, which is part of my Desktop app too, and when i compile my project (for the Desktop side), it throws an error, that it can't find ReadFile()...

is there an include, or a class i can refer it to so it won't throw that error during the build of my exe?

the desktop app is working fine tho!