Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Registering .net dll
Message
 
 
À
27/08/2008 21:09:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01342401
Message ID:
01342851
Vues:
22
>You needn't copy regasm.exe at all.
>.NET Framework always installed in the fixed place under Windows directory.
>
>You just need to know which version of .NET Freamework your dll is using.
>
>Write something like this
>
>*If dll compiled for .NET 2.0
>regasm = "Run /N "+GetEnv("windir")+"\Microsoft.NET\Framework\v2.0.50727\regasm.exe YOUR_LIBRARY.DLL"
>*If dll compiled for .NET 1.1
>regasm = "Run /N "+GetEnv("windir")+"\Microsoft.NET\Framework\v1.1.4322\regasm.exe YOUR_LIBRARY.DLL"
>*Execute it
>®asm

I guess it would be better to have this as some external file with paths. Because there are .NET 3.0 and .NET 3.5
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform