>I have been using the code from Calvin Hsia's weblog (
http://blogs.msdn.com/calvin_hsia/archive/2007/04/13/add-a-manifest-to-control-your-application-vista-uac-behavior.aspx) to add a manifest to my VFP exe for several months with great success. The size of my exe has now increased to 17+ megabytes and now I am unable to use you code to create a manifest. It is crashing on the line asec[i]=FREAD(h,sz) with the error "function argument value, type, or count is invalid". At the time of crash, i=1, h=37, and sz=17,779,509. Any advice?
I don't know the code, do you have to read the whole file at once? Can't you do a series of Fread() ?
Cetin