Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding manifest to EXE
Message
 
À
07/05/2008 19:36:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01315573
Message ID:
01316052
Vues:
20
From what I understand about the code, it is finding the manifest then reading the rest of the exe into a string. I tried several different methods of adding a manifest but failed. Lucky for me though, I found a way to reduce the size of my exe from 17MG to 11MG and the original code now works.

I still find it hard to believe that other VFP developers are not having problems adding a manifest to their exes. As important of a factor that this is with Vista, I would think that Microsoft would develop a black-box tool that all VFP developers could use to manifest their exes.


>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform