>Hi Rick.
>
>>>
I'm not aware of a function which lets you do this directly. In the past, I've had to lock the resources to get a pointer to their starting location in memory, and then using their length, write the data at that pointer to my target disk file.>
>How can I do this in VFP?
Here is a project I built which will do this for you. It uses the sample.dll file, and only extracts the two resources I put in it. Zip is named resourcex.zip. Unzip to some directory, and go to resourcex\vfp9\ and "do resourcex.prg" or "modi comm resourcex.prg". You can see how it works, and modify it to suit your needs. I have only tested it on numbered resources, and only on Windows Server 2003.
Note: Attachment in upper-right.
Official repository on GitHub (with FLOSS license):
https://github.com/RickCHodgin/resourcex